Onionr/onionr/static-data/www/mail/index.html

61 lines
9.6 KiB
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>
Onionr Mail
</title>
<link rel='shortcut icon' type='image/png' href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFcAAAB8CAYAAAAcoyyZAAAACXBIWXMAAAsSAAALEgHS3X78AAAT6klEQVR4Ae1deZRVxZmvt3b366YXBARE2dQEZN/FOZPMZDWe5CROwkQd1EBCcEmMGiMTPfknrjHBMXGJe9w1y2Q7E7OQkzkzAREaaGhAGpRNBJWtu3n9uvttNd/vwn3WrVv3vrrv3dfvcqaLw7l17636qur3vvvV9331VTVjg2kQgUEEBhE4fRC4quMqfvr01t7TkP1RMJ4saFvAk/kkS4QTbN2MdYHtpxtaYbeX1Xp3257beE++x2g+lU+x5buWn5YcHEhw1yfXM07/zNSeajezp9U1kOB25bosIJpcbHl4GtwEDtybd9/MIQrElOM5tnTn0g9YWXwZ4HzgwO3o7bCIBGAHEXEofSjAMKq7FjhwD6YPKnt6PHdc+TzIDwMHbpqnlXglc0l299t3W0TDij0r+Ee3fJQv2bnE8lxJoAoPAwXusl3LHEGCaNjXt88C0avHX2VHskdYa7LV8jwoN4EC9730e6647OrdVXi/6I1FNM3ljPs8y7PLd1zu+MMUKg1wJlDgnsifcB3+0ezRwvv9/fsLeWSCOOEFClzIVbeUZVnj9eKOxYZpLJbtznWLt4HIBwrcDM8UBQXA7uzdaSuX5Vm28sDKQImGqK2XVXyQ5/mire9I7WC9vNdWDnJ3b99e2/NqPggM596+93Yu+hOcQFEBi7Koezh72KlaVZ4HBtzDmcMGQOWg0JfvK6e673UDAy6cNTqc64ZAb94uLtzKV/pdYMBN59WWmRcAUjmrw8dL3UqUDQy4frgV+/igWFAySU/u5MqD8qXmQ6hjQUqB4Vw/5CX05CDpuoEBN2hc58cXEBhwTSdMOYOCthGkHykQ4N7dcUe5Wlg5v0nF6lbV/F2/6D94nnqw5jdvsWGz6tmRoTSplR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OpskB+u/U+8s/IE0e4FbaldS3/yitf9FKswdNQKRTDrCgUxa4ILDuUjpp45j+SRuoIyesAJyciBpIu3A/C0euK97j1Cj4cyFPvWgAIg0zD01D90QQs458LRtcEMTZXcZyezkzvdQzmKhYpMQf0ghFIsZJTFg/Q1gRDmPjdPIdjBHshyhn56TUrHFbzlliIj1fwAVB44hs8n96nizE3gQgX8oRV07d9g1cswFDkyhjD65JZ6CvMGmxhjb1gat9w8Q3QiIYhuXzJlk+0t+ZFMsEJg9TnXbe4xgAv/vkO0Gxg7r7ZsU6A5nXdcCU2qeKgmt2qtzDKk06vlxpUozWx+kobdpdWeFU8QbE/huTHumeWltgxYp+5GmkxRxJfjQj0hhQcM2GYdJidzwOzKiodkGji9Kpp1j6nq7YCmv2p1LXqoArD2bTkkd4NtnP4BAqWWelkcC5Ap8D/gTjLFogldsZ6Puqd8BtwG3LHiOnDQGOE5ylBE8b3JnwhrkdxClVG7wdRGAQgaII/B9X5EAkCw9HaQAAAABJRU5ErkJggg=='>
<link rel='stylesheet' href='/shared/style/modal.css'>
<link rel='stylesheet' href='/shared/main/style.css'>
<link rel='stylesheet' href='/mail/mail.css'>
</head>
<body>
<div id="infoOverlay" class='overlay'>
</div>
<img class='logo' src='/shared/onionr-icon.png' alt='onionr logo'>
<span class='logoText'>Onionr Mail ✉️</span>
<div class='content'>
<div>Current Used Identity: <input class='myPub' type='text' readonly> <button class='refresh'>Refresh Page</button></div>
<br><br>
<div class="btn-group" id='tabBtns'>
<button class='activeTab'>Inbox</button><button>Sentbox</button><button>Send Message</button>
</div>
<div id='threads' class='threads'>
<div id='threadPlaceholder'>Nothing here yet 😞</div>
</div>
<div id='messageDisplay' class='overlay'>
<div class='overlayContent'>
<span class='closeOverlay' overlay='messageDisplay'></span>
<div>
From: <input type='text' id='fromUser' readonly> Signature: <span id='sigValid'></span>
</div>
<div id='signatureValidity'></div>
<div id='threadDisplay' class='pre messageContent'>
</div>
</div>
</div>
<div id='sentboxDisplay' class='overlay'>
<div class='overlayContent'>
<span class='closeOverlay' overlay='sentboxDisplay'></span>
To: <input id='toID' readonly type='text'>
<div id='sentboxDisplayText' class='pre messageContent'>
</div>
</div>
</div>
<div id='sendMessage' class='overlay'>
<div class='overlayContent'>
<form method='post' action='/apipoints/mail/send' id='sendForm' enctype="application/x-www-form-urlencoded">
<span class='closeOverlay' overlay='sendMessage'></span>
To: <input id='draftID' type='text' name='to' placeholder='pubkey' required>
<textarea name='message' placeholder='type your message...' id='draftText' required></textarea>
<input type='submit' value='Send' class='successBtn'>
</form>
</div>
</div>
</div>
<script src='/shared/misc.js'></script>
<script src='/mail/mail.js'></script>
<script src='/mail/sendmail.js'></script>
</body>
</html>