summaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/about.html1
-rw-r--r--pages/absences.html1
-rw-r--r--pages/grades.html1
-rw-r--r--pages/gradings.html33
-rw-r--r--pages/meals.html143
-rw-r--r--pages/messaging.html1
-rw-r--r--pages/teachers.html1
-rw-r--r--pages/timetable.html1
8 files changed, 181 insertions, 1 deletions
diff --git a/pages/about.html b/pages/about.html
index 8b24efc..0e5f61f 100644
--- a/pages/about.html
+++ b/pages/about.html
@@ -54,6 +54,7 @@
<li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
<li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
+ <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
<li>
<div class="divider"></div>
</li>
diff --git a/pages/absences.html b/pages/absences.html
index 06cab7a..765f684 100644
--- a/pages/absences.html
+++ b/pages/absences.html
@@ -56,6 +56,7 @@
<li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
<li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
+ <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
<li>
<div class="divider"></div>
</li>
diff --git a/pages/grades.html b/pages/grades.html
index 6e646be..e82ed89 100644
--- a/pages/grades.html
+++ b/pages/grades.html
@@ -56,6 +56,7 @@
<li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
<li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
+ <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
<li>
<div class="divider"></div>
</li>
diff --git a/pages/gradings.html b/pages/gradings.html
index f2239dc..9534d3a 100644
--- a/pages/gradings.html
+++ b/pages/gradings.html
@@ -63,6 +63,7 @@
<li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
<li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
+ <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
<li>
<div class="divider"></div>
</li>
@@ -96,8 +97,38 @@
<div class="container">
<br>
<div id="calendar"></div>
- </div>
+ </div>
+<!--
+ <div class="container">
+ <div class="row">
+ <div class="col s12">
+ <h4>Add a personal event</h4>
+ <div class="row">
+ <div class="input-field col s5">
+ <input required="required" type="text" class="datepicker" id="datepicker-add">
+ <label for="datepicker-add">Date</label>
+ </div>
+ <div class="input-field col s5">
+ <input required="required" id="event_name" type="text" class="validate">
+ <label for="event_name">Name</label>
+ </div>
+ <div class="input-field col s2">
+ <button id="event_btn" class="btn waves-effect waves-light" type="text" class="validate">
+ <i class="material-icons">event_available</i>
+ </button>
+ </div>
+ </div>
+ <div class="row">
+ <div class="input-field col s12">
+ <textarea required="required" id="event_description" class="materialize-textarea"></textarea>
+ <label for="event_description">Description</label>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+-->
</body>
</html>
diff --git a/pages/meals.html b/pages/meals.html
new file mode 100644
index 0000000..62dfe31
--- /dev/null
+++ b/pages/meals.html
@@ -0,0 +1,143 @@
+<html lang="en">
+
+<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>
+
+ <!-- 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>
+
+ <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>
+ <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>Beži</b><span>App</span> &raquo; Meals
+ <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><b>Beži</b>App</h4>
+ </a>
+ </li>
+ <li><a href="/pages/timetable.html" class="waves-effect"><i class="material-icons">view_module</i>Timetable</a></li>
+ <li><a href="/pages/gradings.html" class="waves-effect"><i class="material-icons">event</i>Gradings</a></li>
+ <li><a href="/pages/grades.html" class="waves-effect"><i class="material-icons">receipt</i>Grades</a></li>
+ <li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
+ <li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
+ <li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
+ <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
+ <li>
+ <div class="divider"></div>
+ </li>
+ <li><a href="/pages/about.html" class="waves-effect">
+ <i class="material-icons">info</i>About</a>
+ </li>
+ <li>
+ <div class="divider"></div>
+ </li>
+ <li><a href="/logout.html" class="waves-effect">
+ <i class="material-icons">exit_to_app</i>Log out</a>
+ </li>
+ </ul>
+
+ <ul id="grade-info" class="sidenav side-modal">
+ <br>
+ <li><a class="header">
+ <h5 id="meal-header"></h5>
+ </a></li>
+ <br>
+ <li id="meal-subheader-root"><a class="subheader">
+ <h6 id="meal-subheader"></h6>
+ </a></li>
+ <li><a class="subheader" id="meal-date">
+ </a></li>
+ <li>
+ <div class="divider"></div>
+ </li>
+ <li><a class="waves-effect" id="meal-option1"></a></li>
+ <li><a class="waves-effect" id="meal-option2"></a></li>
+ <li><a class="waves-effect" id="meal-option3"></a></li>
+ <li><a class="waves-effect" id="meal-option4"></a></li>
+ <li><a class="waves-effect" id="meal-option5"></a></li>
+ <li><a class="waves-effect" id="meal-option6"></a></li>
+ <li><a class="waves-effect" id="meal-option7"></a></li>
+ </ul>
+
+ <br>
+ <div class="container login" style="display:none;">
+ <h4>Login to Lopolis</h4>
+ <p>
+ You have a different username and password combination used for applying and opting out from menus. In order to use this feature, you
+ have to log in with your Lopolis account.
+ </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 username</label>
+ </div>
+ </div>
+ <div class="row">
+ <div class="input-field col s12">
+ <input id="meals_password" type="password" value="" required="required" name="meals_password" class="validate">
+ <label for="meals_password">Lopolis password</label>
+ </div>
+ </div>
+ <div class="row">
+ <div class="input-field col s12">
+ <button id="meals_login" type="button" class="waves-effect waves-light btn">
+ Log in to Lopolis
+ <i class="material-icons right">arrow_right_alt</i>
+ </button>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ <small style="position:absolute;top:1;left:1;color:#FFF"><small>Meals section is powered by https://github.com/rstular/lopolis-api, licensed under MIT.</small></small>
+ <div class="meals-container container" style="display: block">
+ <h4>Meals
+ <button id="meals_login" type="button" class="waves-effect waves-light btn" style="float: right">
+ Log out from Lopolis
+ <i class="material-icons right">exit_to_app</i>
+ </button>
+ </h4>
+ <p>
+ Not done yet => not working.
+ </p>
+ </div>
+</body>
+
+</html>
diff --git a/pages/messaging.html b/pages/messaging.html
index e269d94..a012354 100644
--- a/pages/messaging.html
+++ b/pages/messaging.html
@@ -54,6 +54,7 @@
<li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
<li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
+ <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
<li>
<div class="divider"></div>
</li>
diff --git a/pages/teachers.html b/pages/teachers.html
index 83a26f4..5f7fa8f 100644
--- a/pages/teachers.html
+++ b/pages/teachers.html
@@ -56,6 +56,7 @@
<li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
<li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
+ <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
<li>
<div class="divider"></div>
</li>
diff --git a/pages/timetable.html b/pages/timetable.html
index 7c822a9..19b5fa4 100644
--- a/pages/timetable.html
+++ b/pages/timetable.html
@@ -65,6 +65,7 @@
<li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
<li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
+ <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
<li>
<div class="divider"></div>
</li>