From 3ad4db4a15b4ba59c65e2af797967941f2cb2ba2 Mon Sep 17 00:00:00 2001
From: ulrich <not disclosed>
Date: Tue, 21 Feb 2017 13:40:24 +0000
Subject: [PATCH] SessionManager angepasst

---
 web/ui/index.html |   24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/web/ui/index.html b/web/ui/index.html
index bcd6555..b26a150 100644
--- a/web/ui/index.html
+++ b/web/ui/index.html
@@ -12,11 +12,24 @@
     <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-folder fa-3x"></i>
-          <figcaption class="figure-caption">{{ fr.absolutePath }}</figcaption>
+          <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>
@@ -30,11 +43,12 @@
             <div class="dropdown-menu">
               <a id="newTextFile" class="dropdown-item" href="#">Neue Text-Datei..</a>
               <a class="dropdown-item" href="#">Neues Dokument..</a>
+              <a id="newFolder" class="dropdown-item" href="#">Neuer Ordner..</a>
               <div class="dropdown-divider"></div>
               <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 id="saveFile" class="dropdown-item" href="#">Speichern</a>
@@ -104,7 +118,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>
@@ -156,7 +170,7 @@
                 </button>
               </div>
               <div class="modal-body">
-                <p>Dateiname?</p>
+                <p id="dialogfrage">Dateiname?</p>
                 <input class="form-control eingabe" type="text" size="20" maxlength="250" placeholder="Dateiname" name="dateiname" id="dateiname">
               </div>
               <div class="modal-footer">

--
Gitblit v1.9.3