summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-01-30 00:46:24 +0100
committerrstular <rok@stular.eu>2020-01-30 00:46:24 +0100
commit5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d (patch)
tree479b595f51ea66ba12efaa1866cd4b74b1bde952
parentWeekly calendar accent color (diff)
downloadbeziapp-5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d.tar
beziapp-5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d.tar.gz
beziapp-5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d.tar.bz2
beziapp-5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d.tar.lz
beziapp-5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d.tar.xz
beziapp-5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d.tar.zst
beziapp-5a5a5f9825345ee68a71b9fd3b6b6c7afe81310d.zip
-rw-r--r--css/styles.css10
-rw-r--r--js/initialize.js2
-rw-r--r--pages/grades.html2
3 files changed, 12 insertions, 2 deletions
diff --git a/css/styles.css b/css/styles.css
index 25e5fe0..73c6be6 100644
--- a/css/styles.css
+++ b/css/styles.css
@@ -89,4 +89,14 @@ a.collection-item {
.fc-unthemed td.fc-today {
background: var(--color-primary-light);
+}
+
+.no-select {
+ -webkit-touch-callout: none;
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
+ -webkit-tap-highlight-color: transparent;
} \ No newline at end of file
diff --git a/js/initialize.js b/js/initialize.js
index bfad5fc..39ed505 100644
--- a/js/initialize.js
+++ b/js/initialize.js
@@ -28,7 +28,7 @@ localforage.getItem("logged_in")
} else if (value === false) {
window.location.replace("/login.html");
} else {
- window.location.replace("/pages/teachers.html");
+ window.location.replace("/pages/timetable.html");
}
}
).catch(
diff --git a/pages/grades.html b/pages/grades.html
index 6332d59..2c300cc 100644
--- a/pages/grades.html
+++ b/pages/grades.html
@@ -103,7 +103,7 @@
<div class="container">
<p>
<label>
- <input id="permanent-grades-checkbox" type="checkbox" />
+ <input id="permanent-grades-checkbox" class="no-select" type="checkbox" />
<span style="vertical-align: sub;">Use only permanent grades <a id="help-icon" class="modal-trigger"
href="#help-modal"><i class="material-icons"
style="vertical-align: sub;">help_outline</i></a></span>