Dateiverwaltung für die WebBox
ulrich
2017-02-18 9159275f8efe97da69e138ef3378931181447370
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">
12   </head>
13   <body>
14     <!-- Kopfzeile -->
15     <div class="nord">
16       
17       <div id="menue"> <!-- Menue -->
18         <ul class="nav">
19           <li class="nav-item dropdown">
9fac84 20             <a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Datei</a>
c7c502 21             <div class="dropdown-menu">
a4d3b5 22               <a id="newTextFile" class="dropdown-item" href="#">Neue Text-Datei..</a>
9fac84 23               <a class="dropdown-item" href="#">Neues Dokument..</a>
c7c502 24               <div class="dropdown-divider"></div>
9fac84 25               <a class="dropdown-item" href="#">Ansehen als Code</a>
U 26               <a class="dropdown-item" href="#">Ansehen als Dokument</a>
27               <div class="dropdown-divider"></div>
28               <a class="dropdown-item" href="#">Bearbeiten als Code</a>
29               <a class="dropdown-item" href="#">Bearbeiten als Dokument</a>
a4d3b5 30               <div class="dropdown-divider"></div>
e5ff42 31               <a id="saveFile" class="dropdown-item" href="#">Speichern</a>
a4d3b5 32               <div class="dropdown-divider"></div>
U 33               <a id="closeFile" class="dropdown-item" href="#">Schliessen</a>
c7c502 34             </div>
U 35           </li>
36           <li class="nav-item dropdown">
9fac84 37             <a id="userMenu" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Nutzer-ID</a>
c7c502 38             <div class="dropdown-menu">
9fac84 39               <a class="dropdown-item" href="/">Zur Hauptseite der WebBox wechseln</a>
U 40               <div class="dropdown-divider"></div>
41               <a class="dropdown-item" href="/wbx/mng">Apps verwalten</a>
42               <a class="dropdown-item" href="/um/ui">Benutzer verwalten</a>
e5ff42 43               <a class="dropdown-item disabled" href="/file-cms/ui">Dateien verwalten</a>
9fac84 44               <div class="dropdown-divider"></div>
c7c502 45               <a id="logout" class="dropdown-item" href="#">Abmelden</a>
U 46             </div>
47           </li>
48         </ul>
49       </div> <!-- Menue -->
50       
51     </div>
52     <div class="inhalt">
53       <!-- westliche Seitenleiste -->
54       <div class="west hidden-xs-down">
55           <!-- linke Seitenleiste mit Links -->
56           <nav class="nav flex-column">
57             <a class="nav-link active" href="#">Active</a>
58             <a class="nav-link" href="#">Link</a>
59             <a class="nav-link" href="#">Link</a>
60             <a class="nav-link disabled" href="#">Disabled</a>
61           </nav>    
62       </div>
63       <!-- zentraler Inhaltsbereich -->
64       <div class="zentrum">
a4d3b5 65         
U 66         <div class="code-editor-container pr-3 pb-3">
67         <div class="codeeditor-space pr-3">
68           <textarea class="codeeditor" id="editspace"></textarea>       
c7c502 69         </div>
a4d3b5 70         </div>
U 71         
72         <!-- <div id="code-editor-container" class="pr-2"> -->
73           
74           <!--
75           <div id="edit-tabs">
76             <ul class="nav nav-tabs">
77               <li class="nav-item">
78                 <a class="nav-link active" href="#">Active</a>
79               </li>
80               <li class="nav-item">
81                 <a class="nav-link" href="#">Link</a>
82               </li>
83               <li class="nav-item">
84                 <a class="nav-link" href="#">Link</a>
85               </li>
86               <li class="nav-item">
87                 <a class="nav-link disabled" href="#">Disabled</a>
88               </li>
89             </ul>
90           </div>
91           -->
92           
93         <!-- </div> -->
94         
95         <div id="dateiansicht">
96           <!-- Breadcrumb Start -->
97           <div class="zentrum-bc">
98             <nav class="breadcrumb">
99               <a class="breadcrumb-item" href="#">Home</a>
100               <a class="breadcrumb-item" href="#">Library</a>
101               <a class="breadcrumb-item" href="#">Data</a>
102               <span class="breadcrumb-item active">Bootstrap</span>
103               <div class="pull-right align-middle">
104                 <i class="fa fa-th-large"></i>
105               </div>
106             </nav>            
107           </div>
108           <!-- Breadcrumb Ende -->
109           <!-- Dateikacheln Start -->
110           <div class="zentrum-liste">
111             <figure class="figure datei-figure text-center text-warning align-top">
112               <i class="fa fa-folder fa-3x"></i>
113               <figcaption class="figure-caption">Kurzer Text</figcaption>
114             </figure>   
115             <figure class="figure datei-figure text-center text-warning align-top">
116               <i class="fa fa-folder fa-3x"></i>
117               <figcaption class="figure-caption">A caption for the above image.</figcaption>
118             </figure>   
119             <figure class="figure datei-figure text-center text-warning align-top">
120               <i class="fa fa-folder fa-3x"></i>
121               <figcaption class="figure-caption">Ein ganz langer Text, der dieses Element benennt.</figcaption>
122             </figure>   
123             <figure class="figure datei-figure text-center text-warning align-top">
124               <i class="fa fa-folder fa-3x"></i>
125               <figcaption class="figure-caption">Wort</figcaption>
126             </figure>   
127             <figure class="figure datei-figure text-center text-warning align-top">
128               <i class="fa fa-folder fa-3x"></i>
129               <figcaption class="figure-caption">Wort2</figcaption>
130             </figure>   
131             <figure class="figure datei-figure text-center text-warning align-top">
132               <i class="fa fa-folder fa-3x"></i>
133               <figcaption class="figure-caption">Wort3</figcaption>
134             </figure>   
135           </div>
136           <!-- Dateikacheln Ende -->
c7c502 137         </div>
915927 138         
U 139         <!-- Modal -->
140         <div class="modal fade" id="saveModal">
141           <div class="modal-dialog" role="document">
142             <div class="modal-content">
143               <div class="modal-header">
144                 <h5 class="modal-title">Modal title</h5>
145                 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
146                   <span aria-hidden="true">&times;</span>
147                 </button>
148               </div>
149               <div class="modal-body">
150                 <p>Dateiname?</p>
151                 <input class="form-control eingabe" type="text" size="20" maxlength="250" placeholder="Dateiname" name="dateiname" id="dateiname">
152               </div>
153               <div class="modal-footer">
154                 <button id="modal_ok" type="button" class="btn btn-primary" data-dismiss="modal">Speichern</button>
155                 <button id="modal_cancel" type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button>
156               </div>
157             </div>
158           </div>
159         </div> <!-- Modal Ende -->        
c7c502 160       </div>
U 161       <!-- oestliche Seitenleiste -->
162       <!--
163       <div class="ost">
164         &ouml;stliche Seitenleiste
165       </div>
166       -->
167     </div>
168     <!-- Fusszeile -->
169     <!--
170     <div class="sued">
171       Fu&szlig;zeile
172     </div>
173     -->
174     <!-- Skripte -->
175     <script src="/jslib/jquery/jquery.min.js"></script>
a4d3b5 176     <script src="/jslib/codemirror/lib/codemirror.js"></script>
U 177     <script src="/jslib/codemirror/mode/javascript/javascript.js"></script>
178     <script src="/jslib/codemirror/mode/xml/xml.js"></script>
179     <script src="/jslib/codemirror/mode/htmlmixed/htmlmixed.js"></script>
180     
181     <script src="/jslib/codemirror/addon/display/fullscreen.js"></script>
182     
c7c502 183     <script src="/jslib/bootstrap/js/bootstrap.min.js"></script>
U 184     <script src="/jslib/mustache/mustache.min.js"></script>
185     <script src="ui.js"></script>
186     <script type="text/javascript" charset="utf-8">
187       //var ui;
188       $(document).ready(function() {
a4d3b5 189         fm_init();
c7c502 190       });
U 191     </script>
192   </body>
193 </html>