From f320427aedc5b1bd73da7e08c0e84cef9d7ec66f Mon Sep 17 00:00:00 2001
From: ulrich
Date: Sun, 17 Jan 2021 15:49:42 +0000
Subject: [PATCH] Funktion der Schaltflaechen in Kopfleise fertig, Pikto erweitert

---
 web/ui/data.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/web/ui/data.js b/web/ui/data.js
index 17bd873..29fb602 100644
--- a/web/ui/data.js
+++ b/web/ui/data.js
@@ -79,6 +79,10 @@
     return miniatur;
   };
   
+  this.dia = function() {
+    return fm_slideshow;
+  };
+  
   this.miniurl = function() {
       var userid = $('#userMenu').text();
       if(self.fext === '') {
@@ -122,6 +126,14 @@
     }
     
   };
+  
+  this.fileDate = function() {
+    return moment(self.fr.lastModified).format("YYYY-MM-DD-hh-mm-ss-SSS");
+  };
+  
+  this.fileSize = function() {
+    return numeral(self.fr.length).format("0.00 b");
+  };
 }
 
 function BcrFiles(fl) {

--
Gitblit v1.9.3