From e3043fddcaf5e3ea4beb022c04d411661a3499bd Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Tue, 14 Mar 2017 14:27:13 +0000 Subject: [PATCH] Syntax-Check fuer Java, Gutter Marker fuer Fehler, Tooltips fuer Fehlermeldungen --- web/ui/index.html | 34 +++++++++++++++++++++++++--------- 1 files changed, 25 insertions(+), 9 deletions(-) diff --git a/web/ui/index.html b/web/ui/index.html index b0ee0a7..e30a181 100644 --- a/web/ui/index.html +++ b/web/ui/index.html @@ -12,7 +12,12 @@ <script id="tpl-kacheln" type="x-tmpl-mustache"> {{#files}} <figure class="figure datei-figure text-center text-warning align-top datei-elem"> - <i class="fa {{ typeClass }} fa-3x"></i> + {{#mini}} + <img class="datei" src="{{miniurl}}" width="60" height="40" /> + {{/mini}} + {{^mini}} + <i class="fa {{ typeClass }} fa-3x"></i> + {{/mini}} <figcaption class="figure-caption dateiname">{{ fileName }}</figcaption> </figure> {{/files}} @@ -52,8 +57,7 @@ <div id="ansicht" class="pull-right align-middle"> <i class="fa fa-th-list"></i> </div> - </script> - </head> + </script> </head> <body> <!-- Kopfzeile --> <div class="nord"> @@ -64,14 +68,14 @@ <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="#">Neuer Text..</a> - <a class="dropdown-item disabled" href="#">Neues Dokument..</a> + <a id="newDoc" class="dropdown-item" href="#">Neues Dokument..</a> <a id="newFolder" class="dropdown-item" href="#">Neuer Ordner..</a> <div class="dropdown-divider"></div> <a id="editTextFile" class="dropdown-item" href="#">Öffnen als Text</a> - <a class="dropdown-item disabled" href="#">Öffnen als Dokument</a> + <a id="editDocFile" class="dropdown-item" href="#">Öffnen als Dokument</a> <div class="dropdown-divider"></div> - <a class="dropdown-item disabled" href="#">Ansehen als Text</a> - <a class="dropdown-item disabled" href="#">Ansehen als Dokument</a> + <a id="viewFile" class="dropdown-item" href="#">Ansehen</a> + <!--<a class="dropdown-item" 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> @@ -88,6 +92,8 @@ <a id="m-copy" class="dropdown-item" href="#">Kopieren</a> <a id="m-paste" class="dropdown-item" href="#">Einfügen</a> <div class="dropdown-divider"></div> + <a id="m-shrink" class="dropdown-item" href="#">Verkleinern</a> + <div class="dropdown-divider"></div> <a id="m-del" class="dropdown-item" href="#">Löschen</a> </div> </li> @@ -101,6 +107,7 @@ <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> + <a id="m-test-2" class="dropdown-item" href="#">Test 2</a> <div class="dropdown-divider"></div> <a id="logout" class="dropdown-item" href="#">Abmelden</a> </div> @@ -132,8 +139,13 @@ </div> </div> <!-- Codemirror Ende --> + <!-- TinyMCE Start --> + <div id="mce-editor" class="pl-3 pr-3"> + <textarea class="text-editor" id="text-editspace"></textarea> + </div> + <!-- TinyMCE Ende --> <!-- Breadcrumb Start --> - <div class="zentrum-bc pl-3 pr-3"> + <div id="zentrum_bc" class="zentrum-bc pl-3 pr-3"> <nav class="breadcrumb" id="bcnav"></nav> </div> <!-- Breadcrumb Ende --> @@ -181,6 +193,7 @@ </div> <div class="modal-footer"> <button id="confirmOk" type="button" class="btn btn-danger" data-dismiss="modal">Löschen</button> + <button id="confirmClose" type="button" class="btn btn-secondary" data-dismiss="modal">Schliessen</button> <button id="confirmCancel" type="button" class="btn btn-secondary" data-dismiss="modal">Abbrechen</button> </div> </div> @@ -197,12 +210,15 @@ <!-- Skripte --> <script src="/jslib/jquery/jquery.min.js"></script> <script src="/jslib/codemirror/lib/codemirror.js"></script> + <script src="/jslib/codemirror/mode/javascript/javascript.js"></script> <script src="/jslib/codemirror/mode/xml/xml.js"></script> <script src="/jslib/codemirror/mode/htmlmixed/htmlmixed.js"></script> + <script src="/jslib/codemirror/mode/clike/clike.js"></script> <script src="/jslib/codemirror/addon/display/fullscreen.js"></script> - + <script src="/jslib/tinymce/tinymce.min.js"></script> + <script src="/jslib/tether/tether.min.js"></script> <script src="/jslib/bootstrap/js/bootstrap.min.js"></script> <script src="/jslib/mustache/mustache.min.js"></script> <script src="ui.js"></script> -- Gitblit v1.9.3