From a814ef4e939fe42c49955d920201eb34ba8ca3d0 Mon Sep 17 00:00:00 2001 From: sijanec Date: Tue, 25 Aug 2020 23:24:12 +0200 Subject: added developer's note to the login screen --- Makefile | 6 ++++-- assets/js/login.js | 21 +++++++++++++++++++-- assets/root/login.html | 3 +++ assets/root/server-message-at-login.html | 11 +++++++++++ bin/bvr-compose-html | Bin 31984 -> 31664 bytes bin/bvr-compose-single | Bin 31840 -> 27416 bytes bin/bvr-jsbundle | Bin 17576 -> 13296 bytes bin/bvr-jsmin | Bin 17904 -> 13664 bytes dist/.well-known/assetlinks.json | 0 dist/_config.yml | 0 dist/assetlinks.json | 0 dist/cache_name.txt | 2 +- dist/css/bubbles.css | 0 dist/css/fontawesome.min.css | 0 dist/css/fullcalendar/core/main.min.css | 0 dist/css/fullcalendar/custom.css | 0 dist/css/fullcalendar/daygrid/main.min.css | 0 dist/css/fullcalendar/timegrid/main.min.css | 0 dist/css/materialicons.css | 0 dist/css/materialize.min.css | 0 dist/css/styles.css | 0 dist/directory.json | 0 dist/favicon.png | Bin dist/fonts/fa-brands-400.eot | Bin dist/fonts/fa-brands-400.woff2 | Bin dist/fonts/fa-regular-400.eot | Bin dist/fonts/fa-regular-400.woff2 | Bin dist/fonts/fa-solid-900.eot | Bin dist/fonts/fa-solid-900.woff2 | Bin dist/fonts/materialicons.woff2 | Bin dist/img/avatars/asijanec.png | Bin dist/img/avatars/rstular.png | Bin dist/img/flags/en.svg | 0 dist/img/flags/sl.svg | 0 dist/img/icons/icon_144.png | Bin dist/img/icons/icon_192.png | Bin dist/img/icons/icon_384.png | Bin dist/img/icons/icon_48.png | Bin dist/img/icons/icon_512.png | Bin dist/img/icons/icon_72.png | Bin dist/img/icons/icon_96.png | Bin dist/index.html | 0 dist/js/about.js | 0 dist/js/absences.js | 0 dist/js/app.js | 2 +- dist/js/changelog.js | 0 dist/js/chats.js | 0 dist/js/grades.js | 0 dist/js/gradings.js | 0 dist/js/gsec.js | 0 dist/js/initialize.js | 0 dist/js/jitsi.js | 0 dist/js/lang/bundle.js | 0 dist/js/lib/fullcalendar/core/main.min.js | 0 dist/js/lib/fullcalendar/daygrid/main.min.js | 0 dist/js/lib/fullcalendar/timegrid/main.min.js | 0 dist/js/lib/he.js | 0 dist/js/lib/jquery.min.js | 0 dist/js/lib/localforage.min.js | 0 dist/js/lib/materialize.min.js | 0 dist/js/lib/mergedeep.js | 0 dist/js/lib/sjcl.js | 0 dist/js/lib/themes.js | 0 dist/js/lib/xss.js | 0 dist/js/login.js | 2 +- dist/js/logout.js | 0 dist/js/meals.js | 0 dist/js/messaging.js | 0 dist/js/privacypolicy.js | 0 dist/js/settings.js | 0 dist/js/setup-storage.js | 0 dist/js/teachers.js | 0 dist/js/timetable.js | 0 dist/js/tos.js | 0 dist/login.html | 3 +++ dist/logout.html | 0 dist/manifest.json | 0 dist/pages/about.html | 2 +- dist/pages/absences.html | 0 dist/pages/changelog.html | 0 dist/pages/chats.html | 0 dist/pages/grades.html | 0 dist/pages/gradings.html | 0 dist/pages/jitsi.html | 0 dist/pages/meals.html | 0 dist/pages/messaging.html | 0 dist/pages/privacypolicy.html | 0 dist/pages/settings.html | 0 dist/pages/teachers.html | 0 dist/pages/timetable.html | 0 dist/pages/tos.html | 0 dist/server-message-at-login.html | 11 +++++++++++ dist/sw.js | 4 ++-- 93 files changed, 57 insertions(+), 10 deletions(-) create mode 100644 assets/root/server-message-at-login.html mode change 100644 => 100755 dist/.well-known/assetlinks.json mode change 100644 => 100755 dist/_config.yml mode change 100644 => 100755 dist/assetlinks.json mode change 100644 => 100755 dist/cache_name.txt mode change 100644 => 100755 dist/css/bubbles.css mode change 100644 => 100755 dist/css/fontawesome.min.css mode change 100644 => 100755 dist/css/fullcalendar/core/main.min.css mode change 100644 => 100755 dist/css/fullcalendar/custom.css mode change 100644 => 100755 dist/css/fullcalendar/daygrid/main.min.css mode change 100644 => 100755 dist/css/fullcalendar/timegrid/main.min.css mode change 100644 => 100755 dist/css/materialicons.css mode change 100644 => 100755 dist/css/materialize.min.css mode change 100644 => 100755 dist/css/styles.css mode change 100644 => 100755 dist/directory.json mode change 100644 => 100755 dist/favicon.png mode change 100644 => 100755 dist/fonts/fa-brands-400.eot mode change 100644 => 100755 dist/fonts/fa-brands-400.woff2 mode change 100644 => 100755 dist/fonts/fa-regular-400.eot mode change 100644 => 100755 dist/fonts/fa-regular-400.woff2 mode change 100644 => 100755 dist/fonts/fa-solid-900.eot mode change 100644 => 100755 dist/fonts/fa-solid-900.woff2 mode change 100644 => 100755 dist/fonts/materialicons.woff2 mode change 100644 => 100755 dist/img/avatars/asijanec.png mode change 100644 => 100755 dist/img/avatars/rstular.png mode change 100644 => 100755 dist/img/flags/en.svg mode change 100644 => 100755 dist/img/flags/sl.svg mode change 100644 => 100755 dist/img/icons/icon_144.png mode change 100644 => 100755 dist/img/icons/icon_192.png mode change 100644 => 100755 dist/img/icons/icon_384.png mode change 100644 => 100755 dist/img/icons/icon_48.png mode change 100644 => 100755 dist/img/icons/icon_512.png mode change 100644 => 100755 dist/img/icons/icon_72.png mode change 100644 => 100755 dist/img/icons/icon_96.png mode change 100644 => 100755 dist/index.html mode change 100644 => 100755 dist/js/about.js mode change 100644 => 100755 dist/js/absences.js mode change 100644 => 100755 dist/js/app.js mode change 100644 => 100755 dist/js/changelog.js mode change 100644 => 100755 dist/js/chats.js mode change 100644 => 100755 dist/js/grades.js mode change 100644 => 100755 dist/js/gradings.js mode change 100644 => 100755 dist/js/gsec.js mode change 100644 => 100755 dist/js/initialize.js mode change 100644 => 100755 dist/js/jitsi.js mode change 100644 => 100755 dist/js/lang/bundle.js mode change 100644 => 100755 dist/js/lib/fullcalendar/core/main.min.js mode change 100644 => 100755 dist/js/lib/fullcalendar/daygrid/main.min.js mode change 100644 => 100755 dist/js/lib/fullcalendar/timegrid/main.min.js mode change 100644 => 100755 dist/js/lib/he.js mode change 100644 => 100755 dist/js/lib/jquery.min.js mode change 100644 => 100755 dist/js/lib/localforage.min.js mode change 100644 => 100755 dist/js/lib/materialize.min.js mode change 100644 => 100755 dist/js/lib/mergedeep.js mode change 100644 => 100755 dist/js/lib/sjcl.js mode change 100644 => 100755 dist/js/lib/themes.js mode change 100644 => 100755 dist/js/lib/xss.js mode change 100644 => 100755 dist/js/login.js mode change 100644 => 100755 dist/js/logout.js mode change 100644 => 100755 dist/js/meals.js mode change 100644 => 100755 dist/js/messaging.js mode change 100644 => 100755 dist/js/privacypolicy.js mode change 100644 => 100755 dist/js/settings.js mode change 100644 => 100755 dist/js/setup-storage.js mode change 100644 => 100755 dist/js/teachers.js mode change 100644 => 100755 dist/js/timetable.js mode change 100644 => 100755 dist/js/tos.js mode change 100644 => 100755 dist/login.html mode change 100644 => 100755 dist/logout.html mode change 100644 => 100755 dist/manifest.json mode change 100644 => 100755 dist/pages/about.html mode change 100644 => 100755 dist/pages/absences.html mode change 100644 => 100755 dist/pages/changelog.html mode change 100644 => 100755 dist/pages/chats.html mode change 100644 => 100755 dist/pages/grades.html mode change 100644 => 100755 dist/pages/gradings.html mode change 100644 => 100755 dist/pages/jitsi.html mode change 100644 => 100755 dist/pages/meals.html mode change 100644 => 100755 dist/pages/messaging.html mode change 100644 => 100755 dist/pages/privacypolicy.html mode change 100644 => 100755 dist/pages/settings.html mode change 100644 => 100755 dist/pages/teachers.html mode change 100644 => 100755 dist/pages/timetable.html mode change 100644 => 100755 dist/pages/tos.html create mode 100755 dist/server-message-at-login.html mode change 100644 => 100755 dist/sw.js diff --git a/Makefile b/Makefile index 911ebc9..611336b 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ default: @echo "*** BežiApp Makefile ***" @echo "targets:" - @echo " make prepare installs dependencies, cleans after itself, requires sudo permissions and debian/ubuntu for apt" + @echo " make prepare installs dependencies, uses \`sudo apt\`." @echo " make generate installs BežiApp to dist/" + @echo "notes and hacks:" + @echo " \`cp /bin/cp bin/bvr-jsmin\` if you don't want jsmin (before generate)" @echo "no target specified, exiting ..." prepare: @@ -29,4 +31,4 @@ generate: -find assets/js/ -name "*.bvr" -printf "%f\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\$${FILE/.bvr/}"; ./bin/bvr-compose-single \"assets/js/\$$FILE\" \"\$$FILE_DST\"" -find assets/js/ -name "*.js" -printf "%P\n" | xargs -I % bash -c "FILE='%'; FILE_DST="dist/js/\$${FILE/.bvr/}"; ./bin/bvr-jsmin assets/js/\"\$$FILE\" \"\$$FILE_DST\"" cp -r assets/root/.well-known dist/ - + chmod 0775 dist -R diff --git a/assets/js/login.js b/assets/js/login.js index cdecf38..88bf501 100644 --- a/assets/js/login.js +++ b/assets/js/login.js @@ -1,7 +1,24 @@ // const API_ENDPOINT = "https://gimb.tk/test.php"; // deprecated document.addEventListener("DOMContentLoaded", () => { - setupEventListeners(); -}) + setupEventListeners(); + try { + load_server_message_at_login(); + } catch (e) { + console.log("login.js: load_server-message-at-login: silently failed."); + } +}); + +function load_server_message_at_login() { + $.ajax({ + url: "/server-message-at-login.html", + success: (data) => { + $("#server-message-at-login").html(data); + }, + error: () => { + $("#server-message-at-login").html(""); + } + }); +} function setupEventListeners() { // Setup login button listener diff --git a/assets/root/login.html b/assets/root/login.html index 542b157..95bcc2e 100644 --- a/assets/root/login.html +++ b/assets/root/login.html @@ -60,6 +60,9 @@ thePrivacyPolicy

+
+ +
diff --git a/assets/root/server-message-at-login.html b/assets/root/server-message-at-login.html new file mode 100644 index 0000000..ce28176 --- /dev/null +++ b/assets/root/server-message-at-login.html @@ -0,0 +1,11 @@ +
+ Opozorilo razvijalcev / developer's note: +
+

+ Aplikacija do 28. avgusta 2020 do predvidoma 9. ure ne bo dostopna, ker je + gimnazijski sistem nedelujoč. +

+

+ The application will not be accessible until 28th of August 2020 due to + school system malfunction. +

diff --git a/bin/bvr-compose-html b/bin/bvr-compose-html index 2970376..4c7dc70 100755 Binary files a/bin/bvr-compose-html and b/bin/bvr-compose-html differ diff --git a/bin/bvr-compose-single b/bin/bvr-compose-single index d31f97f..5fe2fb6 100755 Binary files a/bin/bvr-compose-single and b/bin/bvr-compose-single differ diff --git a/bin/bvr-jsbundle b/bin/bvr-jsbundle index a617bbf..d1bc0dc 100755 Binary files a/bin/bvr-jsbundle and b/bin/bvr-jsbundle differ diff --git a/bin/bvr-jsmin b/bin/bvr-jsmin index 88924b6..34d72a2 100755 Binary files a/bin/bvr-jsmin and b/bin/bvr-jsmin differ diff --git a/dist/.well-known/assetlinks.json b/dist/.well-known/assetlinks.json old mode 100644 new mode 100755 diff --git a/dist/_config.yml b/dist/_config.yml old mode 100644 new mode 100755 diff --git a/dist/assetlinks.json b/dist/assetlinks.json old mode 100644 new mode 100755 diff --git a/dist/cache_name.txt b/dist/cache_name.txt old mode 100644 new mode 100755 index 7b41b55..09e2bfc --- a/dist/cache_name.txt +++ b/dist/cache_name.txt @@ -2,4 +2,4 @@ -///site-static-1.0.14.3-beta-7b41388||| +///site-static-1.0.14.3-beta-4cb2560||| diff --git a/dist/css/bubbles.css b/dist/css/bubbles.css old mode 100644 new mode 100755 diff --git a/dist/css/fontawesome.min.css b/dist/css/fontawesome.min.css old mode 100644 new mode 100755 diff --git a/dist/css/fullcalendar/core/main.min.css b/dist/css/fullcalendar/core/main.min.css old mode 100644 new mode 100755 diff --git a/dist/css/fullcalendar/custom.css b/dist/css/fullcalendar/custom.css old mode 100644 new mode 100755 diff --git a/dist/css/fullcalendar/daygrid/main.min.css b/dist/css/fullcalendar/daygrid/main.min.css old mode 100644 new mode 100755 diff --git a/dist/css/fullcalendar/timegrid/main.min.css b/dist/css/fullcalendar/timegrid/main.min.css old mode 100644 new mode 100755 diff --git a/dist/css/materialicons.css b/dist/css/materialicons.css old mode 100644 new mode 100755 diff --git a/dist/css/materialize.min.css b/dist/css/materialize.min.css old mode 100644 new mode 100755 diff --git a/dist/css/styles.css b/dist/css/styles.css old mode 100644 new mode 100755 diff --git a/dist/directory.json b/dist/directory.json old mode 100644 new mode 100755 diff --git a/dist/favicon.png b/dist/favicon.png old mode 100644 new mode 100755 diff --git a/dist/fonts/fa-brands-400.eot b/dist/fonts/fa-brands-400.eot old mode 100644 new mode 100755 diff --git a/dist/fonts/fa-brands-400.woff2 b/dist/fonts/fa-brands-400.woff2 old mode 100644 new mode 100755 diff --git a/dist/fonts/fa-regular-400.eot b/dist/fonts/fa-regular-400.eot old mode 100644 new mode 100755 diff --git a/dist/fonts/fa-regular-400.woff2 b/dist/fonts/fa-regular-400.woff2 old mode 100644 new mode 100755 diff --git a/dist/fonts/fa-solid-900.eot b/dist/fonts/fa-solid-900.eot old mode 100644 new mode 100755 diff --git a/dist/fonts/fa-solid-900.woff2 b/dist/fonts/fa-solid-900.woff2 old mode 100644 new mode 100755 diff --git a/dist/fonts/materialicons.woff2 b/dist/fonts/materialicons.woff2 old mode 100644 new mode 100755 diff --git a/dist/img/avatars/asijanec.png b/dist/img/avatars/asijanec.png old mode 100644 new mode 100755 diff --git a/dist/img/avatars/rstular.png b/dist/img/avatars/rstular.png old mode 100644 new mode 100755 diff --git a/dist/img/flags/en.svg b/dist/img/flags/en.svg old mode 100644 new mode 100755 diff --git a/dist/img/flags/sl.svg b/dist/img/flags/sl.svg old mode 100644 new mode 100755 diff --git a/dist/img/icons/icon_144.png b/dist/img/icons/icon_144.png old mode 100644 new mode 100755 diff --git a/dist/img/icons/icon_192.png b/dist/img/icons/icon_192.png old mode 100644 new mode 100755 diff --git a/dist/img/icons/icon_384.png b/dist/img/icons/icon_384.png old mode 100644 new mode 100755 diff --git a/dist/img/icons/icon_48.png b/dist/img/icons/icon_48.png old mode 100644 new mode 100755 diff --git a/dist/img/icons/icon_512.png b/dist/img/icons/icon_512.png old mode 100644 new mode 100755 diff --git a/dist/img/icons/icon_72.png b/dist/img/icons/icon_72.png old mode 100644 new mode 100755 diff --git a/dist/img/icons/icon_96.png b/dist/img/icons/icon_96.png old mode 100644 new mode 100755 diff --git a/dist/index.html b/dist/index.html old mode 100644 new mode 100755 diff --git a/dist/js/about.js b/dist/js/about.js old mode 100644 new mode 100755 diff --git a/dist/js/absences.js b/dist/js/absences.js old mode 100644 new mode 100755 diff --git a/dist/js/app.js b/dist/js/app.js old mode 100644 new mode 100755 index d5eca86..573d7fa --- a/dist/js/app.js +++ b/dist/js/app.js @@ -3,7 +3,7 @@ const app_version = "1.0.14.3-beta"; -const previous_commit = "7b41388f8eb7be4e8250fe9f69194cf70f1a103b"; +const previous_commit = "4cb2560ef806194ab31a7bb7deb0d4606b0d89b2"; const BEZIAPP_UPDATE_INTERVAL = 300; // update vsakih 300 sekund if ("serviceWorker" in navigator) { diff --git a/dist/js/changelog.js b/dist/js/changelog.js old mode 100644 new mode 100755 diff --git a/dist/js/chats.js b/dist/js/chats.js old mode 100644 new mode 100755 diff --git a/dist/js/grades.js b/dist/js/grades.js old mode 100644 new mode 100755 diff --git a/dist/js/gradings.js b/dist/js/gradings.js old mode 100644 new mode 100755 diff --git a/dist/js/gsec.js b/dist/js/gsec.js old mode 100644 new mode 100755 diff --git a/dist/js/initialize.js b/dist/js/initialize.js old mode 100644 new mode 100755 diff --git a/dist/js/jitsi.js b/dist/js/jitsi.js old mode 100644 new mode 100755 diff --git a/dist/js/lang/bundle.js b/dist/js/lang/bundle.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/fullcalendar/core/main.min.js b/dist/js/lib/fullcalendar/core/main.min.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/fullcalendar/daygrid/main.min.js b/dist/js/lib/fullcalendar/daygrid/main.min.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/fullcalendar/timegrid/main.min.js b/dist/js/lib/fullcalendar/timegrid/main.min.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/he.js b/dist/js/lib/he.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/jquery.min.js b/dist/js/lib/jquery.min.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/localforage.min.js b/dist/js/lib/localforage.min.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/materialize.min.js b/dist/js/lib/materialize.min.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/mergedeep.js b/dist/js/lib/mergedeep.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/sjcl.js b/dist/js/lib/sjcl.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/themes.js b/dist/js/lib/themes.js old mode 100644 new mode 100755 diff --git a/dist/js/lib/xss.js b/dist/js/lib/xss.js old mode 100644 new mode 100755 diff --git a/dist/js/login.js b/dist/js/login.js old mode 100644 new mode 100755 index 88cf081..0e8187a --- a/dist/js/login.js +++ b/dist/js/login.js @@ -1,5 +1,5 @@ -document.addEventListener("DOMContentLoaded",()=>{setupEventListeners();}) +document.addEventListener("DOMContentLoaded",()=>{setupEventListeners();try{load_server_message_at_login();}catch(e){console.log("login.js: load_server-message-at-login: silently failed.");}});function load_server_message_at_login(){$.ajax({url:"/server-message-at-login.html",success:(data)=>{$("#server-message-at-login").html(data);},error:()=>{$("#server-message-at-login").html("");}});} function setupEventListeners(){$("#login-button").click(()=>{login();});window.addEventListener("keyup",(event)=>{if(event.keyCode===13){event.preventDefault();login();}});} function login(){let username=$("#username").val();let password=$("#password").val();var gsecInstance;try{gsecInstance=new gsec();}catch(error){$.ajax({url:'js/gsec.js?ajaxload',async:false,dataType:"script",});try{gsecInstance=new gsec();}catch(error){alert(D("browserNotSupported"));}} gsecInstance.login(username,password).then((value)=>{if(typeof value=="string"){let promises_to_run=[localforage.setItem("logged_in",true),localforage.setItem("username",username),localforage.setItem("password",password)];Promise.all(promises_to_run).then(function(){window.location.replace("/pages/timetable.html");});}else{UIAlert("loginFailed");$("#password").val("");}}).catch((err)=>{gsecErrorHandlerUI(err);$("#password").val("");});} \ No newline at end of file diff --git a/dist/js/logout.js b/dist/js/logout.js old mode 100644 new mode 100755 diff --git a/dist/js/meals.js b/dist/js/meals.js old mode 100644 new mode 100755 diff --git a/dist/js/messaging.js b/dist/js/messaging.js old mode 100644 new mode 100755 diff --git a/dist/js/privacypolicy.js b/dist/js/privacypolicy.js old mode 100644 new mode 100755 diff --git a/dist/js/settings.js b/dist/js/settings.js old mode 100644 new mode 100755 diff --git a/dist/js/setup-storage.js b/dist/js/setup-storage.js old mode 100644 new mode 100755 diff --git a/dist/js/teachers.js b/dist/js/teachers.js old mode 100644 new mode 100755 diff --git a/dist/js/timetable.js b/dist/js/timetable.js old mode 100644 new mode 100755 diff --git a/dist/js/tos.js b/dist/js/tos.js old mode 100644 new mode 100755 diff --git a/dist/login.html b/dist/login.html old mode 100644 new mode 100755 index 542b157..95bcc2e --- a/dist/login.html +++ b/dist/login.html @@ -60,6 +60,9 @@ thePrivacyPolicy

+
+ +
diff --git a/dist/logout.html b/dist/logout.html old mode 100644 new mode 100755 diff --git a/dist/manifest.json b/dist/manifest.json old mode 100644 new mode 100755 diff --git a/dist/pages/about.html b/dist/pages/about.html old mode 100644 new mode 100755 index 0d67d38..1d6c4be --- a/dist/pages/about.html +++ b/dist/pages/about.html @@ -160,7 +160,7 @@

- ^HEAD 7b41388f8eb7be4e8250fe9f69194cf70f1a103b + ^HEAD 4cb2560ef806194ab31a7bb7deb0d4606b0d89b2

diff --git a/dist/pages/absences.html b/dist/pages/absences.html old mode 100644 new mode 100755 diff --git a/dist/pages/changelog.html b/dist/pages/changelog.html old mode 100644 new mode 100755 diff --git a/dist/pages/chats.html b/dist/pages/chats.html old mode 100644 new mode 100755 diff --git a/dist/pages/grades.html b/dist/pages/grades.html old mode 100644 new mode 100755 diff --git a/dist/pages/gradings.html b/dist/pages/gradings.html old mode 100644 new mode 100755 diff --git a/dist/pages/jitsi.html b/dist/pages/jitsi.html old mode 100644 new mode 100755 diff --git a/dist/pages/meals.html b/dist/pages/meals.html old mode 100644 new mode 100755 diff --git a/dist/pages/messaging.html b/dist/pages/messaging.html old mode 100644 new mode 100755 diff --git a/dist/pages/privacypolicy.html b/dist/pages/privacypolicy.html old mode 100644 new mode 100755 diff --git a/dist/pages/settings.html b/dist/pages/settings.html old mode 100644 new mode 100755 diff --git a/dist/pages/teachers.html b/dist/pages/teachers.html old mode 100644 new mode 100755 diff --git a/dist/pages/timetable.html b/dist/pages/timetable.html old mode 100644 new mode 100755 diff --git a/dist/pages/tos.html b/dist/pages/tos.html old mode 100644 new mode 100755 diff --git a/dist/server-message-at-login.html b/dist/server-message-at-login.html new file mode 100755 index 0000000..ce28176 --- /dev/null +++ b/dist/server-message-at-login.html @@ -0,0 +1,11 @@ +
+ Opozorilo razvijalcev / developer's note: +
+

+ Aplikacija do 28. avgusta 2020 do predvidoma 9. ure ne bo dostopna, ker je + gimnazijski sistem nedelujoč. +

+

+ The application will not be accessible until 28th of August 2020 due to + school system malfunction. +

diff --git a/dist/sw.js b/dist/sw.js old mode 100644 new mode 100755 index bd4562c..471a7b4 --- a/dist/sw.js +++ b/dist/sw.js @@ -3,8 +3,8 @@ // Change version to cause cache refresh -const static_cache_name = "site-static-1.0.14.3-beta-7b41388"; -// commit before the latest is 7b41388f8eb7be4e8250fe9f69194cf70f1a103b +const static_cache_name = "site-static-1.0.14.3-beta-4cb2560"; +// commit before the latest is 4cb2560ef806194ab31a7bb7deb0d4606b0d89b2 // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3