From f45e203a66a5471a0dd05e0362566ef96a2b6b31 Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 07 Apr 2021 16:26:34 +0000
Subject: [PATCH] Abspieler-Dropdown (in Arbeit)

---
 www/ui/index.html |   56 ++++++++++++++++++++++++++++++++++++++------------------
 1 files changed, 38 insertions(+), 18 deletions(-)

diff --git a/www/ui/index.html b/www/ui/index.html
index d206386..e4240b9 100644
--- a/www/ui/index.html
+++ b/www/ui/index.html
@@ -1,7 +1,24 @@
 <!DOCTYPE html>
+<!--
+  Mediazentrale - Personal Media Center
+  Copyright (C) 2021  Ulrich Hilger
+
+  This program is free software: you can redistribute it and/or modify
+  it under the terms of the GNU Affero General Public License as
+  published by the Free Software Foundation, either version 3 of the
+  License, or (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU Affero General Public License for more details.
+
+  You should have received a copy of the GNU Affero General Public License
+  along with this program.  If not, see <https://www.gnu.org/licenses/>.
+-->
 <html>
   <head>
-    <title>App-Vorlage</title>
+    <title>Mediazentrale</title>
     <meta charset="UTF-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <meta name="apple-mobile-web-app-capable" content="yes" />
@@ -21,7 +38,20 @@
         </div>
       </div>
       <div class="app-titel">
-        <span id="app-titel">App-Vorlage</span>
+        <span id="app-titel">Mediazentrale</span>
+      </div>
+      <div class="top-btn-area">
+        <div class="dropdown">
+          <button class="top-btn"><i class="icon-down-dir"></i></button>
+          <div class="dropdown-content">
+            <a id="mi-katalog"><i class="icon-music"></i> Media-Inhalte</a>
+            <a id="mi-list"><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-radio"><i class="icon-ellipsis-vert"></i> Radio</a>
+            <a id="mi-prefs"><i class="icon-sliders"></i> Einstellungen</a>
+          </div>
+        </div>         
       </div>
     </div>
     <div class="inhalt">
@@ -30,28 +60,18 @@
         westliche Seitenleiste
       </div>
       <div class="zentrum-behaelter">
-        <!-- Einblendbereich -->
+        <!-- Einblendbereich oben -->
         <div class="dialog"></div>
         <!-- zentraler Inhaltsbereich -->
         <div class="zentrum">
           <div class="zentraler-inhalt">
             <p>
-              Hier kann beliebiger Inhalt erscheinen.
-            </p>
-            <p>
-              Wenn dessen Darstellung mehr
-              Platz benötigt als das Anzeigegerät bietet wird ein
-              Rollbalken eingeblendet. Beim Rollen zu anfangs nicht sichtbaren
-              Teilen des Inhalts bleiben die den Inhaltsbereich
-              umschließenden Elemente sichtbar.
-            </p>
-            <p>
-              Ein Klick auf das Hamburger-Piktogramm oben links bzw. dessen
-              Antippen blendet ein Menü ein von dem aus weitere Funktionen
-              ausgelöst werden können.
+              Hier erscheint der Media-Inhalt.
             </p>
           </div>
         </div>
+        <!-- Einblendbereich unten -->
+        <div class="dialog-unten"></div>
       </div>
       <!-- oestliche Seitenleiste -->
       <div class="ost ost-open">
@@ -63,14 +83,14 @@
       Fußzeile
     </div>
     <!-- Skripte -->
-    <script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.3.0/mustache.min.js"></script>
+    <script src="js/mustache/mustache.min.js"></script>
     <script src="js/app-menu.js"></script>
     <!-- <script src="js/vorlagen.js"></script> -->
     <script src="js/app.js"></script>
     <script>
 		var app;
 		document.addEventListener('DOMContentLoaded', function () {
-			app = new AppVorlage();
+			app = new Mediazentrale();
 			app.init();
 		});
     </script>

--
Gitblit v1.9.3