summaryrefslogtreecommitdiffstats
path: root/pages
diff options
context:
space:
mode:
authorAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-09 00:38:26 +0100
committerAnton Luka Šijanec <sijanecantonluka@gmail.com>2020-02-09 00:38:26 +0100
commit70aa7a5cb9de83c0966985618d6e6d4d4400dd0d (patch)
tree034c862909cbd070e03612395b9a6d85a1c2c9eb /pages
parentadded http://beziapp/?m=Name Surname to redirect to the messaging page with prefilled recipient (diff)
downloadbeziapp-70aa7a5cb9de83c0966985618d6e6d4d4400dd0d.tar
beziapp-70aa7a5cb9de83c0966985618d6e6d4d4400dd0d.tar.gz
beziapp-70aa7a5cb9de83c0966985618d6e6d4d4400dd0d.tar.bz2
beziapp-70aa7a5cb9de83c0966985618d6e6d4d4400dd0d.tar.lz
beziapp-70aa7a5cb9de83c0966985618d6e6d4d4400dd0d.tar.xz
beziapp-70aa7a5cb9de83c0966985618d6e6d4d4400dd0d.tar.zst
beziapp-70aa7a5cb9de83c0966985618d6e6d4d4400dd0d.zip
Diffstat (limited to '')
-rw-r--r--pages/about.html1
-rw-r--r--pages/absences.html1
-rw-r--r--pages/changelog.html1
-rw-r--r--pages/grades.html1
-rw-r--r--pages/gradings.html1
-rw-r--r--pages/messaging.html54
-rw-r--r--pages/privacypolicy.html3
-rw-r--r--pages/teachers.html1
-rw-r--r--pages/timetable.html1
-rw-r--r--pages/tos.html3
10 files changed, 30 insertions, 37 deletions
diff --git a/pages/about.html b/pages/about.html
index 783309e..e3e75b8 100644
--- a/pages/about.html
+++ b/pages/about.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
diff --git a/pages/absences.html b/pages/absences.html
index e89647c..9cbc2b0 100644
--- a/pages/absences.html
+++ b/pages/absences.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
diff --git a/pages/changelog.html b/pages/changelog.html
index 7adb29c..06877aa 100644
--- a/pages/changelog.html
+++ b/pages/changelog.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
diff --git a/pages/grades.html b/pages/grades.html
index ff6fadd..5d2dae7 100644
--- a/pages/grades.html
+++ b/pages/grades.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
diff --git a/pages/gradings.html b/pages/gradings.html
index d2a514d..07bde67 100644
--- a/pages/gradings.html
+++ b/pages/gradings.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
diff --git a/pages/messaging.html b/pages/messaging.html
index 2adb9e3..746dc3d 100644
--- a/pages/messaging.html
+++ b/pages/messaging.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
@@ -19,7 +20,7 @@
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
- <script src="../node_modules/xss/dist/xss.min.js"></script>
+ <script src="../js/lib/xss.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
<!-- iOS support -->
@@ -68,11 +69,9 @@
</ul>
<div class="container">
- <h2 class="code-line" data-line-start=0 data-line-end=1><a id="Messaging_0">Messaging</a>
- </h2>
- <h3 class="code-line" data-line-start=2 data-line-end=3><a id="Send_a_message_2"></a>Send a message</h3>
+ <h4>Send a message</h4>
<div class="row">
- <form class="col s12">
+ <div class="col s12">
<div class="row">
<div class="input-field col s5">
<i class="material-icons prefix">account_circle</i>
@@ -85,52 +84,36 @@
<label for="msg_subject">Subject</label>
</div>
<div class="input-field col s2">
- <button class="btn waves-effect waves-light" id="msg_send" type="submit" disabled="disabled" name="action">Send
- <i class="material-icons right">send</i>
+ <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 class="row">
- <div class="input-field col s12">
+ <div class="input-field col s10">
<i class="material-icons prefix">mode_edit</i>
<textarea id="msg_body" class="materialize-textarea"></textarea>
<label for="msg_body">Message body</label>
</div>
+ <div class="input-field col s2">
+ <button class="btn waves-effect waves-light" id="msg_add_a_photo" type="button">
+ <i class="material-icons" style="margin: 0 auto">add_a_photo</i>
+ </button>
+ </div>
</div>
- </form>
+ </div>
+ <div id="msg_added_image"></div>
</div>
- <h3 class="code-line" data-line-start=16 data-line-end=17><a id="Recently_received_messages_16"></a>Messages</h3>
- <button class="btn waves-effect waves-light" id="msg_load-btn" onclick="loadMessages(true, 0);" type="submit">Received
+ <h4>Messages</h4>
+ <button class="btn waves-effect waves-light" id="msg_load-btn" onclick="loadMessages(true, 0);" type="button">Received
<i class="material-icons right">system_update</i>
</button>
- <button class="btn waves-effect waves-light" id="msg_load-btn" onclick="loadMessages(true, 1);" type="submit">Sent
+ <button class="btn waves-effect waves-light" id="msg_load-btn" onclick="loadMessages(true, 1);" type="button">Sent
<i class="material-icons right">system_update</i>
</button>
- <button class="btn waves-effect waves-light" id="msg_load-btn" onclick="loadMessages(true, 2);" type="submit">Deleted
+ <button class="btn waves-effect waves-light" id="msg_load-btn" onclick="loadMessages(true, 2);" type="button">Deleted
<i class="material-icons right">system_update</i>
</button>
-<!--
- <div class="row">
- <div class="col s12 m6">
- <div class="card blue-grey darken-1">
- <div class="card-content white-text">
- <span class="card-title">Subject of the message</span>
- <p>
- Message body
- </p>
- </div>
- <div class="card-action">
- <a href="#">
- <i class="material-icons">delete</i>
- </a>
- <a href="#">
- <i class="material-icons">reply</i>
- </a>
- </div>
- </div>
- </div>
- </div>
--->
<div id="msg_list"></div>
</div>
@@ -139,3 +122,4 @@
</body>
</html>
+
diff --git a/pages/privacypolicy.html b/pages/privacypolicy.html
index 8daa469..1154a19 100644
--- a/pages/privacypolicy.html
+++ b/pages/privacypolicy.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
@@ -66,4 +67,4 @@
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/pages/teachers.html b/pages/teachers.html
index bc9f12b..8e27fb3 100644
--- a/pages/teachers.html
+++ b/pages/teachers.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
diff --git a/pages/timetable.html b/pages/timetable.html
index b721f25..df94a4c 100644
--- a/pages/timetable.html
+++ b/pages/timetable.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
diff --git a/pages/tos.html b/pages/tos.html
index 2f0304c..8623cb2 100644
--- a/pages/tos.html
+++ b/pages/tos.html
@@ -4,6 +4,7 @@
<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</title>
<!-- Materialize -->
@@ -118,4 +119,4 @@
</body>
-</html> \ No newline at end of file
+</html>