From b90d6705d78a7ad60a1e0419eb27ab20927d3fdd Mon Sep 17 00:00:00 2001
From: ulrich
Date: Wed, 07 Apr 2021 07:09:58 +0000
Subject: [PATCH] Piktogramme und Dropdown
---
www/ui/index.html | 65 +++++++++++++++++++++++---------
1 files changed, 47 insertions(+), 18 deletions(-)
diff --git a/www/ui/index.html b/www/ui/index.html
index d206386..c81f404 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,29 @@
</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">
+ <!-- <button type="button" title="Speichern" class="top-btn" id="top-speichern-btn"><i class="icon-floppy"></i></button> -->
+ <!-- <button type="button" title="Schließen" class="top-btn" id="top-close-btn"><i class="icon-cancel"></i></button> -->
+ <div class="dropdown">
+ <button class="top-btn"><i class="icon-down-dir"></i></button>
+ <div class="dropdown-content">
+ <!--
+ <a id="mi-ansehen"><i class="icon-eye"></i> Ansehen</a>
+ <a id="mi-duplizieren"><i class="icon-docs"></i> Duplizieren</a>
+ <a id="mi-umbenennen"><i class="icon-pencil"></i> Umbenennen</a>
+ <a id="mi-neuer-ordner"><i class="icon-folder-empty"></i> Neuer Ordner</a>
+ <a id="mi-neuer-text"><i class="icon-doc"></i> Neuer Text</a>
+ <a id="mi-neues-dok"><i class="icon-doc-text"></i> Neues Dokument</a>
+ <a id="mi-abmelden"><i class="icon-logout"></i> Abmelden</a>
+ -->
+ <a id="mi-katalog"><i class="icon-music"></i> Media</a>
+ <a id="mi-orte"><i class="icon-database"></i> Orte</a>
+ <a id="mi-list"><i class="icon-list"></i> Playlist</a>
+ </div>
+ </div>
+
</div>
</div>
<div class="inhalt">
@@ -30,28 +69,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 +92,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