From 21589e19b92d63e36e5f73d8c01394de6f69b9a4 Mon Sep 17 00:00:00 2001 From: ulrich <not disclosed> Date: Sat, 08 Apr 2017 09:13:30 +0000 Subject: [PATCH] Initialiser und HtmlExportService berichtigt --- web/ui/index.html | 71 +++++++++++++++++++++++++++-------- 1 files changed, 55 insertions(+), 16 deletions(-) diff --git a/web/ui/index.html b/web/ui/index.html index ff31437..580908d 100644 --- a/web/ui/index.html +++ b/web/ui/index.html @@ -8,11 +8,25 @@ <link rel="stylesheet" href="/jslib/codemirror/addon/display/fullscreen.css"> <link rel="stylesheet" type="text/css" href="/jslib/bootstrap/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="/jslib/font-awesome/css/font-awesome.min.css"> + <link rel="stylesheet" type="text/css" href="/jslib/lightbox/lightbox.css"> <link rel="stylesheet" type="text/css" href="stile.css"> + <script id="tpl-ci" type="x-tmpl-mustache"> + {{#issues}} + <p class="compiler-issue"> + {{sourceName}}, line {{lineNumber}}<br> + {{kind}}: {{message}} + </p> + {{/issues}} + </script> <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 +66,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,19 +77,21 @@ <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> <div class="dropdown-divider"></div> <a id="renameFile" class="dropdown-item" href="#">Umbenennen..</a> + <a id="m-unzip" class="dropdown-item" href="#">Entpacken</a> + <a id="m-html-export" class="dropdown-item" href="#">Export HTML</a> <div class="dropdown-divider"></div> <a id="closeFile" class="dropdown-item" href="#">Schliessen</a> </div> @@ -88,20 +103,29 @@ <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> <li class="nav-item dropdown"> <a id="userMenu" class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Nutzer-ID</a> <div class="dropdown-menu"> + <a class="dropdown-item" href="/data/dok/wbx/Bedienung.htmi">Hilfe</a> <a class="dropdown-item" href="/">Zur Hauptseite der WebBox wechseln</a> <div class="dropdown-divider"></div> <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> + <a class="dropdown-item" href="/wbx-dbcon/ui">Datenbanken 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="#">Compile</a> + <a id="m-test-3" class="dropdown-item" href="#">Compile all</a> + <a id="m-compile-results" class="dropdown-item" href="#">Compile results</a> + <a id="m-build-app" class="dropdown-item" href="#">Build app</a> <div class="dropdown-divider"></div> + <a id="profil" class="dropdown-item" href="/um/profil">Profil</a> <a id="logout" class="dropdown-item" href="#">Abmelden</a> </div> </li> @@ -132,8 +156,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 --> @@ -150,12 +179,12 @@ <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">×</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> @@ -171,16 +200,17 @@ <div class="modal-dialog" role="document"> <div class="modal-content"> <div class="modal-header"> - <h5 class="modal-title">Löschen</h5> + <h5 id="confirmModalTitle" class="modal-title">Löschen</h5> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> - <div class="modal-body"> + <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ö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> @@ -189,22 +219,31 @@ <!-- Modal ok / cancel Ende --> </div> <!-- Fusszeile --> - <!-- <div class="sued"> - Fußzeile + <button id="fusszeile-schliessen" type="button" class="close" aria-label="Close"> + <span aria-hidden="true">×</span> + </button> + <div class="system-out"> + + </div> </div> - --> <!-- 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="/jslib/lightbox/lightbox.min.js"></script> + <script src="data.js"></script> + <script src="api.js"></script> <script src="ui.js"></script> <script type="text/javascript" charset="utf-8"> //var ui; -- Gitblit v1.9.3