summaryrefslogtreecommitdiffstats
path: root/pages/messaging.html
diff options
context:
space:
mode:
authorrstular <rok@stular.eu>2020-02-17 15:15:55 +0100
committerrstular <rok@stular.eu>2020-02-17 15:15:55 +0100
commitfefeee7ccf1b6fb6a133c8b9c5eb07b1760c2d94 (patch)
tree803184e820a5002418a19ce4685d4621b7910b76 /pages/messaging.html
parentneki sm delu, sam ne do konca (diff)
downloadbeziapp-fefeee7ccf1b6fb6a133c8b9c5eb07b1760c2d94.tar
beziapp-fefeee7ccf1b6fb6a133c8b9c5eb07b1760c2d94.tar.gz
beziapp-fefeee7ccf1b6fb6a133c8b9c5eb07b1760c2d94.tar.bz2
beziapp-fefeee7ccf1b6fb6a133c8b9c5eb07b1760c2d94.tar.lz
beziapp-fefeee7ccf1b6fb6a133c8b9c5eb07b1760c2d94.tar.xz
beziapp-fefeee7ccf1b6fb6a133c8b9c5eb07b1760c2d94.tar.zst
beziapp-fefeee7ccf1b6fb6a133c8b9c5eb07b1760c2d94.zip
Diffstat (limited to '')
-rw-r--r--pages/messaging.html101
1 files changed, 54 insertions, 47 deletions
diff --git a/pages/messaging.html b/pages/messaging.html
index a012354..70f61a9 100644
--- a/pages/messaging.html
+++ b/pages/messaging.html
@@ -16,11 +16,11 @@
<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>
+ <script type="text/javascript" src="/js/messaging.js"></script>
<link rel="manifest" href="/manifest.json">
<script src="/js/app.js"></script>
- <script src="../js/lib/xss.js"></script>
+ <script src="/js/lib/xss.js"></script>
<link rel="shortcut icon" type="image/png" href="/favicon.png" />
<!-- iOS support -->
@@ -48,11 +48,15 @@
<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>Timetable</a></li>
+ <li><a href="/pages/timetable.html" class="waves-effect"><i class="material-icons">view_module</i>Timetable</a>
+ </li>
<li><a href="/pages/gradings.html" class="waves-effect"><i class="material-icons">event</i>Gradings</a></li>
<li><a href="/pages/grades.html" class="waves-effect"><i class="material-icons">receipt</i>Grades</a></li>
- <li><a href="/pages/teachers.html" class="waves-effect"><i class="material-icons">supervisor_account</i>Teachers</a></li>
- <li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a></li>
+ <li><a href="/pages/teachers.html" class="waves-effect"><i
+ class="material-icons">supervisor_account</i>Teachers</a>
+ </li>
+ <li><a href="/pages/absences.html" class="waves-effect"><i class="material-icons">query_builder</i>Absences</a>
+ </li>
<li><a href="/pages/messaging.html" class="waves-effect"><i class="material-icons">message</i>Messaging</a></li>
<li><a href="/pages/meals.html" class="waves-effect"><i class="material-icons">fastfood</i>Meals</a></li>
<li>
@@ -71,56 +75,59 @@
<div class="container">
<h4>Send a message</h4>
- <div class="row">
+ <div class="row">
<div class="col s12">
- <div class="row">
- <div class="input-field col s5">
- <i class="material-icons prefix">account_circle</i>
- <input id="full_name" type="text" class="autocomplete-fullname validate">
- <label for="full_name">Recipient</label>
- </div>
- <div class="input-field col s5">
- <i class="material-icons prefix">subject</i>
- <input id="msg_subject" type="text" class="">
- <label for="msg_subject">Subject</label>
+ <div class="row">
+ <div class="input-field col s5">
+ <i class="material-icons prefix">account_circle</i>
+ <input id="full-name" type="text" class="autocomplete-fullname validate">
+ <label for="full-name">Recipient</label>
+ </div>
+ <div class="input-field col s5">
+ <i class="material-icons prefix">subject</i>
+ <input id="msg-subject" type="text" class="">
+ <label for="msg-subject">Subject</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 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 class="row">
+ <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-photo" type="button">
+ <i class="material-icons" style="margin: 0 auto">add_a_photo</i>
+ </button>
+ </div>
</div>
- </div>
- <div class="row">
- <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>
</div>
- <div id="msg_added_image"></div>
- </div>
+ <div id="msg-added-image"></div>
+ </div>
<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="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="button">Deleted
- <i class="material-icons right">system_update</i>
- </button>
-<div id="msg_list"></div>
+ <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="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="button">Deleted
+ <i class="material-icons right">system_update</i>
+ </button>
+ <div id="msg-list"></div>
</div>
</body>
-</html>
-
+</html> \ No newline at end of file