summaryrefslogtreecommitdiffstats
path: root/assets/pages-src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--assets/pages-src/about.bvr1
-rw-r--r--assets/pages-src/absences.bvr1
-rw-r--r--assets/pages-src/changelog.bvr1
-rw-r--r--assets/pages-src/chats.bvr8
-rw-r--r--assets/pages-src/grades.bvr1
-rw-r--r--assets/pages-src/gradings.bvr1
-rw-r--r--assets/pages-src/jitsi.bvr7
-rw-r--r--assets/pages-src/meals.bvr1
-rw-r--r--assets/pages-src/messaging.bvr1
-rw-r--r--assets/pages-src/privacypolicy.bvr1
-rw-r--r--assets/pages-src/settings.bvr63
-rw-r--r--assets/pages-src/teachers.bvr1
-rw-r--r--assets/pages-src/timetable.bvr1
-rw-r--r--assets/pages-src/tos.bvr1
14 files changed, 40 insertions, 49 deletions
diff --git a/assets/pages-src/about.bvr b/assets/pages-src/about.bvr
index 8e658a5..56fa810 100644
--- a/assets/pages-src/about.bvr
+++ b/assets/pages-src/about.bvr
@@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
diff --git a/assets/pages-src/absences.bvr b/assets/pages-src/absences.bvr
index 60ee008..0561a3b 100644
--- a/assets/pages-src/absences.bvr
+++ b/assets/pages-src/absences.bvr
@@ -21,6 +21,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.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" />
diff --git a/assets/pages-src/changelog.bvr b/assets/pages-src/changelog.bvr
index 4be0f75..63504cc 100644
--- a/assets/pages-src/changelog.bvr
+++ b/assets/pages-src/changelog.bvr
@@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
diff --git a/assets/pages-src/chats.bvr b/assets/pages-src/chats.bvr
index 9e3e619..d454c14 100644
--- a/assets/pages-src/chats.bvr
+++ b/assets/pages-src/chats.bvr
@@ -7,22 +7,30 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="google" content="notranslate">
<title>Chats &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">
<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/lib/themes.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">
diff --git a/assets/pages-src/grades.bvr b/assets/pages-src/grades.bvr
index 7615e65..0c28f15 100644
--- a/assets/pages-src/grades.bvr
+++ b/assets/pages-src/grades.bvr
@@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
diff --git a/assets/pages-src/gradings.bvr b/assets/pages-src/gradings.bvr
index 3239e68..0f693e2 100644
--- a/assets/pages-src/gradings.bvr
+++ b/assets/pages-src/gradings.bvr
@@ -29,6 +29,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
diff --git a/assets/pages-src/jitsi.bvr b/assets/pages-src/jitsi.bvr
index a67e4ef..bf0a656 100644
--- a/assets/pages-src/jitsi.bvr
+++ b/assets/pages-src/jitsi.bvr
@@ -7,19 +7,26 @@
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="google" content="notranslate">
<title>GimB Meet &laquo; 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/lib/themes.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">
diff --git a/assets/pages-src/meals.bvr b/assets/pages-src/meals.bvr
index 38f8371..47ef8a5 100644
--- a/assets/pages-src/meals.bvr
+++ b/assets/pages-src/meals.bvr
@@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
diff --git a/assets/pages-src/messaging.bvr b/assets/pages-src/messaging.bvr
index f6e561b..d302ae6 100644
--- a/assets/pages-src/messaging.bvr
+++ b/assets/pages-src/messaging.bvr
@@ -21,6 +21,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<script src="/js/lib/xss.js"></script>
<script src="/js/lib/sjcl.js"></script>
diff --git a/assets/pages-src/privacypolicy.bvr b/assets/pages-src/privacypolicy.bvr
index fc52475..4e13e67 100644
--- a/assets/pages-src/privacypolicy.bvr
+++ b/assets/pages-src/privacypolicy.bvr
@@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
diff --git a/assets/pages-src/settings.bvr b/assets/pages-src/settings.bvr
index 135ca91..8d5193c 100644
--- a/assets/pages-src/settings.bvr
+++ b/assets/pages-src/settings.bvr
@@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
@@ -56,61 +57,25 @@
<div class="row">
<h5><x-su>language</x-su></h5>
<div class="input-field col s12">
+ <i class="material-icons prefix">translate</i>
<select class="icons" id="select-language">
<option value="" id="option-sl" data-language="sl" data-icon="/img/flags/sl.svg" selected>Slovenščina</option>
<option value="" id="option-en" data-language="en" data-icon="/img/flags/en.svg">English</option>
</select>
<label><x-su>selectLanguage</x-su></label>
</div>
- <!-- <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 class="row">
+ <h5><x-su>theme</x-su></h5>
+ <div class="input-field col s12">
+ <i class="material-icons prefix">palette</i>
+ <select class="icons" id="select-theme">
+ <option value="" id="option-light" data-theme="light" selected><x-su>themeLight</x-su></option>
+ <option value="" id="option-dark" data-theme="dark"><x-su>themeDark</x-su></option>
+ </select>
+ <label><x-su>selectTheme</x-su></label>
+ </div>
</div>
</div>
</body>
diff --git a/assets/pages-src/teachers.bvr b/assets/pages-src/teachers.bvr
index 37ff3e2..e3993b3 100644
--- a/assets/pages-src/teachers.bvr
+++ b/assets/pages-src/teachers.bvr
@@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
diff --git a/assets/pages-src/timetable.bvr b/assets/pages-src/timetable.bvr
index 0d8363c..b8c6b06 100644
--- a/assets/pages-src/timetable.bvr
+++ b/assets/pages-src/timetable.bvr
@@ -31,6 +31,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
diff --git a/assets/pages-src/tos.bvr b/assets/pages-src/tos.bvr
index b96eccc..5deea14 100644
--- a/assets/pages-src/tos.bvr
+++ b/assets/pages-src/tos.bvr
@@ -22,6 +22,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
+ <script src="/js/lib/themes.js"></script>
<script src="/js/lang/bundle.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />