From 957b51e11ef0f1929fba793cf250763be0a30417 Mon Sep 17 00:00:00 2001
From: ulrich <not disclosed>
Date: Sat, 25 Feb 2017 15:29:16 +0000
Subject: [PATCH] Loeschen verfeinert

---
 web/ui/index.html |   56 ++++++++++++++++++++++++++++++++++++++++++++------------
 1 files changed, 44 insertions(+), 12 deletions(-)

diff --git a/web/ui/index.html b/web/ui/index.html
index f25806e..b0ee0a7 100644
--- a/web/ui/index.html
+++ b/web/ui/index.html
@@ -63,20 +63,32 @@
           <li class="nav-item dropdown">
             <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Datei</a>
             <div class="dropdown-menu">
-              <a id="newTextFile" class="dropdown-item" href="#">Neue Text-Datei..</a>
+              <a id="newTextFile" class="dropdown-item" href="#">Neuer Text..</a>
               <a class="dropdown-item disabled" href="#">Neues Dokument..</a>
               <a id="newFolder" class="dropdown-item" href="#">Neuer Ordner..</a>
               <div class="dropdown-divider"></div>
-              <a class="dropdown-item disabled" href="#">Ansehen als Code</a>
-              <a class="dropdown-item disabled" href="#">Ansehen als Dokument</a>
+              <a id="editTextFile" class="dropdown-item" href="#">&Ouml;ffnen als Text</a>
+              <a class="dropdown-item disabled" href="#">&Ouml;ffnen als Dokument</a>
               <div class="dropdown-divider"></div>
-              <a id="editTextFile" class="dropdown-item" href="#">Bearbeiten als Code</a>
-              <a class="dropdown-item disabled" href="#">Bearbeiten als Dokument</a>
+              <a class="dropdown-item disabled" href="#">Ansehen als Text</a>
+              <a class="dropdown-item disabled" href="#">Ansehen als Dokument</a>
               <div class="dropdown-divider"></div>
               <a id="saveFile" class="dropdown-item" href="#">Speichern</a>
               <a id="saveFileAs" class="dropdown-item" href="#">Speichern unter..</a>
               <div class="dropdown-divider"></div>
+              <a id="renameFile" class="dropdown-item" href="#">Umbenennen..</a>
+              <div class="dropdown-divider"></div>
               <a id="closeFile" class="dropdown-item" href="#">Schliessen</a>
+            </div>
+          </li>
+          <li class="nav-item dropdown">
+            <a id="editMenu" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Bearbeiten</a>
+            <div class="dropdown-menu">
+              <a id="m-cut" class="dropdown-item" href="#">Ausschneiden</a>
+              <a id="m-copy" class="dropdown-item" href="#">Kopieren</a>
+              <a id="m-paste" class="dropdown-item" href="#">Einf&uuml;gen</a>
+              <div class="dropdown-divider"></div>
+              <a id="m-del" class="dropdown-item" href="#">L&ouml;schen</a>
             </div>
           </li>
           <li class="nav-item dropdown">
@@ -87,6 +99,8 @@
               <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="m-test" class="dropdown-item" href="#">Test</a>
               <div class="dropdown-divider"></div>
               <a id="logout" class="dropdown-item" href="#">Abmelden</a>
             </div>
@@ -129,22 +143,19 @@
         
       </div>
       <!-- oestliche Seitenleiste -->
-      <!--
-      <div class="ost">
-        &ouml;stliche Seitenleiste
-      </div>
-      -->
+      <div class="ost"></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>
+              <h5 id="saveModalTitle" 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">
+            <div id="saveModalBody" class="modal-body">
               <p id="dialogfrage">Dateiname?</p>
               <input class="form-control eingabe" type="text" size="20" maxlength="250" placeholder="Dateiname" name="dateiname" id="dateiname">
             </div>
@@ -155,6 +166,27 @@
           </div>
         </div>
       </div> <!-- Modal Ende -->        
+      <!-- Modal ok / cancel Start -->
+      <div class="modal fade" id="confirmModal">
+        <div class="modal-dialog" role="document">
+          <div class="modal-content">
+            <div class="modal-header">
+              <h5 id="confirmModalTitle" class="modal-title">L&ouml;schen</h5>
+              <button type="button" class="close" data-dismiss="modal" aria-label="Close">
+                <span aria-hidden="true">&times;</span>
+              </button>
+            </div>
+            <div id="confirmModalBody" class="modal-body">
+              <p>Wirklich ...?</p>
+            </div>
+            <div class="modal-footer">
+              <button id="confirmOk" type="button" class="btn btn-danger" data-dismiss="modal">L&ouml;schen</button>
+              <button id="confirmCancel" type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button>
+            </div>
+          </div>
+        </div>
+      </div>
+      <!-- Modal ok / cancel Ende -->
     </div>
     <!-- Fusszeile -->
     <!--

--
Gitblit v1.9.3