summaryrefslogtreecommitdiffstats
path: root/pages/meals.html
blob: 9e80ec04f95b990197c1a5c367b97417d6a9058b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<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>
    <script type="text/javascript" src="/js/lib/mergedeep.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" hidden="hidden" id="meals-login">
	<h4>Login to Lopolis</h4>
	<p>
		It seems like you're not currently logged in to eRestavracija, so this form has been presented to you. 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 autocomplete="new-password" 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" onclick="lopolisLogin();">
			Log in to Lopolis
			<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" onclick="lopolisLogout();" 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>
	<ul id="meals-collapsible" class="collapsible"></ul>
    </div>
</body>

</html>