summaryrefslogtreecommitdiffstats
path: root/assets/pages-src
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-09-27 19:35:41 +0200
committersijanec <sijanecantonluka@gmail.com>2020-09-27 19:35:41 +0200
commitcc5cd1d44867e6c3ac628f8d141969111c28a46d (patch)
treecc44730acf3b7fe9efded66a672500645a3e1c32 /assets/pages-src
parentfixed missing ], now lopolisc.js fully works, to be integrated into meals.bvr (diff)
downloadbeziapp-cc5cd1d44867e6c3ac628f8d141969111c28a46d.tar
beziapp-cc5cd1d44867e6c3ac628f8d141969111c28a46d.tar.gz
beziapp-cc5cd1d44867e6c3ac628f8d141969111c28a46d.tar.bz2
beziapp-cc5cd1d44867e6c3ac628f8d141969111c28a46d.tar.lz
beziapp-cc5cd1d44867e6c3ac628f8d141969111c28a46d.tar.xz
beziapp-cc5cd1d44867e6c3ac628f8d141969111c28a46d.tar.zst
beziapp-cc5cd1d44867e6c3ac628f8d141969111c28a46d.zip
Diffstat (limited to 'assets/pages-src')
-rw-r--r--assets/pages-src/meals.bvr18
1 files changed, 14 insertions, 4 deletions
diff --git a/assets/pages-src/meals.bvr b/assets/pages-src/meals.bvr
index d98ed56..47be6e4 100644
--- a/assets/pages-src/meals.bvr
+++ b/assets/pages-src/meals.bvr
@@ -17,20 +17,18 @@
<script src="/js/lib/jquery.min.js"></script>
<!-- localForage -->
<script type="text/javascript" src="/js/lib/localforage.min.js"></script>
+ <!-- i18n bundle -->
+ <script src="/js/lang/bundle.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 -->
@@ -45,6 +43,8 @@
<script src="/js/lib/fullcalendar/daygrid/main.min.js"></script>
<!-- lopolis client API library - unofficial by sijanec -->
<script src="/js/lopolisc.js"></script>
+ <!-- page-specific javascript code -->
+ <script type="text/javascript" src="/js/meals.js"></script>
</head>
<body>
@@ -83,6 +83,16 @@
<x-du>readOnly</x-du>
</a>
</li>
+ <li>
+ <div class=switch>
+ <label id=checkbox_label>
+ <x-su>checkedOut</x-su>
+ <input id=checkout_checkbox type=checkbox>
+ <span class=lever></span>
+ <x-su>checkedIn</x-su>
+ </label>
+ </div>
+ </li>
<div class=divider></div>
<li id=meal-options>