From 630c3f3cb7bf2679e7a96a9bc9c076ea350a13eb Mon Sep 17 00:00:00 2001
From: ulrich <undisclosed>
Date: Thu, 03 Aug 2017 08:46:33 +0000
Subject: [PATCH] Fancybox fuer Bilder eingebaut

---
 web/ui/index.html |   40 ++++++++++++++++++++++++++++++++++------
 1 files changed, 34 insertions(+), 6 deletions(-)

diff --git a/web/ui/index.html b/web/ui/index.html
index e30a181..36bae7c 100644
--- a/web/ui/index.html
+++ b/web/ui/index.html
@@ -8,12 +8,24 @@
     <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/fancybox/jquery.fancybox.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">
           {{#mini}}
-            <img class="datei" src="{{miniurl}}"  width="60" height="40" />
+            <a href="{{bildurl}}" data-fancybox="group" data-caption="">
+              <img class="datei" src="{{miniurl}}"  width="60" height="40" />
+            </a>
           {{/mini}}
           {{^mini}}
             <i class="fa {{ typeClass }} fa-3x"></i>
@@ -81,6 +93,8 @@
               <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>
@@ -100,15 +114,21 @@
           <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="#">Test 2</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>
@@ -202,13 +222,17 @@
       <!-- Modal ok / cancel Ende -->
     </div>
     <!-- Fusszeile -->
-    <!--
     <div class="sued">
-      Fu&szlig;zeile
+      <button id="fusszeile-schliessen" type="button" class="close" aria-label="Close">
+        <span aria-hidden="true">&times;</span>
+      </button>
+      <div class="system-out">
+        
+      </div>
     </div>
-    -->
     <!-- Skripte -->
-    <script src="/jslib/jquery/jquery.min.js"></script>
+    <!-- <script src="/jslib/jquery/jquery.min.js"></script> -->
+    <script src="/jslib/jquery-3.2.1/jquery.min.js"></script>
     <script src="/jslib/codemirror/lib/codemirror.js"></script>
     
     <script src="/jslib/codemirror/mode/javascript/javascript.js"></script>
@@ -221,6 +245,10 @@
     <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/fancybox/jquery.fancybox.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