75 lines
3.6 KiB
HTML
Executable File
75 lines
3.6 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset='utf-8'>
|
|
<title>
|
|
Onionr Mail
|
|
</title>
|
|
<link rel='shortcut icon' type='image/ico' href='/shared/images/favicon.ico'>
|
|
<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>
|
|
<div class='content'>
|
|
<img class='logo' src='/shared/images/onionr-icon.png' alt='onionr logo'>
|
|
<span class='logoText'>Onionr Mail ✉️</span>
|
|
<br><br>
|
|
<div><a href='/' class='idLink'>Home</a> <button class='refresh'>Refresh Page</button></div>
|
|
<div class='mailPing'>
|
|
API server either shutdown, has disabled mail, or has experienced a bug.
|
|
</div>
|
|
<br>
|
|
<div>🕵️♂️ Current Used Identity: <input class='myPub' type='text' readonly></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> <span id='addUnknownContact'><button>Add to Contacts</button></span>
|
|
</div>
|
|
<div class='break-up'>
|
|
Subject: <span id='subjectView'></span>
|
|
</div>
|
|
<div>
|
|
<button id='replyBtn' class='primaryBtn break-up'>Reply</button>
|
|
</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'>
|
|
<label>Select friend: <select id='friendSelect'></select></label>
|
|
<form method='post' action='' 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>
|
|
Subject: <input name='subject' id='draftSubject' maxlength=25 type='text' placeholder='message subject'>
|
|
<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> |