From a94216f68fe4d8f404587e209ca353e493f7abce Mon Sep 17 00:00:00 2001
From: ulrich <not disclosed>
Date: Mon, 20 Feb 2017 16:58:10 +0000
Subject: [PATCH] Ueber Breadcrumb zurueckspringen hergestellt

---
 web/ui/index.html |   53 +++++++++++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 49 insertions(+), 4 deletions(-)

diff --git a/web/ui/index.html b/web/ui/index.html
index 02cbd66..ee28ae5 100644
--- a/web/ui/index.html
+++ b/web/ui/index.html
@@ -9,6 +9,28 @@
     <link rel="stylesheet" type="text/css" href="/jslib/bootstrap/css/bootstrap.min.css">
     <link rel="stylesheet" type="text/css" href="/jslib/font-awesome/css/font-awesome.min.css">
     <link rel="stylesheet" type="text/css" href="stile.css">
+    <script id="tpl-kacheln" type="x-tmpl-mustache">
+      {{#files}}          
+        <figure class="figure datei-figure text-center text-warning align-top">
+          <i class="fa {{ typeClass }} fa-3x"></i>
+          <figcaption class="figure-caption">{{ fileName }}</figcaption>
+        </figure>   
+      {{/files}}
+          
+    </script>
+    <script id="tpl-bcr" type="x-tmpl-mustache">
+      {{#files}}
+          <a class="breadcrumb-item" rpath="{{ relPath }}" href="#">{{ fName }}</a>
+      {{/files}}
+    </script>
+    <script id="tpl-bcr2" type="x-tmpl-mustache">
+      <span class="breadcrumb-item active">{{ fName }}</span>
+    </script>
+    <script id="tpl-bcr3" type="x-tmpl-mustache">
+      <div class="pull-right align-middle">
+        <i class="fa fa-th-large"></i>
+      </div>              
+    </script>
   </head>
   <body>
     <!-- Kopfzeile -->
@@ -25,10 +47,10 @@
               <a class="dropdown-item" href="#">Ansehen als Code</a>
               <a class="dropdown-item" href="#">Ansehen als Dokument</a>
               <div class="dropdown-divider"></div>
-              <a class="dropdown-item" href="#">Bearbeiten als Code</a>
+              <a id="editTextFile" class="dropdown-item" href="#">Bearbeiten als Code</a>
               <a class="dropdown-item" href="#">Bearbeiten als Dokument</a>
               <div class="dropdown-divider"></div>
-              <a class="dropdown-item" href="#">Speichern</a>
+              <a id="saveFile" class="dropdown-item" href="#">Speichern</a>
               <div class="dropdown-divider"></div>
               <a id="closeFile" class="dropdown-item" href="#">Schliessen</a>
             </div>
@@ -40,6 +62,7 @@
               <div class="dropdown-divider"></div>
               <a class="dropdown-item" href="/wbx/mng">Apps verwalten</a>
               <a class="dropdown-item" href="/um/ui">Benutzer verwalten</a>
+              <a class="dropdown-item disabled" href="/file-cms/ui">Dateien verwalten</a>
               <div class="dropdown-divider"></div>
               <a id="logout" class="dropdown-item" href="#">Abmelden</a>
             </div>
@@ -94,7 +117,7 @@
         <div id="dateiansicht">
           <!-- Breadcrumb Start -->
           <div class="zentrum-bc">
-            <nav class="breadcrumb">
+            <nav class="breadcrumb" id="bcnav">
               <a class="breadcrumb-item" href="#">Home</a>
               <a class="breadcrumb-item" href="#">Library</a>
               <a class="breadcrumb-item" href="#">Data</a>
@@ -106,7 +129,7 @@
           </div>
           <!-- Breadcrumb Ende -->
           <!-- Dateikacheln Start -->
-          <div class="zentrum-liste">
+          <div class="zentrum-liste" id="dateien">
             <figure class="figure datei-figure text-center text-warning align-top">
               <i class="fa fa-folder fa-3x"></i>
               <figcaption class="figure-caption">Kurzer Text</figcaption>
@@ -134,6 +157,28 @@
           </div>
           <!-- Dateikacheln Ende -->
         </div>
+        
+        <!-- Modal -->
+        <div class="modal fade" id="saveModal">
+          <div class="modal-dialog" role="document">
+            <div class="modal-content">
+              <div class="modal-header">
+                <h5 class="modal-title">Datei speichern</h5>
+                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
+                  <span aria-hidden="true">&times;</span>
+                </button>
+              </div>
+              <div class="modal-body">
+                <p>Dateiname?</p>
+                <input class="form-control eingabe" type="text" size="20" maxlength="250" placeholder="Dateiname" name="dateiname" id="dateiname">
+              </div>
+              <div class="modal-footer">
+                <button id="modal_ok" type="button" class="btn btn-primary" data-dismiss="modal">Speichern</button>
+                <button id="modal_cancel" type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button>
+              </div>
+            </div>
+          </div>
+        </div> <!-- Modal Ende -->        
       </div>
       <!-- oestliche Seitenleiste -->
       <!--

--
Gitblit v1.9.3