summaryrefslogtreecommitdiffstats
path: root/dist/pages
diff options
context:
space:
mode:
Diffstat (limited to 'dist/pages')
-rwxr-xr-xdist/pages/about.html4
-rwxr-xr-xdist/pages/changelog.html305
-rwxr-xr-xdist/pages/gradings.html163
-rwxr-xr-xdist/pages/meals.html262
4 files changed, 394 insertions, 340 deletions
diff --git a/dist/pages/about.html b/dist/pages/about.html
index 2858f1d..b501109 100755
--- a/dist/pages/about.html
+++ b/dist/pages/about.html
@@ -76,7 +76,7 @@
<!-- One day in the future we may have sw cache version covered by this as well -->
<h5 class="subheader">
<x-su>version</x-su>
- 1.0.14.5-beta
+ 1.0.15.0-beta
</h5>
</div>
</div>
@@ -160,7 +160,7 @@
<div class="row">
<p>
<small>
- ^HEAD 47006bdae8d53e0bb33110f149730962e5591f4d
+ ^HEAD a0a53bec5f61439dece140798235114a0164e26d
</small>
</p>
</div>
diff --git a/dist/pages/changelog.html b/dist/pages/changelog.html
index 2fbf933..9f8cbab 100755
--- a/dist/pages/changelog.html
+++ b/dist/pages/changelog.html
@@ -2,150 +2,161 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <meta name="google" content="notranslate">
- <title>Changelog &laquo; BežiApp</title>
-
- <!-- Materialize -->
- <link type="text/css" href="/css/materialize.min.css" rel="stylesheet">
- <link href="/css/materialicons.css" rel="stylesheet">
- <link href="/css/fontawesome.min.css" rel="stylesheet">
- <script type="text/javascript" src="/js/lib/materialize.min.js"></script>
-
- <script src="/js/lib/jquery.min.js"></script>
- <script type="text/javascript" src="/js/lib/localforage.min.js"></script>
-
- <link type="text/css" href="/css/styles.css" rel="stylesheet">
- <script type="text/javascript" src="/js/changelog.js"></script>
-
- <link rel="manifest" href="/manifest.json">
- <script src="/js/app.js"></script>
- <script src="/js/lib/themes.js"></script>
- <script src="/js/lang/bundle.js"></script>
- <link rel="shortcut icon" type="image/png" href="/favicon.png" />
-
- <!-- iOS support -->
- <link rel="apple-touch-icon" href="/img/icons/icon_96.png">
- <link rel="apple-touch-icon" href="/img/icons/icon_512.png">
- <meta name="apple-mobile-web-app-status-bar" content="#004d32">
-</head>
-
-<body>
- <nav class="z-depth-0" id="navigation-main">
- <div class="nav-wrapper container">
- <b class="app-header-bold">Beži</b><span class="app-header-span">App</span> &raquo; <x-su>changelog</x-su>
- <span class="right white-text" id="nav-back-button">
- <i class="material-icons">arrow_back</i>
- </span>
- </div>
- <div id="loading-bar" class="progress hidden">
- <div class="indeterminate"></div>
- </div>
- </nav>
-
- <div class="container">
- <div class="row">
- <h3 class="general-text"><x-su>changelog</x-su></h3>
- <ul class="collapsible">
- <li>
- <div class="collapsible-header">Version 1.0.14-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Added themes (dark, light, night, defaulting to light)</li>
- <li class="collection-item">"Additional options" (before anyone gets triggered, their order <i>is</i> random)</li>
- <li class="collection-item">New messaging look</li>
- <li class="collection-item">Messaging has been overhauled, now better then ever. Powered by GimSIS™</li>
- <li class="collection-item">Added videoconferencing (via video.gimb)</li>
- <li class="collection-item">More network requests go directly to GimSISExt (with gsec.js)</li>
- <li class="collection-item">Many bug fixes</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.13-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Various bug fixes</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.12-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Now update does not clear whole database => you stay logged in</li>
- <li class="collection-item">Added multilanguage support</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.11-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Added end-to-end encrypton support to messaging</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.10-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Added meals</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.9-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Added image sending support to messaging</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.8-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Added messaging</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.7-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Enter key now triggers login in the login form</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.6-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Fixed a typo (related to #5)</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.5-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Fixed default view on startup</li>
- <li class="collection-item">Changed promise handling in gradings (#5)</li>
- </ul>
- </div>
-
- <div class="collapsible-header">Version 1.0.4-beta</div>
- <div class="collapsible-body">
- <ul class="collection">
- <li class="collection-item">Introduced the changelog</li>
- <li class="collection-item">Fixed date picker color</li>
- <li class="collection-item">Changed weekly timetable accent color</li>
- <li class="collection-item">Option for including/excluding temporary grades in average
- calculation (credit: Tinkara)</li>
- </ul>
- </div>
- </li>
- </ul>
- </div>
- </div>
-
-</body>
-
-</html>
+ <!DOCTYPE html>
+ <html>
+
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <meta name="google" content="notranslate">
+ <title>Changelog &laquo; BežiApp</title>
+
+ <!-- Materialize -->
+ <link type="text/css" href="/css/materialize.min.css" rel="stylesheet">
+ <link href="/css/materialicons.css" rel="stylesheet">
+ <link href="/css/fontawesome.min.css" rel="stylesheet">
+ <script type="text/javascript" src="/js/lib/materialize.min.js"></script>
+
+ <script src="/js/lib/jquery.min.js"></script>
+ <script type="text/javascript" src="/js/lib/localforage.min.js"></script>
+
+ <link type="text/css" href="/css/styles.css" rel="stylesheet">
+ <script type="text/javascript" src="/js/changelog.js"></script>
+
+ <link rel="manifest" href="/manifest.json">
+ <script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
+ <script src="/js/lang/bundle.js"></script>
+ <link rel="shortcut icon" type="image/png" href="/favicon.png" />
+
+ <!-- iOS support -->
+ <link rel="apple-touch-icon" href="/img/icons/icon_96.png">
+ <link rel="apple-touch-icon" href="/img/icons/icon_512.png">
+ <meta name="apple-mobile-web-app-status-bar" content="#004d32">
+ </head>
+
+ <body>
+ <nav class="z-depth-0" id="navigation-main">
+ <div class="nav-wrapper container">
+ <b class="app-header-bold">Beži</b><span class="app-header-span">App</span> &raquo; <x-su>changelog</x-su>
+ <span class="right white-text" id="nav-back-button">
+ <i class="material-icons">arrow_back</i>
+ </span>
+ </div>
+ <div id="loading-bar" class="progress hidden">
+ <div class="indeterminate"></div>
+ </div>
+ </nav>
+
+ <div class="container">
+ <div class="row">
+ <h3 class="general-text">
+ <x-su>changelog</x-su>
+ </h3>
+ <ul class="collapsible">
+ <li>
+ <div class="collapsible-header">Version 1.0.15-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Changed meals layout</li>
+ </ul>
+ </div>
+
+
+ <div class="collapsible-header">Version 1.0.14-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Added themes (dark, light, night, defaulting to light)</li>
+ <li class="collection-item">"Additional options" (before anyone gets triggered, their order <i>is</i> random)</li>
+ <li class="collection-item">New messaging look</li>
+ <li class="collection-item">Messaging has been overhauled, now better then ever. Powered by GimSIS™</li>
+ <li class="collection-item">Added videoconferencing (via video.gimb)</li>
+ <li class="collection-item">More network requests go directly to GimSISExt (with gsec.js)</li>
+ <li class="collection-item">Many bug fixes</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.13-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Various bug fixes</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.12-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Now update does not clear whole database => you stay logged in</li>
+ <li class="collection-item">Added multilanguage support</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.11-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Added end-to-end encrypton support to messaging</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.10-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Added meals</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.9-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Added image sending support to messaging</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.8-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Added messaging</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.7-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Enter key now triggers login in the login form</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.6-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Fixed a typo (related to #5)</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.5-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Fixed default view on startup</li>
+ <li class="collection-item">Changed promise handling in gradings (#5)</li>
+ </ul>
+ </div>
+
+ <div class="collapsible-header">Version 1.0.4-beta</div>
+ <div class="collapsible-body">
+ <ul class="collection">
+ <li class="collection-item">Introduced the changelog</li>
+ <li class="collection-item">Fixed date picker color</li>
+ <li class="collection-item">Changed weekly timetable accent color</li>
+ <li class="collection-item">Option for including/excluding temporary grades in average
+ calculation (credit: Tinkara)</li>
+ </ul>
+ </div>
+ </li>
+ </ul>
+ </div>
+ </div>
+
+ </body>
+
+ </html>
diff --git a/dist/pages/gradings.html b/dist/pages/gradings.html
index ce30046..c2c9d7b 100755
--- a/dist/pages/gradings.html
+++ b/dist/pages/gradings.html
@@ -2,61 +2,62 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <meta name="google" content="notranslate">
- <title>Gradings &laquo; BežiApp</title>
-
- <!-- Materialize -->
- <link type="text/css" href="/css/materialize.min.css" rel="stylesheet">
- <link href="/css/materialicons.css" rel="stylesheet">
- <script type="text/javascript" src="/js/lib/materialize.min.js"></script>
-
- <script src="/js/lib/jquery.min.js"></script>
- <script type="text/javascript" src="/js/lib/localforage.min.js"></script>
-
- <!-- FullCalendar -->
- <link href="/css/fullcalendar/core/main.min.css" rel="stylesheet" />
- <link href="/css/fullcalendar/daygrid/main.min.css" rel="stylesheet" />
- <link href="/css/fullcalendar/custom.css" rel="stylesheet" />
- <script src="/js/lib/fullcalendar/core/main.min.js"></script>
- <script src="/js/lib/fullcalendar/daygrid/main.min.js"></script>
-
- <link type="text/css" href="/css/styles.css" rel="stylesheet">
- <script type="text/javascript" src="/js/gsec.js"></script> <!-- gimsisextclient -->
- <script type="text/javascript" src="/js/gradings.js"></script>
-
- <link rel="manifest" href="/manifest.json">
- <script src="/js/app.js"></script>
- <script src="/js/lib/themes.js"></script>
- <script src="/js/lang/bundle.js"></script>
- <link rel="shortcut icon" type="image/png" href="/favicon.png" />
-
- <!-- iOS support -->
- <link rel="apple-touch-icon" href="/img/icons/icon_96.png">
- <link rel="apple-touch-icon" href="/img/icons/icon_512.png">
- <meta name="apple-mobile-web-app-status-bar" content="#004d32">
-</head>
-
-<body>
- <nav class="z-depth-0" id="navigation-main">
- <div class="nav-wrapper container">
- <b class="app-header-bold">Beži</b><span class="app-header-span">App</span> &raquo; <x-su>gradings</x-su>
- <span class="right white-text">
- <i class="material-icons sidenav-trigger" data-target="side-menu">menu</i>
- </span>
- <span class="right white-text" id="refresh-icon">
- <a href="#"><i class="material-icons">refresh</i></a>
- </span>
- </div>
- <div id="loading-bar" class="progress hidden">
- <div class="indeterminate"></div>
- </div>
- </nav>
+ <!DOCTYPE html>
+ <html>
+
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <meta name="google" content="notranslate">
+ <title>Gradings &laquo; BežiApp</title>
+
+ <!-- Materialize -->
+ <link type="text/css" href="/css/materialize.min.css" rel="stylesheet">
+ <link href="/css/materialicons.css" rel="stylesheet">
+ <script type="text/javascript" src="/js/lib/materialize.min.js"></script>
+
+ <script src="/js/lib/jquery.min.js"></script>
+ <script type="text/javascript" src="/js/lib/localforage.min.js"></script>
+
+ <!-- FullCalendar -->
+ <link href="/css/fullcalendar/core/main.min.css" rel="stylesheet" />
+ <link href="/css/fullcalendar/daygrid/main.min.css" rel="stylesheet" />
+ <link href="/css/fullcalendar/custom.css" rel="stylesheet" />
+ <script src="/js/lib/fullcalendar/core/main.min.js"></script>
+ <script src="/js/lib/fullcalendar/daygrid/main.min.js"></script>
+
+ <link type="text/css" href="/css/styles.css" rel="stylesheet">
+ <script type="text/javascript" src="/js/gsec.js"></script> <!-- gimsisextclient -->
+ <script type="text/javascript" src="/js/gradings.js"></script>
+
+ <link rel="manifest" href="/manifest.json">
+ <script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
+ <script src="/js/lang/bundle.js"></script>
+ <link rel="shortcut icon" type="image/png" href="/favicon.png" />
+
+ <!-- iOS support -->
+ <link rel="apple-touch-icon" href="/img/icons/icon_96.png">
+ <link rel="apple-touch-icon" href="/img/icons/icon_512.png">
+ <meta name="apple-mobile-web-app-status-bar" content="#004d32">
+ </head>
+
+ <body>
+ <nav class="z-depth-0" id="navigation-main">
+ <div class="nav-wrapper container">
+ <b class="app-header-bold">Beži</b><span class="app-header-span">App</span> &raquo; <x-su>gradings</x-su>
+ <span class="right white-text">
+ <i class="material-icons sidenav-trigger" data-target="side-menu">menu</i>
+ </span>
+ <span class="right white-text" id="refresh-icon">
+ <a href="#"><i class="material-icons">refresh</i></a>
+ </span>
+ </div>
+ <div id="loading-bar" class="progress hidden">
+ <div class="indeterminate"></div>
+ </div>
+ </nav>
<ul id="side-menu" class="sidenav side-menu">
<li><a class="subheader"><h4 class="sidenav-beziapp-subheader"><b>Beži</b>App</h4></a></li>
<li><a href="/pages/timetable.html" class="waves-effect"><i class="material-icons">view_module</i><x-su>timetable</x-su></a></li>
@@ -75,34 +76,34 @@
<li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li>
</ul>
- <ul id="grading-info" class="sidenav side-modal">
- <br>
- <li><a class="header">
- <h5 id="grading-subject"></h5>
- </a></li>
- <li>
- <a class="subheader">
- <h6 id="grading-date"></h6>
- </a>
- </li>
- <div class="divider"></div>
- </li>
- <li><a class="waves-effect" id="grading-description"></a></li>
- </ul>
-
-
- <div class="container">
- <br>
- <div id="calendar"></div>
- </div>
-
- <!-- FAB -->
- <!-- <div class="fixed-action-btn" id="fab-new">
+ <ul id="grading-info" class="sidenav side-modal">
+ <br>
+ <li><a class="header">
+ <h5 id="grading-subject"></h5>
+ </a></li>
+ <li>
+ <a class="subheader">
+ <h6 id="grading-date"></h6>
+ </a>
+ </li>
+ <div class="divider"></div>
+ </li>
+ <li><a class="waves-effect" id="grading-description"></a></li>
+ </ul>
+
+
+ <div class="container">
+ <br>
+ <div id="calendar"></div>
+ </div>
+
+ <!-- FAB -->
+ <!-- <div class="fixed-action-btn" id="fab-new">
<a class="btn-floating btn-large fab-new-message modal-trigger" href="#beziapp-add-grading">
<i class="large material-icons">add</i>
</a>
</div> -->
- <!-- Modal Structure -->
+ <!-- Modal Structure -->
<div id="beziapp-add-grading" class="modal modal-fixed-footer">
<div class="modal-content">
@@ -139,6 +140,6 @@
-</body>
+ </body>
-</html>
+ </html
diff --git a/dist/pages/meals.html b/dist/pages/meals.html
index 590e761..56e0af3 100755
--- a/dist/pages/meals.html
+++ b/dist/pages/meals.html
@@ -2,54 +2,67 @@
-<!DOCTYPE html>
-<html>
-<head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <meta name="google" content="notranslate">
- <title>Meals &laquo; BežiApp</title>
+ <!DOCTYPE html>
+ <html>
- <!-- Materialize -->
- <link type="text/css" href="/css/materialize.min.css" rel="stylesheet">
- <link href="/css/materialicons.css" rel="stylesheet">
- <script type="text/javascript" src="/js/lib/materialize.min.js"></script>
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
+ <meta name="google" content="notranslate">
+ <title>Meals &laquo; BežiApp</title>
- <script src="/js/lib/jquery.min.js"></script>
- <script type="text/javascript" src="/js/lib/localforage.min.js"></script>
- <script type="text/javascript" src="/js/lib/mergedeep.js"></script>
+ <!-- Materialize -->
+ <link type="text/css" href="/css/materialize.min.css" rel="stylesheet">
+ <link href="/css/materialicons.css" rel="stylesheet">
+ <script type="text/javascript" src="/js/lib/materialize.min.js"></script>
+ <!-- jQuery -->
+ <script src="/js/lib/jquery.min.js"></script>
+ <!-- localForage -->
+ <script type="text/javascript" src="/js/lib/localforage.min.js"></script>
+ <!-- mergedeep.js -->
+ <script type="text/javascript" src="/js/lib/mergedeep.js"></script>
+ <!-- stylesheet for custom styles -->
+ <link type="text/css" href="/css/styles.css" rel="stylesheet">
+ <!-- page-specific javascript code -->
+ <script type="text/javascript" src="/js/meals.js"></script>
+ <!-- PWA manifest -->
+ <link rel="manifest" href="/manifest.json">
+ <!-- app global code -->
+ <script src="/js/app.js"></script>
+ <!-- code for custom theme switcher -->
+ <script src="/js/lib/themes.js"></script>
+ <!-- i18n bundle -->
+ <script src="/js/lang/bundle.js"></script>
+ <!-- favicon -->
+ <link rel="shortcut icon" type="image/png" href="/favicon.png" />
+ <!-- iOS support -->
+ <link rel="apple-touch-icon" href="/img/icons/icon_96.png">
+ <link rel="apple-touch-icon" href="/img/icons/icon_512.png">
+ <meta name="apple-mobile-web-app-status-bar" content="#004d32">
+ <!-- fullCalendar -->
+ <link href="/css/fullcalendar/core/main.min.css" rel="stylesheet" />
+ <link href="/css/fullcalendar/daygrid/main.min.css" rel="stylesheet" />
+ <link href="/css/fullcalendar/custom.css" rel="stylesheet" />
+ <script src="/js/lib/fullcalendar/core/main.min.js"></script>
+ <script src="/js/lib/fullcalendar/daygrid/main.min.js"></script>
+ </head>
- <link type="text/css" href="/css/styles.css" rel="stylesheet">
- <script type="text/javascript" src="/js/meals.js"></script>
-
- <link rel="manifest" href="/manifest.json">
- <script src="/js/app.js"></script>
- <script src="/js/lib/themes.js"></script>
- <script src="/js/lang/bundle.js"></script>
- <link rel="shortcut icon" type="image/png" href="/favicon.png" />
-
- <!-- iOS support -->
- <link rel="apple-touch-icon" href="/img/icons/icon_96.png">
- <link rel="apple-touch-icon" href="/img/icons/icon_512.png">
- <meta name="apple-mobile-web-app-status-bar" content="#004d32">
-</head>
-
-<body>
- <nav class="z-depth-0" id="navigation-main">
- <div class="nav-wrapper container">
- <b class="app-header-bold">Beži</b><span class="app-header-span">App</span> &raquo; <x-su>meals</x-su>
- <span class="right white-text">
- <i class="material-icons sidenav-trigger" data-target="side-menu">menu</i>
- </span>
- <span class="right white-text" id="refresh-icon">
- <a href="#"><i class="material-icons">refresh</i></a>
- </span>
- </div>
- <div id="loading-bar" class="progress hidden">
- <div class="indeterminate"></div>
- </div>
- </nav>
+ <body>
+ <nav class="z-depth-0" id="navigation-main">
+ <div class="nav-wrapper container">
+ <b class="app-header-bold">Beži</b><span class="app-header-span">App</span> &raquo; <x-su>meals</x-su>
+ <span class="right white-text">
+ <i class="material-icons sidenav-trigger" data-target="side-menu">menu</i>
+ </span>
+ <span class="right white-text" id="refresh-icon">
+ <a href="#"><i class="material-icons">refresh</i></a>
+ </span>
+ </div>
+ <div id="loading-bar" class="progress hidden">
+ <div class="indeterminate"></div>
+ </div>
+ </nav>
<ul id="side-menu" class="sidenav side-menu">
<li><a class="subheader"><h4 class="sidenav-beziapp-subheader"><b>Beži</b>App</h4></a></li>
<li><a href="/pages/timetable.html" class="waves-effect"><i class="material-icons">view_module</i><x-su>timetable</x-su></a></li>
@@ -68,69 +81,98 @@
<li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li>
</ul>
- <br>
- <div class="container login" hidden="hidden" id="meals-login-container">
- <h4 class="general-text"><x-su>loginToLopolis</x-su></h4>
- <p class="general-text">
- <x-du>loginToLopolisNote</x-du>
- </p>
- <div class="row">
- <div class="col s12">
- <div class="row">
- <div class="input-field col s12">
- <input id="meals-username" type="text" value="" required="required" name="meals_password" class="validate">
- <label for="meals-username">Lopolis <x-su>username</x-su></label>
- </div>
- </div>
- <div class="row">
- <div class="input-field col s12">
- <input autocomplete="new-password" id="meals-password" type="password" value="" required="required" name="meals_password" class="validate">
- <label for="meals-password">Lopolis <x-su>password</x-su></label>
- </div>
- </div>
- <div class="row">
- <div class="input-field col s12">
- <button id="meals-login" type="button" class="waves-effect waves-light btn">
- <x-su>loginToLopolis</x-su>
- <i class="material-icons right">arrow_right_alt</i>
- </button>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="meals-container container" hidden="hidden" id="meals-container">
- <h4>Meals
- <button id="meals-logout" type="button" class="waves-effect waves-light btn" style="float: right">
- <x-su>logOutFromLopolis</x-su>
- <i class="material-icons right">exit_to_app</i>
- </button>
- </h4>
- <ul id="meals-collapsible" class="collapsible"></ul>
- <p>
- <small>
- <b>
- <x-su>usage</x-su>:
- </b>
- <x-du>mealsUsageNote</x-du>
- <br>
- <b>
- <x-su>note</x-su>:
- </b>
- <x-du>lunchesNote</x-du>
- <br>
- <b>
- <x-su>note</x-su>:
- </b>
- <x-du>mealNotShownNote</x-du>
- <br>
- <b>
- Note:
- </b>
- <x-du>mealsContributeNote</x-du>
- </small>
- </p>
- </div>
-</body>
+ <ul id=meal-info class="sidenav side-modal">
+ <br>
+ <li>
+ <a class=header>
+ <h5 id=meal-type>
+ </h5>
+ </a>
+ </li>
+ <li>
+ <a class=subheader>
+ <h6 id=meal-date>
+ </h6>
+ </a>
+ </li>
+ <li>
+ <li>
+ <a class="subheader" style="color:red" id="meal-readonly">
+ <x-du>readOnly</x-du>
+ </a>
+ </li>
+ <div class=divider></div>
+ <li id=meal-options>
+
+ </li>
+ </ul>
+ <br>
+ <div class="container login" hidden="hidden" id="meals-login-container">
+ <h4 class="general-text">
+ <x-su>loginToLopolis</x-su>
+ </h4>
+ <p class="general-text">
+ <x-du>loginToLopolisNote</x-du>
+ </p>
+ <div class="row">
+ <div class="col s12">
+ <div class="row">
+ <div class="input-field col s12">
+ <input id="meals-username" type="text" value="" required="required" name="meals_password" class="validate">
+ <label for="meals-username">Lopolis <x-su>username</x-su></label>
+ </div>
+ </div>
+ <div class="row">
+ <div class="input-field col s12">
+ <input autocomplete="new-password" id="meals-password" type="password" value="" required="required" name="meals_password" class="validate">
+ <label for="meals-password">Lopolis <x-su>password</x-su></label>
+ </div>
+ </div>
+ <div class="row">
+ <div class="input-field col s12">
+ <button id="meals-login" type="button" class="waves-effect waves-light btn">
+ <x-su>loginToLopolis</x-su>
+ <i class="material-icons right">arrow_right_alt</i>
+ </button>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <div class="meals-container container" hidden="hidden" id="meals-container">
+ <h4><x-su>meals</x-su>
+ <button id="meals-logout" type="button" class="waves-effect waves-light btn" style="float: right">
+ <x-su>logOutFromLopolis</x-su>
+ <i class="material-icons right">exit_to_app</i>
+ </button>
+ </h4>
+ <div id=meals-calendar></div>
+ <!-- <ul id="meals-collapsible" class="collapsible"></ul> -->
+ <!-- deprecated meals UI -->
+ <p>
+ <small>
+ <b>
+ <x-su>usage</x-su>:
+ </b>
+ <x-du>mealsUsageNote</x-du>
+ <br>
+ <b>
+ <x-su>note</x-su>:
+ </b>
+ <x-du>lunchesNote</x-du>
+ <br>
+ <b>
+ <x-su>note</x-su>:
+ </b>
+ <x-du>mealNotShownNote</x-du>
+ <br>
+ <b>
+ Note:
+ </b>
+ <x-du>mealsContributeNote</x-du>
+ </small>
+ </p>
+ </div>
+ </body>
-</html>
+ </html>