Persoenliche Mediazentrale
ulrich
2021-04-14 3929b0fe2a7678b31f8971c9b9eb4536330f6c80
www/ui/index.html
@@ -1,11 +1,27 @@
<!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>Pan</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" />
    <link href="https://fonts.googleapis.com/css?family=Roboto+Condensed" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="app-menu.css">
    <link rel="stylesheet" type="text/css" href="hamburger.css">
    <link rel="stylesheet" type="text/css" href="app.css">
@@ -21,7 +37,26 @@
        </div>
      </div>
      <div class="app-titel">
        <span id="app-titel">App-Vorlage</span>
        <span id="app-titel">Pan</span>
      </div>
      <div class="top-btn-area">
        <div class="top-btns">
          <button type="button"  title="Neu" class="top-btn" id="top-neu-btn"><i class="icon-doc"></i></button>
          <button type="button"  title="herauf" class="top-btn" id="top-up-btn"><i class="icon-up-open"></i></button>
        </div>
        <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-video"></i> Media-Inhalte</a>
            <a id="mi-list"><i class="icon-music"></i> Abspielliste</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&auml;te</a>
            <a id="mi-prefs"><i class="icon-sliders"></i> Einstellungen</a>
          </div>
        </div>
      </div>
    </div>
    <div class="inhalt">
@@ -30,28 +65,22 @@
        westliche Seitenleiste
      </div>
      <div class="zentrum-behaelter">
        <!-- Einblendbereich -->
        <!-- Einblendbereich oben -->
        <div class="dialog"></div>
        <div class="top-band">
          <div class="breadcrumb-behaelter">Breadcrumb hier</div>
          <div class="bereich-name">Name des Bereichs</div>
        </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>