2019-01-30 06:10:29 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
2019-06-28 21:24:34 +00:00
|
|
|
|
|
|
|
<head>
|
2020-02-10 14:01:49 +00:00
|
|
|
<meta charset="utf-8">
|
2019-06-28 21:24:34 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<title>
|
|
|
|
Onionr Mail
|
|
|
|
</title>
|
2020-02-10 14:01:49 +00:00
|
|
|
<link rel="shortcut icon" type="image/ico" href="/shared/images/favicon.ico">
|
2019-09-01 00:13:59 +00:00
|
|
|
<link rel="stylesheet" href="/shared/fontawesome-free-5.10.2/css/all.min.css">
|
2020-02-10 14:01:49 +00:00
|
|
|
<link rel="stylesheet" href="/shared/main/PNotifyBrightTheme.css">
|
2019-10-05 23:35:40 +00:00
|
|
|
<link rel="stylesheet" href="/gettheme">
|
2020-02-09 09:11:41 +00:00
|
|
|
<link rel="stylesheet" href="/shared/node_modules/bulma-switch/dist/css/bulma-switch.min.css">
|
2019-07-29 18:05:27 +00:00
|
|
|
<link rel="stylesheet" href="/mail/mail.css">
|
2020-02-10 14:01:49 +00:00
|
|
|
<script defer src="/shared/node_modules/pnotify/dist/iife/PNotify.js"></script>
|
|
|
|
<script defer src="/shared/node_modules/pnotify/dist/iife/PNotifyButtons.js"></script>
|
2019-10-16 08:55:45 +00:00
|
|
|
<script defer src="/shared/main/apicheck.js"></script>
|
2020-02-10 14:01:49 +00:00
|
|
|
<script defer src="/shared/misc.js"></script>
|
|
|
|
<script defer src="/mail/sethumanreadable.js"></script>
|
|
|
|
<script defer src="/mail/mail.js"></script>
|
|
|
|
<script defer src="/mail/sendmail.js"></script>
|
2020-02-12 07:19:59 +00:00
|
|
|
<script defer src="/mail/closesettings.js"></script>
|
2020-02-10 14:01:49 +00:00
|
|
|
<script defer src="/shared/navbar.js"></script>
|
2019-06-28 21:24:34 +00:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<nav class="navbar is-dark" role="navigation" aria-label="main navigation">
|
|
|
|
<div class="navbar-brand">
|
|
|
|
<a class="navbar-item idLink" href="/">
|
2019-10-11 09:28:43 +00:00
|
|
|
<img src="/shared/images/favicon.ico" class="navbarLogo">
|
2019-06-28 21:24:34 +00:00
|
|
|
</a>
|
|
|
|
|
|
|
|
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false"
|
2019-12-06 07:21:30 +00:00
|
|
|
data-target="navbarBasic">
|
2019-06-28 21:24:34 +00:00
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
<span aria-hidden="true"></span>
|
|
|
|
</a>
|
2019-01-30 06:10:29 +00:00
|
|
|
</div>
|
2019-06-28 21:24:34 +00:00
|
|
|
|
2019-12-06 07:21:30 +00:00
|
|
|
<div id="navbarBasic" class="navbar-menu">
|
2019-06-28 21:24:34 +00:00
|
|
|
<div class="navbar-start">
|
|
|
|
<a class="navbar-item idLink" href="/mail/">Mail</a>
|
|
|
|
<a class="navbar-item idLink" href="/friends/">Friends</a>
|
|
|
|
<a class="navbar-item idLink" href="/board/">Circles</a>
|
2019-03-11 05:10:37 +00:00
|
|
|
</div>
|
2019-06-28 21:24:34 +00:00
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
|
|
|
|
<!--Hero (Dark Section)-->
|
|
|
|
<section class="hero is-small is-dark">
|
|
|
|
<div class="hero-body">
|
|
|
|
<div class="container">
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column">
|
|
|
|
<h1 class="title">
|
|
|
|
Mail
|
|
|
|
</h1>
|
|
|
|
<h2 class="subtitle">
|
2019-09-10 06:05:59 +00:00
|
|
|
Private and safe messages
|
2019-06-28 21:24:34 +00:00
|
|
|
</h2>
|
2019-02-28 03:02:44 +00:00
|
|
|
</div>
|
2019-06-28 21:24:34 +00:00
|
|
|
<div class="column is-7">
|
|
|
|
<div class="field">
|
|
|
|
<div class="field has-addons">
|
|
|
|
<p class="control">
|
2020-01-28 06:29:20 +00:00
|
|
|
<a class="button is-static">
|
|
|
|
<i class="fas fa-fingerprint"></i>
|
|
|
|
</a>
|
2019-06-28 21:24:34 +00:00
|
|
|
</p>
|
|
|
|
<p class="control is-expanded">
|
|
|
|
<input id="myPub" class="input myPub" type="text" readonly>
|
|
|
|
</p>
|
|
|
|
<p class="control">
|
2019-09-01 00:13:59 +00:00
|
|
|
<a id="myPubCopy" class="button is-primary"><i class="fas fa-copy"></i></a>
|
2019-06-28 21:24:34 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-05 06:29:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-06-28 21:24:34 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<br>
|
2020-02-11 22:41:06 +00:00
|
|
|
<div id="messageDisplay" class="overlay">
|
|
|
|
<div class="overlayContent">
|
|
|
|
<span class="closeOverlay" overlay="messageDisplay"></span>
|
2019-07-10 03:17:56 +00:00
|
|
|
<div>
|
2020-02-11 22:41:06 +00:00
|
|
|
From: <input type="text" id="fromUser" readonly> Signature: <span id="sigValid"></span> <span
|
|
|
|
id="addUnknownContact"><button class="button is-primary">Add to Contacts</button></span>
|
2019-07-10 03:17:56 +00:00
|
|
|
</div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<div class="break-up">
|
|
|
|
Subject: <span id="subjectView"></span>
|
2019-07-10 03:17:56 +00:00
|
|
|
</div>
|
|
|
|
<div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<button id="replyBtn" class="button is-primary break-up">Reply</button>
|
2019-07-10 03:17:56 +00:00
|
|
|
</div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<div id="signatureValidity"></div>
|
|
|
|
<div id="threadDisplay" class="pre messageContent">
|
2019-07-10 03:17:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<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">
|
2019-07-10 03:17:56 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<div id="sendMessage" class="overlay">
|
|
|
|
<div class="overlayContent">
|
2019-08-30 09:23:44 +00:00
|
|
|
<div class="field">
|
2020-02-11 22:41:06 +00:00
|
|
|
<label><i class="fas fa-user"></i> Select friend: <select id="friendSelect"></select></label>
|
2019-08-30 09:23:44 +00:00
|
|
|
</div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<form method="post" action="" id="sendForm" enctype="application/x-www-form-urlencoded">
|
|
|
|
<span class="closeOverlay" overlay="sendMessage"></span>
|
2019-08-30 09:23:44 +00:00
|
|
|
<div class="field">
|
2020-02-11 22:41:06 +00:00
|
|
|
To: <input id="draftID" type="text" name="to" placeholder="pubkey or select above" required>
|
2019-08-30 09:23:44 +00:00
|
|
|
</div>
|
2020-02-12 07:19:59 +00:00
|
|
|
Subject: <input name="subject" id="draftSubject" maxlength="25" type="text"
|
2020-02-11 22:41:06 +00:00
|
|
|
placeholder="message subject">
|
2019-08-30 09:23:44 +00:00
|
|
|
<div class="field">
|
2020-02-11 22:41:06 +00:00
|
|
|
<textarea name="message" class="textarea" placeholder="type your message..." id="draftText" required></textarea>
|
2019-08-30 09:23:44 +00:00
|
|
|
</div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<input type="submit" value="Send" class="button is-success successBtn">
|
2019-07-10 03:17:56 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-09 09:11:41 +00:00
|
|
|
|
2020-02-10 14:01:49 +00:00
|
|
|
<div id="settingsModal" class="modal">
|
2020-02-09 09:11:41 +00:00
|
|
|
<div class="modal-background"></div>
|
|
|
|
<div class="modal-card">
|
|
|
|
<header class="modal-card-head">
|
2020-02-12 07:19:59 +00:00
|
|
|
<button id="closeSettingsModalButton" class="closeSettingsModal delete" aria-label="close"></button>
|
2020-02-09 09:11:41 +00:00
|
|
|
</header>
|
|
|
|
<section class="modal-card-body">
|
2020-02-10 14:01:49 +00:00
|
|
|
<div class="columns">
|
|
|
|
<div class="column">
|
2020-02-12 07:19:59 +00:00
|
|
|
Default forward secrecy
|
2020-02-10 14:01:49 +00:00
|
|
|
</div>
|
|
|
|
<div class="column is-2">
|
|
|
|
<div class="field">
|
|
|
|
<input id="forwardSecrecySetting" type="checkbox"
|
|
|
|
class="switch is-rounded is-warning" checked>
|
|
|
|
<label for="forwardSecrecySetting"></label>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-12 07:19:59 +00:00
|
|
|
</div>
|
|
|
|
<div class="columns">
|
2020-02-11 22:41:06 +00:00
|
|
|
<div class="column">
|
2020-02-12 07:19:59 +00:00
|
|
|
Keep messages when blocks are deleted
|
2020-02-11 22:41:06 +00:00
|
|
|
</div>
|
|
|
|
<div class="column is-2">
|
|
|
|
<div class="field">
|
2020-02-12 07:19:59 +00:00
|
|
|
<input id="maintainMessagesSetting" type="checkbox"
|
|
|
|
class="switch is-rounded">
|
|
|
|
<label for="maintainMessagesSetting"></label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
Signature
|
|
|
|
<textarea id="mailSignatureSetting" class="textarea" placeholder="Signature to add to every message" rows="5"></textarea>
|
|
|
|
<div class="columns">
|
|
|
|
<div class="column">
|
|
|
|
</div>
|
|
|
|
<div class="column is-2">
|
|
|
|
<div class="field">
|
|
|
|
|
2020-02-11 22:41:06 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-02-09 09:11:41 +00:00
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-06-28 21:24:34 +00:00
|
|
|
<!--Start of content-->
|
|
|
|
<div class="container">
|
2019-07-02 22:34:26 +00:00
|
|
|
<div class="tabs" id="tabBtns">
|
2019-06-28 21:24:34 +00:00
|
|
|
<ul>
|
|
|
|
<li class="is-active">
|
|
|
|
<a>
|
2020-02-09 09:11:41 +00:00
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-envelope"></i>
|
|
|
|
</span>
|
2019-09-01 00:13:59 +00:00
|
|
|
<span id="inboxTab">Inbox</span>
|
2019-06-28 21:24:34 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a>
|
2020-02-09 09:11:41 +00:00
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-paper-plane"></i>
|
|
|
|
</span>
|
2019-06-28 21:24:34 +00:00
|
|
|
<span>Sent</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a>
|
2020-02-09 09:11:41 +00:00
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-pen"></i>
|
|
|
|
</span>
|
2019-06-28 21:24:34 +00:00
|
|
|
<span>Compose</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2020-02-09 09:11:41 +00:00
|
|
|
<li>
|
|
|
|
<a>
|
|
|
|
<span class="icon">
|
|
|
|
<i class="fa fa-cog"></i>
|
|
|
|
</span>
|
|
|
|
<span>Settings</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
2019-06-28 21:24:34 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<div class="content" id="noInbox">No messages to show ¯\_(ツ)_/¯</div>
|
|
|
|
<div class="content">
|
|
|
|
<div class="mailPing">
|
2019-07-10 03:17:56 +00:00
|
|
|
API server either shutdown, has disabled mail, or has experienced a bug.
|
2019-02-09 06:32:11 +00:00
|
|
|
</div>
|
2020-02-11 22:41:06 +00:00
|
|
|
<div id="threads" class="threads">
|
|
|
|
<div id="threadPlaceholder">Nothing here yet 😞</div>
|
2019-06-28 21:24:34 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-07-10 03:17:56 +00:00
|
|
|
|
2020-02-11 22:41:06 +00:00
|
|
|
<div id="infoOverlay" class="overlay">
|
2019-07-10 03:17:56 +00:00
|
|
|
</div>
|
2019-06-28 21:24:34 +00:00
|
|
|
</body>
|
|
|
|
|
2019-01-30 06:10:29 +00:00
|
|
|
</html>
|