From 9887173427b46fc860438440c7f0139e1f68419f Mon Sep 17 00:00:00 2001 From: sijanec Date: Wed, 23 Sep 2020 20:01:42 +0200 Subject: final fixes and minification --- assets/js/meals.js | 5 +- assets/pages-src/changelog.bvr | 305 +++++++++++++++++++++-------------------- assets/pages-src/meals.bvr | 2 +- dist/cache_name.txt | 2 +- dist/js/app.js | 2 +- dist/js/meals.js | 4 +- dist/pages/about.html | 2 +- dist/pages/changelog.html | 305 +++++++++++++++++++++-------------------- dist/pages/meals.html | 2 +- dist/sw.js | 4 +- 10 files changed, 328 insertions(+), 305 deletions(-) diff --git a/assets/js/meals.js b/assets/js/meals.js index 49d787d..15accdb 100644 --- a/assets/js/meals.js +++ b/assets/js/meals.js @@ -327,15 +327,16 @@ var mealClickHandler = (eventClickInfo) => { let menu_option_a_el = document.createElement("button"); menu_option_a_el.innerText = option_object.text; // console.log(JSON.stringify(meal_object)); // debug + let classlist = ""; if (option_object.selected != null) { if(option_object.selected) { // console.log("selected"); // debug // - menu_option_a_el.className = "selected-meal"; + classlist = "color: green; font-weight: bold"; } } menu_option_a_el.classList = "waves-effect waves-light btn-large"; - menu_option_a_el.style = "color: var(--color-text); background-color: rgba(0,0,0,0); line-height: 1.2; height:auto !important;"; + menu_option_a_el.style = "color: var(--color-text); background-color: rgba(0,0,0,0); line-height: 1.2; height:auto; "+classlist+" !important"; menu_option_a_el.id = "menu_index_"+option_index; if(!(meal_object.readonly)) { menu_option_a_el.onclick = () => { diff --git a/assets/pages-src/changelog.bvr b/assets/pages-src/changelog.bvr index 870b446..56b883c 100644 --- a/assets/pages-src/changelog.bvr +++ b/assets/pages-src/changelog.bvr @@ -1,148 +1,159 @@ <@?i global@> - - - - - - - - Changelog « BežiApp - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-

changelog

-
    -
  • -
    Version 1.0.14-beta
    -
    -
      -
    • Added themes (dark, light, night, defaulting to light)
    • -
    • "Additional options" (before anyone gets triggered, their order is random)
    • -
    • New messaging look
    • -
    • Messaging has been overhauled, now better then ever. Powered by GimSIS™
    • -
    • Added videoconferencing (via video.gimb)
    • -
    • More network requests go directly to GimSISExt (with gsec.js)
    • -
    • Many bug fixes
    • -
    -
    - -
    Version 1.0.13-beta
    -
    -
      -
    • Various bug fixes
    • -
    -
    - -
    Version 1.0.12-beta
    -
    -
      -
    • Now update does not clear whole database => you stay logged in
    • -
    • Added multilanguage support
    • -
    -
    - -
    Version 1.0.11-beta
    -
    -
      -
    • Added end-to-end encrypton support to messaging
    • -
    -
    - -
    Version 1.0.10-beta
    -
    -
      -
    • Added meals
    • -
    -
    - -
    Version 1.0.9-beta
    -
    -
      -
    • Added image sending support to messaging
    • -
    -
    - -
    Version 1.0.8-beta
    -
    -
      -
    • Added messaging
    • -
    -
    - -
    Version 1.0.7-beta
    -
    -
      -
    • Enter key now triggers login in the login form
    • -
    -
    - -
    Version 1.0.6-beta
    -
    -
      -
    • Fixed a typo (related to #5)
    • -
    -
    - -
    Version 1.0.5-beta
    -
    -
      -
    • Fixed default view on startup
    • -
    • Changed promise handling in gradings (#5)
    • -
    -
    - -
    Version 1.0.4-beta
    -
    -
      -
    • Introduced the changelog
    • -
    • Fixed date picker color
    • -
    • Changed weekly timetable accent color
    • -
    • Option for including/excluding temporary grades in average - calculation (credit: Tinkara)
    • -
    -
    -
  • -
-
-
- - - - + + + + + + + + + Changelog « BežiApp + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+

+ changelog +

+
    +
  • +
    Version 1.0.15-beta
    +
    +
      +
    • Changed meals layout
    • +
    +
    + + +
    Version 1.0.14-beta
    +
    +
      +
    • Added themes (dark, light, night, defaulting to light)
    • +
    • "Additional options" (before anyone gets triggered, their order is random)
    • +
    • New messaging look
    • +
    • Messaging has been overhauled, now better then ever. Powered by GimSIS™
    • +
    • Added videoconferencing (via video.gimb)
    • +
    • More network requests go directly to GimSISExt (with gsec.js)
    • +
    • Many bug fixes
    • +
    +
    + +
    Version 1.0.13-beta
    +
    +
      +
    • Various bug fixes
    • +
    +
    + +
    Version 1.0.12-beta
    +
    +
      +
    • Now update does not clear whole database => you stay logged in
    • +
    • Added multilanguage support
    • +
    +
    + +
    Version 1.0.11-beta
    +
    +
      +
    • Added end-to-end encrypton support to messaging
    • +
    +
    + +
    Version 1.0.10-beta
    +
    +
      +
    • Added meals
    • +
    +
    + +
    Version 1.0.9-beta
    +
    +
      +
    • Added image sending support to messaging
    • +
    +
    + +
    Version 1.0.8-beta
    +
    +
      +
    • Added messaging
    • +
    +
    + +
    Version 1.0.7-beta
    +
    +
      +
    • Enter key now triggers login in the login form
    • +
    +
    + +
    Version 1.0.6-beta
    +
    +
      +
    • Fixed a typo (related to #5)
    • +
    +
    + +
    Version 1.0.5-beta
    +
    +
      +
    • Fixed default view on startup
    • +
    • Changed promise handling in gradings (#5)
    • +
    +
    + +
    Version 1.0.4-beta
    +
    +
      +
    • Introduced the changelog
    • +
    • Fixed date picker color
    • +
    • Changed weekly timetable accent color
    • +
    • Option for including/excluding temporary grades in average + calculation (credit: Tinkara)
    • +
    +
    +
  • +
+
+
+ + + + diff --git a/assets/pages-src/meals.bvr b/assets/pages-src/meals.bvr index cdfd7d1..c0d655b 100644 --- a/assets/pages-src/meals.bvr +++ b/assets/pages-src/meals.bvr @@ -120,7 +120,7 @@