diff options
-rw-r--r-- | css/styles.css | 10 | ||||
-rw-r--r-- | js/initialize.js | 2 | ||||
-rw-r--r-- | pages/grades.html | 2 |
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> |