Dateiverwaltung für die WebBox
ulrich
2017-02-25 a3d410776dcaf84ab2a0cb22eebb6e75a3251033
commit | author | age
c7c502 1 <!DOCTYPE html>
U 2 <html>
3   <head>
9fac84 4     <title>Dateiverwaltung</title>
c7c502 5     <meta charset="UTF-8">
U 6     <meta name="viewport" content="width=device-width, initial-scale=1.0">
a4d3b5 7     <link rel="stylesheet" href="/jslib/codemirror/lib/codemirror.css">    
U 8     <link rel="stylesheet" href="/jslib/codemirror/addon/display/fullscreen.css">        
c7c502 9     <link rel="stylesheet" type="text/css" href="/jslib/bootstrap/css/bootstrap.min.css">
U 10     <link rel="stylesheet" type="text/css" href="/jslib/font-awesome/css/font-awesome.min.css">
11     <link rel="stylesheet" type="text/css" href="stile.css">
5dfab6 12     <script id="tpl-bcr3" type="x-tmpl-mustache">
10d3d3 13       <div id="ansicht" class="pull-right align-middle">
U 14         <i class="fa fa-th-list"></i>
5dfab6 15       </div>              
7342b1 16     </script>
c7c502 17   </head>
U 18   <body>
19     <!-- Kopfzeile -->
20     <div class="nord">
21       
22       <div id="menue"> <!-- Menue -->
28b4d2 23         <ul class="nav pl-3">
c7c502 24           <li class="nav-item dropdown">
9fac84 25             <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Datei</a>
c7c502 26             <div class="dropdown-menu">
fc1897 27               <a id="newTextFile" class="dropdown-item" href="#">Neuer Text..</a>
10d3d3 28               <a class="dropdown-item disabled" href="#">Neues Dokument..</a>
c509a0 29               <a id="newFolder" class="dropdown-item" href="#">Neuer Ordner..</a>
c7c502 30               <div class="dropdown-divider"></div>
fc1897 31               <a id="editTextFile" class="dropdown-item" href="#">&Ouml;ffnen als Text</a>
U 32               <a class="dropdown-item disabled" href="#">&Ouml;ffnen als Dokument</a>
9fac84 33               <div class="dropdown-divider"></div>
fc1897 34               <a class="dropdown-item disabled" href="#">Ansehen als Text</a>
U 35               <a class="dropdown-item disabled" href="#">Ansehen als Dokument</a>
a4d3b5 36               <div class="dropdown-divider"></div>
e5ff42 37               <a id="saveFile" class="dropdown-item" href="#">Speichern</a>
5ebb8e 38               <a id="saveFileAs" class="dropdown-item" href="#">Speichern unter..</a>
a4d3b5 39               <div class="dropdown-divider"></div>
fc1897 40               <a id="renameFile" class="dropdown-item" href="#">Umbenennen..</a>
bef5c6 41               <div class="dropdown-divider"></div>
fc1897 42               <a id="closeFile" class="dropdown-item" href="#">Schliessen</a>
U 43             </div>
44           </li>
45           <li class="nav-item dropdown">
46             <a id="editMenu" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Bearbeiten</a>
47             <div class="dropdown-menu">
48               <a id="m-cut" class="dropdown-item" href="#">Ausschneiden</a>
49               <a id="m-copy" class="dropdown-item" href="#">Kopieren</a>
50               <a id="m-paste" class="dropdown-item" href="#">Einf&uuml;gen</a>
51               <div class="dropdown-divider"></div>
52               <a id="m-del" class="dropdown-item" href="#">L&ouml;schen</a>
c7c502 53             </div>
U 54           </li>
55           <li class="nav-item dropdown">
9fac84 56             <a id="userMenu" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Nutzer-ID</a>
c7c502 57             <div class="dropdown-menu">
9fac84 58               <a class="dropdown-item" href="/">Zur Hauptseite der WebBox wechseln</a>
U 59               <div class="dropdown-divider"></div>
60               <a class="dropdown-item" href="/wbx/mng">Apps verwalten</a>
61               <a class="dropdown-item" href="/um/ui">Benutzer verwalten</a>
e5ff42 62               <a class="dropdown-item disabled" href="/file-cms/ui">Dateien verwalten</a>
fc1897 63               <div class="dropdown-divider"></div>
U 64               <a id="m-test" class="dropdown-item" href="#">Test</a>
9fac84 65               <div class="dropdown-divider"></div>
c7c502 66               <a id="logout" class="dropdown-item" href="#">Abmelden</a>
U 67             </div>
68           </li>
69         </ul>
70       </div> <!-- Menue -->
71       
72     </div>
73     <div class="inhalt">
74       <!-- westliche Seitenleiste -->
75       <div class="west hidden-xs-down">
76           <!-- linke Seitenleiste mit Links -->
653519 77           <!--
c7c502 78           <nav class="nav flex-column">
U 79             <a class="nav-link active" href="#">Active</a>
80             <a class="nav-link" href="#">Link</a>
81             <a class="nav-link" href="#">Link</a>
82             <a class="nav-link disabled" href="#">Disabled</a>
653519 83           </nav> 
U 84           -->
c7c502 85       </div>
U 86       <!-- zentraler Inhaltsbereich -->
87       <div class="zentrum">
a4d3b5 88         
f5505f 89         <!-- Codemirror Start -->
653519 90         <div class="code-editor-container pl-3 pr-3 pb-3">
a4d3b5 91         <div class="codeeditor-space pr-3">
U 92           <textarea class="codeeditor" id="editspace"></textarea>       
c7c502 93         </div>
a4d3b5 94         </div>
f5505f 95         <!-- Codemirror Ende -->
U 96         <!-- Breadcrumb Start -->
28b4d2 97         <div class="zentrum-bc pl-3 pr-3">
U 98           <nav class="breadcrumb" id="bcnav"></nav>             
c7c502 99         </div>
f5505f 100         <!-- Breadcrumb Ende -->
U 101         <!-- Dateikacheln/-liste Start -->
28b4d2 102         <div class="zentrum-liste pl-3 pr-3" id="dateien"></div>
f5505f 103         <!-- Dateikacheln Ende -->
915927 104         
c7c502 105       </div>
U 106       <!-- oestliche Seitenleiste -->
7aa566 107       <div class="ost"></div>
bef5c6 108       
f5505f 109       <!-- Modal -->
U 110       <div class="modal fade" id="saveModal">
111         <div class="modal-dialog" role="document">
112           <div class="modal-content">
113             <div class="modal-header">
957b51 114               <h5 id="saveModalTitle" class="modal-title">Datei speichern</h5>
f5505f 115               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
U 116                 <span aria-hidden="true">&times;</span>
117               </button>
118             </div>
957b51 119             <div id="saveModalBody" class="modal-body">
f5505f 120               <p id="dialogfrage">Dateiname?</p>
U 121               <input class="form-control eingabe" type="text" size="20" maxlength="250" placeholder="Dateiname" name="dateiname" id="dateiname">
122             </div>
123             <div class="modal-footer">
124               <button id="modal_ok" type="button" class="btn btn-primary" data-dismiss="modal">Speichern</button>
125               <button id="modal_cancel" type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button>
126             </div>
127           </div>
128         </div>
129       </div> <!-- Modal Ende -->        
fc1897 130       <!-- Modal ok / cancel Start -->
U 131       <div class="modal fade" id="confirmModal">
132         <div class="modal-dialog" role="document">
133           <div class="modal-content">
134             <div class="modal-header">
957b51 135               <h5 id="confirmModalTitle" class="modal-title">L&ouml;schen</h5>
fc1897 136               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
U 137                 <span aria-hidden="true">&times;</span>
138               </button>
139             </div>
957b51 140             <div id="confirmModalBody" class="modal-body">
fc1897 141               <p>Wirklich ...?</p>
U 142             </div>
143             <div class="modal-footer">
144               <button id="confirmOk" type="button" class="btn btn-danger" data-dismiss="modal">L&ouml;schen</button>
145               <button id="confirmCancel" type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button>
146             </div>
147           </div>
148         </div>
149       </div>
150       <!-- Modal ok / cancel Ende -->
c7c502 151     </div>
U 152     <!-- Fusszeile -->
153     <!--
154     <div class="sued">
155       Fu&szlig;zeile
156     </div>
157     -->
158     <!-- Skripte -->
159     <script src="/jslib/jquery/jquery.min.js"></script>
a4d3b5 160     <script src="/jslib/codemirror/lib/codemirror.js"></script>
U 161     <script src="/jslib/codemirror/mode/javascript/javascript.js"></script>
162     <script src="/jslib/codemirror/mode/xml/xml.js"></script>
163     <script src="/jslib/codemirror/mode/htmlmixed/htmlmixed.js"></script>
164     
165     <script src="/jslib/codemirror/addon/display/fullscreen.js"></script>
166     
c7c502 167     <script src="/jslib/bootstrap/js/bootstrap.min.js"></script>
U 168     <script src="/jslib/mustache/mustache.min.js"></script>
169     <script src="ui.js"></script>
170     <script type="text/javascript" charset="utf-8">
171       //var ui;
172       $(document).ready(function() {
a4d3b5 173         fm_init();
c7c502 174       });
U 175     </script>
176   </body>
177 </html>