From a27c6822a00a1251d75c154627eab783c43fcddb Mon Sep 17 00:00:00 2001 From: ulrich Date: Wed, 21 Apr 2021 08:45:53 +0000 Subject: [PATCH] Menues und Symbolleisten vereinheitlicht --- www/ui/data/tpl/ctrl.txt | 2 +- www/ui/js/app.js | 1 + www/ui/index.html | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/www/ui/data/tpl/ctrl.txt b/www/ui/data/tpl/ctrl.txt index 3845cae..cedb932 100644 --- a/www/ui/data/tpl/ctrl.txt +++ b/www/ui/data/tpl/ctrl.txt @@ -29,7 +29,7 @@ <button class="ctrl-btn ctrl-item" id="media-btn" title="Media-Inhalte"><i class="icon-video"></i></button> <button class="ctrl-btn ctrl-item" id="plst-btn" title="Abspielliste"><i class="icon-music"></i></button> <button class="ctrl-btn ctrl-item" id="live-btn" title="Live"><i class="icon-podcast"></i></button> - <button class="ctrl-btn ctrl-item" id="switch-btn" title="Geräte"><i class="icon-flash"></i></button> + <button class="ctrl-btn ctrl-item" id="switch-btn" title="Ein/Aus"><i class="icon-flash"></i></button> <!-- <button class="ctrl-btn ctrl-item" id="" title="Einstellungen"><i class="icon-tablet"></i></button> --> </div> </div> diff --git a/www/ui/index.html b/www/ui/index.html index a9ad89f..a6f7cb7 100644 --- a/www/ui/index.html +++ b/www/ui/index.html @@ -49,11 +49,12 @@ <div class="dropdown-content"> <a id="mi-katalog"><i class="icon-video"></i> Media-Inhalte</a> <a id="mi-list"><i class="icon-music"></i> Abspielliste</a> + <a id="mi-switch"><i class="icon-flash"></i> Ein/Aus</a> <a id="mi-listen"><i class="icon-list"></i> Abspiellisten</a> <a id="mi-orte"><i class="icon-database"></i> Kataloge</a> <a id="mi-player"><i class="icon-play"></i> Abspieler</a> - <a id="mi-live"><i class="icon-ellipsis-vert"></i> Livestreams</a> - <a id="mi-devices"><i class="icon-ellipsis-vert"></i> Geräte</a> + <a id="mi-live"><i class="icon-podcast"></i> Livestreams</a> + <a id="mi-devices"><i class="icon-cog"></i> Geräte</a> <a id="mi-prefs"><i class="icon-sliders"></i> Einstellungen</a> </div> </div> diff --git a/www/ui/js/app.js b/www/ui/js/app.js index f7373cd..bb29ba2 100644 --- a/www/ui/js/app.js +++ b/www/ui/js/app.js @@ -32,6 +32,7 @@ self.addEvtListener('#mi-list', 'click', self.titel_liste); self.addEvtListener('#mi-live', 'click', self.livestream_liste); self.addEvtListener('#mi-devices', 'click', self.geraet_liste); + self.addEvtListener('#mi-switch', 'click', self.geraet_schalt_liste); self.fusszeile_umschalten(); self.seitenleiste_umschalten(); -- Gitblit v1.9.3