Dateiverwaltung für die WebBox
ulrich
2021-01-17 d9cdb1ac342ae2c867489ad4220bb2c81043f353
web/ui/index.html
@@ -25,11 +25,11 @@
          {{#mini}}
            {{#dia}}
              <a href="{{bildurl}}" data-fancybox="group" data-caption="">
                <img class="datei" src="{{miniurl}}"  width="60" height="40" />
                <img class="datei" src="{{miniurl}}" />
              </a>
            {{/dia}}
            {{^dia}}
              <img class="datei" src="{{miniurl}}"  width="60" height="40" />
              <img class="datei" src="{{miniurl}}" />
            {{/dia}}
          {{/mini}}
          {{^mini}}
@@ -54,9 +54,9 @@
          <tr class="datei-zeile">
            <td class="datei-elem"><i class="fa {{ typeClass }}"></i></td>
            <td class="dateiname">{{ fileName }}</td>
            <td>{{ fr.length }}</td>
            <td>&nbsp;</td>
            <td>{{ fr.lastModified }}</td>
            <td>{{ fileSize }}</td>
            <td>{{ fr.mimetype }}</td>
            <td>{{ fileDate }}</td>
          </tr>
        {{/files}}
        </tbody>
@@ -84,6 +84,8 @@
          <li class="nav-item dropdown">
            <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="newTab" class="dropdown-item" href="#">Neuer Reiter</a>
              <div class="dropdown-divider"></div>
              <a id="newTextFile" class="dropdown-item" href="#">Neuer Text..</a>
              <a id="newDoc" class="dropdown-item" href="#">Neues Dokument..</a>
              <a id="newFolder" class="dropdown-item" href="#">Neuer Ordner..</a>
@@ -99,6 +101,7 @@
              <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-zip" class="dropdown-item" href="#">Ordner packen</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>
@@ -113,6 +116,7 @@
              <a id="m-paste" class="dropdown-item" href="#">Einf&uuml;gen</a>
              <div class="dropdown-divider"></div>
              <a id="m-shrink" class="dropdown-item" href="#">Verkleinern</a>
              <a id="m-rotate" class="dropdown-item" href="#">Rotieren</a>
              <div class="dropdown-divider"></div>
              <a id="m-del" class="dropdown-item" href="#">L&ouml;schen</a>
            </div>
@@ -120,7 +124,7 @@
          <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="/data/dok/wbx-doku.html#wbx-bedienung">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>
@@ -134,6 +138,7 @@
              <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>
              <a id="m-ant-build" class="dropdown-item" href="#">Ant build</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>
@@ -254,6 +259,8 @@
    <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="/jslib/moment/moment-with-locales.min.js"></script>
    <script src="/jslib/numeral/numeral.min.js"></script>
    <script src="data.js"></script>
    <script src="api.js"></script>
    <script src="ui.js"></script>