Dateiverwaltung für die WebBox
ulrich
2017-02-27 305573a68785ff329bc0f3c9b28ba738bcb58e46
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>
305573 28               <a id="newDoc" class="dropdown-item" 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 -->
305573 96         <!-- TinyMCE Start -->
U 97         <div id="mce-editor">
98           <textarea class="text-editor" id="text-editspace"></textarea>
99         </div>        
100         <!-- TinyMCE Ende -->
f5505f 101         <!-- Breadcrumb Start -->
305573 102         <div id="zentrum_bc" class="zentrum-bc pl-3 pr-3">
28b4d2 103           <nav class="breadcrumb" id="bcnav"></nav>             
c7c502 104         </div>
f5505f 105         <!-- Breadcrumb Ende -->
U 106         <!-- Dateikacheln/-liste Start -->
28b4d2 107         <div class="zentrum-liste pl-3 pr-3" id="dateien"></div>
f5505f 108         <!-- Dateikacheln Ende -->
915927 109         
c7c502 110       </div>
U 111       <!-- oestliche Seitenleiste -->
7aa566 112       <div class="ost"></div>
bef5c6 113       
f5505f 114       <!-- Modal -->
U 115       <div class="modal fade" id="saveModal">
116         <div class="modal-dialog" role="document">
117           <div class="modal-content">
118             <div class="modal-header">
957b51 119               <h5 id="saveModalTitle" class="modal-title">Datei speichern</h5>
f5505f 120               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
U 121                 <span aria-hidden="true">&times;</span>
122               </button>
123             </div>
957b51 124             <div id="saveModalBody" class="modal-body">
f5505f 125               <p id="dialogfrage">Dateiname?</p>
U 126               <input class="form-control eingabe" type="text" size="20" maxlength="250" placeholder="Dateiname" name="dateiname" id="dateiname">
127             </div>
128             <div class="modal-footer">
129               <button id="modal_ok" type="button" class="btn btn-primary" data-dismiss="modal">Speichern</button>
130               <button id="modal_cancel" type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button>
131             </div>
132           </div>
133         </div>
134       </div> <!-- Modal Ende -->        
fc1897 135       <!-- Modal ok / cancel Start -->
U 136       <div class="modal fade" id="confirmModal">
137         <div class="modal-dialog" role="document">
138           <div class="modal-content">
139             <div class="modal-header">
957b51 140               <h5 id="confirmModalTitle" class="modal-title">L&ouml;schen</h5>
fc1897 141               <button type="button" class="close" data-dismiss="modal" aria-label="Close">
U 142                 <span aria-hidden="true">&times;</span>
143               </button>
144             </div>
957b51 145             <div id="confirmModalBody" class="modal-body">
fc1897 146               <p>Wirklich ...?</p>
U 147             </div>
148             <div class="modal-footer">
149               <button id="confirmOk" type="button" class="btn btn-danger" data-dismiss="modal">L&ouml;schen</button>
150               <button id="confirmCancel" type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button>
151             </div>
152           </div>
153         </div>
154       </div>
155       <!-- Modal ok / cancel Ende -->
c7c502 156     </div>
U 157     <!-- Fusszeile -->
158     <!--
159     <div class="sued">
160       Fu&szlig;zeile
161     </div>
162     -->
163     <!-- Skripte -->
164     <script src="/jslib/jquery/jquery.min.js"></script>
a4d3b5 165     <script src="/jslib/codemirror/lib/codemirror.js"></script>
U 166     <script src="/jslib/codemirror/mode/javascript/javascript.js"></script>
167     <script src="/jslib/codemirror/mode/xml/xml.js"></script>
168     <script src="/jslib/codemirror/mode/htmlmixed/htmlmixed.js"></script>
169     
170     <script src="/jslib/codemirror/addon/display/fullscreen.js"></script>
305573 171     <script src="/jslib/tinymce/tinymce.min.js"></script>
c7c502 172     <script src="/jslib/bootstrap/js/bootstrap.min.js"></script>
U 173     <script src="/jslib/mustache/mustache.min.js"></script>
174     <script src="ui.js"></script>
175     <script type="text/javascript" charset="utf-8">
176       //var ui;
177       $(document).ready(function() {
a4d3b5 178         fm_init();
c7c502 179       });
U 180     </script>
181   </body>
182 </html>