diff options
author | sijanec <sijanecantonluka@gmail.com> | 2020-05-17 00:13:40 +0200 |
---|---|---|
committer | sijanec <sijanecantonluka@gmail.com> | 2020-05-17 00:13:40 +0200 |
commit | fc66b376cb3a2c73843cc882d500cfd743c0790e (patch) | |
tree | c94ab426742180e88100629102fa7c21eb820a58 /assets/pages-src | |
parent | Handlers moved from HTML to JS (diff) | |
download | beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.gz beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.bz2 beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.lz beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.xz beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.tar.zst beziapp-fc66b376cb3a2c73843cc882d500cfd743c0790e.zip |
Diffstat (limited to 'assets/pages-src')
-rw-r--r-- | assets/pages-src/about.bvr | 131 | ||||
-rw-r--r-- | assets/pages-src/absences.bvr | 72 | ||||
-rw-r--r-- | assets/pages-src/changelog.bvr | 134 | ||||
-rw-r--r-- | assets/pages-src/chats.bvr | 92 | ||||
-rw-r--r-- | assets/pages-src/grades.bvr | 98 | ||||
-rw-r--r-- | assets/pages-src/gradings.bvr | 110 | ||||
-rw-r--r-- | assets/pages-src/jitsi.bvr | 54 | ||||
-rw-r--r-- | assets/pages-src/meals.bvr | 115 | ||||
-rw-r--r-- | assets/pages-src/messaging.bvr | 90 | ||||
-rw-r--r-- | assets/pages-src/misc/msg-compose-modal.bvr | 67 | ||||
-rw-r--r-- | assets/pages-src/misc/navigation.bvr | 18 | ||||
-rw-r--r-- | assets/pages-src/privacypolicy.bvr | 55 | ||||
-rw-r--r-- | assets/pages-src/settings.bvr | 111 | ||||
-rw-r--r-- | assets/pages-src/teachers.bvr | 81 | ||||
-rw-r--r-- | assets/pages-src/timetable.bvr | 85 | ||||
-rw-r--r-- | assets/pages-src/tos.bvr | 69 |
16 files changed, 1382 insertions, 0 deletions
diff --git a/assets/pages-src/about.bvr b/assets/pages-src/about.bvr new file mode 100644 index 0000000..8e658a5 --- /dev/null +++ b/assets/pages-src/about.bvr @@ -0,0 +1,131 @@ +<@?i global@> +<!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>About « 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/about.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.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>Beži</b><span>App</span> » <x-su>about</x-su> + <span class="right white-text"> + <i class="material-icons sidenav-trigger" data-target="side-menu">menu</i> + </span> + </div> + <div id="loading-bar" class="progress hidden"> + <div class="indeterminate"></div> + </div> + </nav> + + <@?i navigation@> + <div class="container"> + <div class="row"> + <div class="col s12"> + <h3> + <b class="title-secondary">Beži</b><span class="title-primary">App</span> + </h3> + <!-- One day in the future we may have sw cache version covered by this as well --> +# I agree, will make a script + <h5 class="subheader"><x-su>version</x-su> <@?g app_version@></h5> + </div> + </div> + <div class="row"> + <div class="col s12"> + <ul class="collection with-header"> + <li class="collection-header"> + <h5><x-su>authors</x-su></h5> + </li> + <li class="valign-wrapper collection-item avatar"> + <img src="/img/avatars/rstular.png" class="circle"> + <span class="title about-text">Rok Štular</span> + + <div class="secondary-content about-button-box"> + <a href="messaging.html#Rok Štular" class="btn-floating btn-medium waves-effect waves-light button-theme-gimb" type="button"> + <i class="material-icons">message</i> + </a> + <a target="_blank" href="https://instagram.com/rstular/" + class="btn-floating btn-medium waves-effect waves-light button-theme-gimb"> + <i class="fab fa-instagram"></i> + </a> + </div> + + </li> + + <li class="valign-wrapper collection-item avatar"> + <img src="/img/avatars/asijanec.png" class="circle"> + <span class="title about-text">Anton Luka Šijanec</span> + + <div class="secondary-content about-button-box"> + <a href="messaging.html#Anton Luka Šijanec" class="btn-floating btn-medium waves-effect waves-light button-theme-gimb" type="button"> + <i class="material-icons">message</i> + </a> + <a target="_blank" href="https://instagram.com/rstular/" + class="btn-floating btn-medium waves-effect waves-light button-theme-gimb"> + <i class="fab fa-instagram"></i> + </a> + </div> + </li> + </ul> + </div> + </div> + <div class="row"> + <div class="col s12"> + <ul class="collection with-header"> + <li class="collection-header"> + <h5><x-su>translatorsForThisLanguage</x-su> - <x-su>miscTranslationLanguage</x-su></h5> + </li> + <li class="collection-item"> + <span class="title about-text"><x-su>miscTranslationAuthors</x-su></span> + </li> + </ul> + </div> + </div> + <div class="row"> + <div class="col s12"> + <div class="collection"> + <a href="/pages/changelog.html" class="collection-item"><x-su>whatIsNew</x-su></a> + <a href="/pages/tos.html" class="collection-item"><x-su>theToS</x-su></a> + <a href="/pages/privacypolicy.html" class="collection-item"><x-su>thePrivacyPolicy</x-su></a> + <a href="https://instagram.com/beziapp/" target="_blank" class="collection-item"> + <x-su>reportABug</x-su> / <x-su>sendASuggestion</x-su> (<x-su>instagram</x-su>: @beziapp) + </a> + </div> + </div> + </div> + <div class="row"> + <p> + <small> + ^HEAD <@?g latest_commit@> + </p> + </div> + </div> +</body> + +</html> diff --git a/assets/pages-src/absences.bvr b/assets/pages-src/absences.bvr new file mode 100644 index 0000000..60ee008 --- /dev/null +++ b/assets/pages-src/absences.bvr @@ -0,0 +1,72 @@ +<@?i global@> +<!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>Absences « 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/absences.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.js"></script> + <script src="/js/gsec.js"></script> <!-- gimsisextclient --> + <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>Beži</b><span>App</span> » <x-su>absences</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> + <@?i navigation@> + <br> + <div class="container"> + <div class="row"> + <div class="col s6 l6"> + <input type="text" class="datepicker" id="datepicker-from"> + <label for="datepicker-from"><x-su>from</x-su></label> + </div> + <div class="col s6 l6"> + <input type="text" class="datepicker" id="datepicker-to"> + <label for="datepicker-to"><x-su>to</x-su></label> + </div> + </div> + <div class="row"> + <div class="col s12"> + <ul class="collapsible" id="absences-col"> + </ul> + </div> + </div> + </div> + +</body> + +</html> diff --git a/assets/pages-src/changelog.bvr b/assets/pages-src/changelog.bvr new file mode 100644 index 0000000..4be0f75 --- /dev/null +++ b/assets/pages-src/changelog.bvr @@ -0,0 +1,134 @@ +<@?i global@> +<!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 « 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/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>Beži</b><span>App</span> » <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><x-su>changelog</x-su></h3> + <ul class="collapsible"> + <li> + <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">1.0.12.28-beta: 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> <!-- i think --> + <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/assets/pages-src/chats.bvr b/assets/pages-src/chats.bvr new file mode 100644 index 0000000..9e3e619 --- /dev/null +++ b/assets/pages-src/chats.bvr @@ -0,0 +1,92 @@ +<@?i global@> +<!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>Chats « 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"> + <link type="text/css" href="/css/bubbles.css" rel="stylesheet"> + <script type="text/javascript" src="/js/lib/he.js" ></script> + <script type="text/javascript" src="/js/gsec.js" ></script> + <script type="text/javascript" src="/js/chats.js"></script> + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.js"></script> + <script src="/js/lang/bundle.js"></script> + <script src="/js/lib/xss.js"></script> + <script src="/js/lib/sjcl.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"> + <span class="left white-text directory-opener"> + <i class="material-icons sidenav-trigger" data-target="directory-side-menu">contacts</i> + </span> + <!-- | <x-su>chattingWith</x-su> --> <!-- too much for smaller devices --> + <span class="msg-chattingWith"><b>Beži</b><span>App</span> » <x-su>chat</x-su></span> + <span class="right white-text"> + <i class="material-icons sidenav-trigger" data-target="side-menu">menu</i> + </span> + </div> + <div id="loading-bar" class="progress hidden"> + <div class="indeterminate"></div> + </div> + </nav> + <@?i navigation@> + <ul id="directory-side-menu" class="sidenav side-modal"> + <br> + <li><a class="header"><h5><x-su>directory</x-su></h5></a></li> + <li> + <div class="container"> + <div class="row"> + <div class="input-field"> + <i class="material-icons prefix">account_circle</i> + <input id="full-name" type="text" class="autocomplete-fullname validate"> + <label for="full-name"><x-su>recipient</x-su></label> + </div> + </div> + <div class="row"> + <button id="chat-recipient-select-btn" class="btn waves-effect"> + <x-su>select</x-su> + </button> + </div> + </div> + </li> + </ul> + <div class="container"> + <h6 id="chat-mustSelectRecipient"><x-du>mustSelectRecipient</x-du></h6> + <div style="text-align:center" class="msg-messagesPlaceholder"> + <br /> + <x-du class="msg-messagesPlaceholderText"></x-du> <!-- stillLoading / noMessages --> + </div> + <div class="chat"></div> <!-- <div data-remark="a child, so chatarea.children does not scare of losing all of her kids"></div> --> + <div class="chat-sticky-input"> + <div class="row"> + <div class="input-field col s10"> + <i class="material-icons prefix">mode_edit</i> + <textarea maxlength="180" disabled="disabled" id="msg-body" class="materialize-textarea"></textarea> + <label for="msg-body"><x-su>messageBody</x-su></label> + </div> + <div class="input-field col s2"> + <button class="btn waves-effect waves-light" id="msg-send" type="button" disabled="disabled" name="action"> + <i class="material-icons">send</i> + </button> + </div> + </div> + </div> + </div> + </body> +</html> diff --git a/assets/pages-src/grades.bvr b/assets/pages-src/grades.bvr new file mode 100644 index 0000000..7615e65 --- /dev/null +++ b/assets/pages-src/grades.bvr @@ -0,0 +1,98 @@ +<@?i global@> +<!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>Grades « 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/gsec.js"></script> <!-- gimsisextclient --> + <script type="text/javascript" src="/js/grades.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.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>Beži</b><span>App</span> » <x-su>grades</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> + <@?i navigation@> + <ul id="grade-info" class="sidenav side-modal"> + <br> + <li><a class="header"> + <h5 id="grade-header"></h5> + </a></li> + <br> + <li id="grade-temporary-root"><a class="subheader"> + <h6 id="grade-temporary"></h6> + </a></li> + <li><a class="subheader" id="grade-date"> + </a></li> + <li> + <div class="divider"></div> + </li> + <li><a class="waves-effect" id="grade-title"></a></li> + <li><a class="waves-effect" id="grade-term"></a></li> + <li><a class="waves-effect" id="grade-teacher"></a></li> + <li><a class="waves-effect" id="grade-type"></a></li> + </ul> + + <div id="help-modal" class="modal bottom-sheet"> + <div class="modal-content"> + <h4><x-su>useOnlyPermanentGrades</x-su></h4> + <p><x-du>useOnlyPermanentGradesNote1</x-du></p> + <p><x-du>useOnlyPermanentGradesNote2</x-du></p> + </div> + <!-- <div class="modal-footer"> + <a href="#!" class="modal-close waves-effect waves-green btn-flat">Agree</a> + </div> --> + </div> + + <br> + <div class="container"> + <p> + <label> + <input id="permanent-grades-checkbox" class="no-select" type="checkbox" /> + <span style="vertical-align: sub;"><x-su>useOnlyPermanentGrades</x-su> + <a id="help-icon" class="modal-trigger" href="#help-modal"> + <i class="material-icons" style="vertical-align: sub;">help_outline</i> + </a> + </span> + </label> + </p> + <ul class="collapsible" id="grades-collapsible"></ul> + </div> + +</body> + +</html> diff --git a/assets/pages-src/gradings.bvr b/assets/pages-src/gradings.bvr new file mode 100644 index 0000000..3239e68 --- /dev/null +++ b/assets/pages-src/gradings.bvr @@ -0,0 +1,110 @@ +<@?i global@> +<!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 « 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/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>Beži</b><span>App</span> » <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> + <@?i navigation@> + <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> +<!-- + <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/assets/pages-src/jitsi.bvr b/assets/pages-src/jitsi.bvr new file mode 100644 index 0000000..a67e4ef --- /dev/null +++ b/assets/pages-src/jitsi.bvr @@ -0,0 +1,54 @@ +<@?i global@> +<!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>GimB Meet « 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"> + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.js"></script> + <script src="/js/lang/bundle.js"></script> + <script src="/js/jitsi.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> » <x-su>videoconferences</x-su> + <span class="right white-text"> + <i class="material-icons sidenav-trigger" data-target="side-menu">menu</i> + </span> + </div> + <div id="loading-bar" class="progress hidden"> + <div class="indeterminate"></div> + </div> + </nav> + <@?i navigation@> + <!-- Maybe in the future? https://github.com/jitsi/jitsi-meet/blob/master/doc/api.md --> + <div class="container" style="height: calc(100vh - 70px); width: 100%"> + <iframe allow="geolocation; microphone; camera" src="https://video.gimb.tk" frameBorder="0" style="width: 100%; height: 100%"> + Your browser does not support iframes, you have no Internet connection or the GimB videoconference server is down or does + not allow iframes. Probably we <s>fucked</s> messed something up, so drop us a message. + <hr> + Vaš brskalnik ne podpira iframov, nimate povezave v medmrežje ali pa so se GimB videokonferenčni strežniki odločili ne + dovoliti iframov ali pa so sploh nedostopni. Kakorkoli že, verjetno smo mi kaj <s>zajebali</s> zamočili, zato nam napiši sporočilo! + <hr> + Danke schön. Gracias. + </iframe> + </div> + </body> +</html> diff --git a/assets/pages-src/meals.bvr b/assets/pages-src/meals.bvr new file mode 100644 index 0000000..38f8371 --- /dev/null +++ b/assets/pages-src/meals.bvr @@ -0,0 +1,115 @@ +<@?i global@> +<!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 « 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> + <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>Beži</b><span>App</span> » <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> + <@?i navigation@> + <br> + <div class="container login" hidden="hidden" id="meals-login"> + <h4><x-su>loginToLopolis</x-su></h4> + <p> + <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> + +</html> diff --git a/assets/pages-src/messaging.bvr b/assets/pages-src/messaging.bvr new file mode 100644 index 0000000..f6e561b --- /dev/null +++ b/assets/pages-src/messaging.bvr @@ -0,0 +1,90 @@ +<@?i global@> +<!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>Messaging « 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/messaging.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.js"></script> + <script src="/js/lang/bundle.js"></script> + <script src="/js/lib/xss.js"></script> + <script src="/js/lib/sjcl.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> » <x-su>messaging</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> + <@?i navigation@> + <div class="container"> + <div class="row"> + + <br> + <div class="row grey-text text-darken-2" id="storage-bar"> + <div class="col s6"> + <x-su>messageStorageUsed</x-su>: <span id="storage-stats">0/120</span> <x-sl>messages</x-sl> + </div> + <div class="progress col s6"> + <div class="determinate" id="storage-progressbar" style="width: 0%"></div> + </div> + </div> + + <div class="row grey-text text-darken-2" style="text-align: center;"> + <x-du>maxMessagesNote</x-du> + </div> + + <div class="col s12 m12"> + <ul class="tabs"> + <li class="tab col s4"><a href="#beziapp-received" class="active">Received</a></li> + <li class="tab col s4"><a href="#beziapp-sent">Sent</a></li> + <li class="tab col s4"><a href="#beziapp-deleted">Deleted</a></li> + </ul> + </div> + <br> + <div id="beziapp-received" class="col s12"><p class="center-align grey-text text-darken-2"><x-su>loadingMessages</x-su></p></div> + <div id="beziapp-sent" class="col s12"><p class="center-align grey-text text-darken-2"><x-su>loadingMessages</x-su></p></div> + <div id="beziapp-deleted" class="col s12"><p class="center-align grey-text text-darken-2"><x-su>loadingMessages</x-su></p></div> + </div> + </div> + + <!-- FAB --> + <div class="fixed-action-btn" id="fab-new"> + <a class="btn-floating btn-large fab-new-message modal-trigger" href="#beziapp-new-message"> + <i class="large material-icons">mode_edit</i> + </a> + </div> + <@?i msg-compose-modal@> +</body> +</html> diff --git a/assets/pages-src/misc/msg-compose-modal.bvr b/assets/pages-src/misc/msg-compose-modal.bvr new file mode 100644 index 0000000..f7bdc7d --- /dev/null +++ b/assets/pages-src/misc/msg-compose-modal.bvr @@ -0,0 +1,67 @@ + <!-- Modal Structure --> + <div id="beziapp-new-message" class="modal modal-fixed-footer"> + + <div class="modal-content"> + + <h4><x-su>sendAMessage</x-su></h4> + + <div class="input-field"> + <i class="material-icons prefix">account_circle</i> + <input id="full-name" type="text" class="autocomplete-fullname validate"> + <label for="full-name"><x-su>recipient</x-su></label> + </div> + + <div class="row" > + +# sorry, ampak display: flex še nisem pogruntu 100% + + <div class="col s9 m10"> + <div class="input-field"> + <i class="material-icons prefix">subject</i> + <input id="msg-subject" type="text" class=""> + <label for="msg-subject"><x-su>messageSubject</x-su></label> + </div> + </div> + + <div class="col s2 m2"> + <button class="btn btn-large btn-floating waves-effect waves-light" id="msg-add-photo" type="button"> + <i class="material-icons" style="margin: 0 auto">add_a_photo</i> + </button> + </div> + + </div> + + <div class="row"> + <div class="valign-wrapper col s10 m10"> + <label> + <input type="checkbox" id="encrypt-checkbox" /> + <span><x-su>encryptMessage</x-su></span> + </label> + </div> + </div> + <div class="row"> + <div class="col s12 m12"> + <div class="input-field" id="encryption-key-input" hidden> + <i class="material-icons prefix">lock</i> + <input id="msg-e2ee-pass-input" type="password" autocomplete="new-password" class=""> + <label for="msg-e2ee-pass-input"><x-su>passwordForE2EE</x-su></label> + </div> + </div> + </div> + + <div class="input-field"> + <i class="material-icons prefix">mode_edit</i> + <textarea id="msg-body" class="materialize-textarea"></textarea> + <label for="msg-body"><x-su>messageBody</x-su></label> + </div> + + </div> + + <div class="modal-footer"> + <div id="modal-footer-right"> + <a href="#" class="modal-close waves-effect waves-green btn-flat">Cancel <i class="material-icons right">close</i></a> + <a href="#" id="msg-send" class="modal-close waves-effect waves-green btn-flat" disabled>Send <i class="material-icons right">send</i></a> + </div> + </div> + </div> + diff --git a/assets/pages-src/misc/navigation.bvr b/assets/pages-src/misc/navigation.bvr new file mode 100644 index 0000000..53b7553 --- /dev/null +++ b/assets/pages-src/misc/navigation.bvr @@ -0,0 +1,18 @@ +<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><x-su>timetable</x-su></a></li> + <li><a href="/pages/gradings.html" class="waves-effect"><i class="material-icons">event</i><x-su>gradings</x-su></a></li> + <li><a href="/pages/grades.html" class="waves-effect"><i class="material-icons">receipt</i><x-su>grades</x-su></a></li> + <li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i><x-su>teachers</x-su></a></li> + <li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i><x-su>absences</x-su></a></li> + <li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i><x-su>messaging</x-su></a></li> + <!-- chats not done yet, expecting merge so removing from navigation panel --sijanec --> + <!-- <li><a href="/pages/chats.html" class="waves-effect"><i class="material-icons">chat</i><x-su>chat</x-su></a></li> --> + <li><a href="/pages/jitsi.html" class="waves-effect"><i class="material-icons">video_call</i><x-su>videoconferences</x-su></a></li> + <li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i><x-su>meals</x-su></a></li> + <li><div class="divider"></div></li> + <li><a href="/pages/about.html" class="waves-effect"><i class="material-icons">info</i><x-su>about</x-su></a></li> + <li><a href="/logout.html" class="waves-effect"><i class="material-icons">exit_to_app</i><x-su>logout</x-su></a></li> + <li><a href="/pages/settings.html" class="waves-effect"><i class="material-icons">settings</i><x-su>settings</x-su></a></li> +</ul> + diff --git a/assets/pages-src/privacypolicy.bvr b/assets/pages-src/privacypolicy.bvr new file mode 100644 index 0000000..fc52475 --- /dev/null +++ b/assets/pages-src/privacypolicy.bvr @@ -0,0 +1,55 @@ +<@?i global@> +<!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>Privacy policy « 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/privacypolicy.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.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>Beži</b><span>App</span> » <x-su>thePrivacyPolicy</x-su> + <span class="right white-text"> + <i class="material-icons" id="nav-home-button">home</i> + </span> + </div> + </nav> + <div class="container"> + <h2><x-su>thePrivacyPolicy</x-su></h2> + <p class="flow-text"><x-du>privacyImportant</x-du></p> + <p class="flow-text"><x-du>privacyOnlyAskedWhen</x-du></p> + <p class="flow-text"><x-du>privacyDataCollection</x-du></p> + <p class="flow-text"><x-du>privacySharingData</x-du></p> + <p class="flow-text"><x-du>privacyExternalSites</x-du></p> + <p class="flow-text"><x-du>privacyRefuse</x-du></p> + <p class="flow-text"><x-du>privacyAcceptWithUse</x-du></p> + <hr> + <p class="flow-text"><x-su>privacyEffectiveAsOf</x-su> 29 January 2020.</p> + </div> +</body> +</html> diff --git a/assets/pages-src/settings.bvr b/assets/pages-src/settings.bvr new file mode 100644 index 0000000..12c28d7 --- /dev/null +++ b/assets/pages-src/settings.bvr @@ -0,0 +1,111 @@ +<@?i global@> +<!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>Settings « 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/settings.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.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>Beži</b><span>App</span> » <x-su>settings</x-su> + <span class="right white-text"> + <i class="material-icons sidenav-trigger" data-target="side-menu">menu</i> + </span> + </div> + <div id="loading-bar" class="progress hidden"> + <div class="indeterminate"></div> + </div> + </nav> + <@?i navigation@> + + <div class="container"> + <div class="row"> + <div class="col s12"> + <h3><b class="title-secondary">Beži</b><span class="title-primary">App</span> + </h3> + <h4 class="subheader"><x-su>settings</x-su></h4> + </div> + </div> + <div class="row"> + <h5><x-su>language</x-su></h5> + <div class="col s12"> + <div class="collection"> + <a data-language="sl" class="collection-item settings-language-selector" href="#"> + <div> + Slovenščina + <div class="secondary-content"> + <img class="flag-icon" src="/img/flags/sl.svg" /> + </div> + </div> + </a> + <a data-language="en" class="collection-item settings-language-selector" href="#"> + <div> + English + <div class="secondary-content"> + <img class="flag-icon" src="/img/flags/en.svg" /> + </div> + </div> + </a> + <!-- + <li class="collection-item waves-effect"> + <span class="title about-text">Srpskohrvatski</span> + </li> + <li class="collection-item waves-effect"> + <span class="title about-text">Македонски</span> + </li> + <li class="collection-item waves-effect"> + <span class="title about-text">Français</span> + </li> + <li class="collection-item waves-effect"> + <span class="title about-text">Deutsch</span> + </li> + <li class="collection-item waves-effect"> + <span class="title about-text">Español</span> + </li> + <li class="collection-item waves-effect"> + <span class="title about-text">Русский</span> + </li> + <li class="collection-item waves-effect"> + <span class="title about-text">汉语</span> + </li> + <li class="collection-item waves-effect"> + <span class="title about-text">日本語</span> + </li> + <li class="collection-item waves-effect"> + <span class="title about-text">Lingua latīna</span> + </li> + --> + </div> + </div> + </div> + </div> +</body> + +</html> diff --git a/assets/pages-src/teachers.bvr b/assets/pages-src/teachers.bvr new file mode 100644 index 0000000..37ff3e2 --- /dev/null +++ b/assets/pages-src/teachers.bvr @@ -0,0 +1,81 @@ +<@?i global@> +<!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>Teachers « 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/gsec.js"></script> + <script type="text/javascript" src="/js/teachers.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.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>Beži</b><span>App</span> » <x-su>teachers</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> + <@?i navigation@> + <ul id="teacher-info" class="sidenav side-modal"> + <br> + <li><a class="subheader"> + <h5 id="teacher-name"></h5> + </a></li> + <li><a class="waves-effect" id="teacher-subject"></a></li> + <li> + <div class="divider"></div> + </li> + <br> + <li><a class="subheader"> + <h6><x-su>tpMeetings</x-su></h6> + </a></li> + <li><a class="waves-effect" id="teacher-office"></a></li> + </ul> + + <br> + <div class="container"> + <table class="highlight"> + <thead> + <tr> + <th><x-su>name</x-su></th> + <th><x-su>schoolSubject</x-su></th> + </tr> + </thead> + <tbody id="teachers-body"></tbody> + </table> + </div> + +</body> + +</html> diff --git a/assets/pages-src/timetable.bvr b/assets/pages-src/timetable.bvr new file mode 100644 index 0000000..0d8363c --- /dev/null +++ b/assets/pages-src/timetable.bvr @@ -0,0 +1,85 @@ +<@?i global@> +<!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>Timetable « 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 --> + <script src="/js/lib/fullcalendar/core/main.min.js"></script> + <script src="/js/lib/fullcalendar/daygrid/main.min.js"></script> + <script src="/js/lib/fullcalendar/timegrid/main.min.js"></script> + <link href="/css/fullcalendar/custom.css" rel="stylesheet" /> + <link href="/css/fullcalendar/core/main.min.css" rel="stylesheet" /> + <link href="/css/fullcalendar/daygrid/main.min.css" rel="stylesheet" /> + <link href="/css/fullcalendar/timegrid/main.min.css" rel="stylesheet" /> + + <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/timetable.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.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>Beži</b><span>App</span> » <x-su>timetable</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> + <@?i navigation@> + <ul id="lesson-info" class="sidenav side-modal"> + <br> + <li><a class="header"> + <h5 id="lesson-subject"></h5> + </a></li> + <br> + <li> + <a class="subheader"> + <h6 id="lesson-teacher"></h6> + </a> + </li> + <div class="divider"></div> + </li> + <li><a class="waves-effect" id="lesson-classroom"></a></li> + <li><a class="waves-effect" id="lesson-duration"></a></li> + <li><a class="waves-effect" id="lesson-class"></a></li> + </ul> + + + <div class="container"> + <br> + <div id="calendar"></div> + </div> + +</body> + +</html> diff --git a/assets/pages-src/tos.bvr b/assets/pages-src/tos.bvr new file mode 100644 index 0000000..b96eccc --- /dev/null +++ b/assets/pages-src/tos.bvr @@ -0,0 +1,69 @@ +<@?i global@> +<!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>Terms and Conditions « 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/tos.js"></script> + + <link rel="manifest" href="/manifest.json"> + <script src="/js/app.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>Beži</b><span>App</span> » <x-su>theTos</x-su> + <span class="right white-text"> + <i class="material-icons" id="nav-home-button">home</i> + </span> + </div> + </nav> + + <div class="container"> + <h2 class="code-line" data-line-start=0 data-line-end=1><a id="Terms_and_conditions_0"></a><x-su>theToS</x-su></h2> + <h3 class="code-line" data-line-start=2 data-line-end=3><a id="Terms_of_use_2"></a><x-su>termsOfUse</x-su></h3> + <p class="has-line-data flow-text" data-line-start="3" data-line-end="4"><x-su>termsOfUseDescription</x-su>:</p> + <ol> + <li class="flow-text has-line-data" data-line-start="4" data-line-end="5"><x-su>termsOfUseHarass</x-su>;</li> + <li class="flow-text has-line-data" data-line-start="5" data-line-end="6"><x-su>termsOfUsePost</x-su>;</li> + <li class="flow-text has-line-data" data-line-start="6" data-line-end="7"><x-su>termsOfUseCommunicate</x-su>;</li> + <li class="flow-text has-line-data" data-line-start="7" data-line-end="8"><x-su>termsOfUsePurpose</x-su>;</li> + <li class="flow-text has-line-data" data-line-start="8" data-line-end="9"><x-su>termsOfUseExploit</x-su>;</li> + <li class="flow-text has-line-data" data-line-start="9" data-line-end="11"><x-du>termsOfUseSpam</x-du></li> + </ol> + <p class="flow-text"><x-du>termsOfUseModify<x-du></p> + <h3 class="code-line" data-line-start=11 data-line-end=12><a id="Termination_of_services_11"></a><x-su>terminationOfServices</x-su></h3> + <p class="flow-text has-line-data" data-line-start="12" data-line-end="13"><x-su>terminationOfServicesDescriptions</x-su>:</p> + <ul> + <li class="flow-text has-line-data" data-line-start="13" data-line-end="14"><x-su>terminationOfServicesBreaching</x-su>;</li> + <li class="flow-text has-line-data" data-line-start="14" data-line-end="16"><x-du>terminationOfServicesRequest</x-du></li> + </ul> + <h3 class="code-line" data-line-start=16 data-line-end=17><a id="Limitation_of_Liability_16"></a><x-su>limitationOfLiability</x-su></h3> + <p class="flow-text has-line-data" data-line-start="17" data-line-end="18"><x-du>limitationOfLiabilityContent</x-du></p> + <hr> + <p class="flow-text"><x-su>tosAreEffectiveAsOf</x-su> 29 January, 2020.</p> + </div> +</body> +</html> |