diff options
author | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-24 23:42:30 +0100 |
---|---|---|
committer | Anton Luka Šijanec <sijanecantonluka@gmail.com> | 2020-02-24 23:42:30 +0100 |
commit | 236628b07d5187d34759aac70d19d4fe89c93077 (patch) | |
tree | 0c0438f2e78a0f7de0fbeacade8db7f44b7f3c2d /pages/meals.html | |
parent | multiple attached pictures, ability to remove them, storage bar >> msgz (diff) | |
download | beziapp-236628b07d5187d34759aac70d19d4fe89c93077.tar beziapp-236628b07d5187d34759aac70d19d4fe89c93077.tar.gz beziapp-236628b07d5187d34759aac70d19d4fe89c93077.tar.bz2 beziapp-236628b07d5187d34759aac70d19d4fe89c93077.tar.lz beziapp-236628b07d5187d34759aac70d19d4fe89c93077.tar.xz beziapp-236628b07d5187d34759aac70d19d4fe89c93077.tar.zst beziapp-236628b07d5187d34759aac70d19d4fe89c93077.zip |
Diffstat (limited to '')
-rw-r--r-- | pages/meals.html | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/pages/meals.html b/pages/meals.html index 62dfe31..f59df4a 100644 --- a/pages/meals.html +++ b/pages/meals.html @@ -95,11 +95,11 @@ </ul> <br> - <div class="container login" style="display:none;"> + <div class="container login" hidden="hidden" id="meals-login"> <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. + 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"> @@ -117,7 +117,7 @@ </div> <div class="row"> <div class="input-field col s12"> - <button id="meals_login" type="button" class="waves-effect waves-light btn"> + <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> @@ -127,16 +127,14 @@ </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"> + <div class="meals-container container" hidden="hidden" id="meals-container"> <h4>Meals - <button id="meals_login" type="button" class="waves-effect waves-light btn" style="float: right"> + <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> - <p> - Not done yet => not working. - </p> + <div id="meals-collapsible"></div> </div> </body> |