Dateiverwaltung für die WebBox
ulrich
2021-01-17 f320427aedc5b1bd73da7e08c0e84cef9d7ec66f
Funktion der Schaltflaechen in Kopfleise fertig, Pikto erweitert
4 files modified
37 ■■■■ changed files
web/ui2/font/pikto.ttf patch | view | raw | blame | history
web/ui2/index.html 5 ●●●●● patch | view | raw | blame | history
web/ui2/js/app.js 3 ●●●●● patch | view | raw | blame | history
web/ui2/stile.css 29 ●●●● patch | view | raw | blame | history
web/ui2/font/pikto.ttf
Binary files differ
web/ui2/index.html
@@ -22,8 +22,9 @@
        <span id="app-titel">Dateien</span>
      </div>
      <div class="top-btn-area">
        <button type="button"  title="Neuer Benutzer" class="top-btn" id="top-neu-btn"><i class="icon-doc-text-inv datei"></i></button>
        <button type="button"  title="Abmelden" class="top-btn" id="top-logout-btn"><i class="icon-folder"></i></button>
        <button type="button"  title="Neuer Text" class="top-btn" id="top-neuer-text-btn"><i class="icon-doc-text-inv datei"></i></button>
        <button type="button"  title="Neuer Ordner" class="top-btn" id="top-neuer-ordner-btn"><i class="icon-folder"></i></button>
        <button type="button"  title="Schlie&szlig;en" class="top-btn" id="top-close-btn"><i class="icon-cancel"></i></button>
      </div>
    </div>
    <div class="inhalt">
web/ui2/js/app.js
@@ -45,6 +45,9 @@
    document.querySelector('.hamburger').addEventListener('click', function (e) {
      self.menue_umschalten();
    });
    document.querySelector('#top-neuer-text-btn').addEventListener('click', self.datei_neuer_text);
    document.querySelector('#top-neuer-ordner-btn').addEventListener('click', self.datei_neuer_ordner);
    document.querySelector('#top-close-btn').addEventListener('click', self.fm_menu_datei_schliessen);
    self.fm_get_login();
    
    var parsedUrl = new URL(window.location.href);
web/ui2/stile.css
@@ -412,16 +412,26 @@
@font-face {
  font-family: 'pikto';
  src: url('font/pikto.ttf?37040783') format('truetype');
  src: url('font/pikto.ttf?22834745') format('truetype');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'pikto';
    src: url('../font/pikto.svg?22834745#pikto') format('svg');
  }
}
*/
 
 [class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "pikto";
  font-style: normal;
  font-weight: normal;
  speak: none;
  speak: never;
 
  display: inline-block;
  text-decoration: inherit;
@@ -452,15 +462,22 @@
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
 
.icon-folder:before { content: '\e800'; } /* '' */
.icon-folder-open:before { content: '\e801'; } /* '' */
.icon-th-large:before { content: '\e802'; } /* '' */
.icon-th-list:before { content: '\e803'; } /* '' */
.icon-cancel:before { content: '\e800'; } /* '' */
.icon-th-large:before { content: '\e801'; } /* '' */
.icon-th-list:before { content: '\e802'; } /* '' */
.icon-folder:before { content: '\e803'; } /* '' */
.icon-folder-open:before { content: '\e804'; } /* '' */
.icon-doc:before { content: '\e805'; } /* '' */
.icon-trash-empty:before { content: '\e806'; } /* '' */
.icon-pencil:before { content: '\e807'; } /* '' */
.icon-docs:before { content: '\f0c5'; } /* '' */
.icon-menu:before { content: '\f0c9'; } /* '' */
.icon-doc-text:before { content: '\f0f6'; } /* '' */
.icon-folder-empty:before { content: '\f114'; } /* '' */
.icon-folder-open-empty:before { content: '\f115'; } /* '' */
.icon-doc-inv:before { content: '\f15b'; } /* '' */
.icon-doc-text-inv:before { content: '\f15c'; } /* '' */
.icon-trash:before { content: '\f1f8'; } /* '' */
/* von Skeleton */