summaryrefslogtreecommitdiffstats
path: root/pages/messaging.html
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/messaging.html
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 'pages/messaging.html')
-rw-r--r--pages/messaging.html54
1 files changed, 19 insertions, 35 deletions
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>
+