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

173 lines
6.9 KiB
HTML
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>
Onionr Mail
</title>
<link rel='shortcut icon' type='image/ico' href='/shared/images/favicon.ico'>
<link rel="stylesheet" href="/shared/fontawesome-free-5.10.2/css/all.min.css">
<link rel='stylesheet' href="/shared/main/PNotifyBrightTheme.css">
2019-08-30 09:23:44 +00:00
<link rel="stylesheet" href="/shared/main/bulma.min.css">
2019-10-04 21:49:35 +00:00
<link rel='stylesheet' href='/shared/main/bulmaswatch.min.css'>
<link rel="stylesheet" href="/shared/main/styles-new.css">
2019-07-29 18:05:27 +00:00
<link rel="stylesheet" href="/mail/mail.css">
<script defer src='/shared/node_modules/pnotify/dist/iife/PNotify.js'></script>
<script defer src='/shared/node_modules/pnotify/dist/iife/PNotifyButtons.js'></script>
<script defer src='/shared/navbar.js'></script>
<script defer src='/shared/misc.js'></script>
2019-09-09 08:23:09 +00:00
<script defer src='/mail/sethumanreadable.js'></script>
<script defer src='/mail/mail.js'></script>
<script defer src='/mail/sendmail.js'></script>
</head>
<body>
<nav class="navbar is-dark" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item idLink" href="/">
<img src="/shared/images/favicon.ico" class="navbarLogo"> Onionr
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false"
data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item idLink" href="/">Home</a>
<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-07-27 21:56:06 +00:00
<a class="navbar-item idLink" href="/chat/">Chat</a>
2019-03-11 05:10:37 +00:00
</div>
</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">
Private and safe messages
</h2>
2019-02-28 03:02:44 +00:00
</div>
<div class="column is-7">
<div class="field">
<div class="field has-addons">
<p class="control">
<a class="button is-static">Identity</a>
</p>
<p class="control is-expanded">
<input id="myPub" class="input myPub" type="text" readonly>
</p>
<p class="control">
<a id="myPubCopy" class="button is-primary"><i class="fas fa-copy"></i></a>
</p>
</div>
</div>
<div class="field is-grouped is-grouped-centered">
<p class="control">
<a class="button is-link refresh">Refresh Page</a>
</p>
</div>
2019-02-05 06:29:06 +00:00
</div>
</div>
</div>
</div>
</section>
<br>
2019-07-10 03:17:56 +00:00
<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 class='button is-primary'>Add to Contacts</button></span>
</div>
<div class='break-up'>
Subject: <span id='subjectView'></span>
</div>
<div>
2019-09-01 09:13:46 +00:00
<button id='replyBtn' class='button is-primary break-up'>Reply</button>
2019-07-10 03:17:56 +00:00
</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'>
2019-08-30 09:23:44 +00:00
<div class="field">
<label><i class="fas fa-user"></i> Select friend: <select id='friendSelect'></select></label>
2019-08-30 09:23:44 +00:00
</div>
2019-07-10 03:17:56 +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">
To: <input id='draftID' type='text' name='to' placeholder='pubkey or select above' required>
2019-08-30 09:23:44 +00:00
</div>
2019-07-10 03:17:56 +00:00
Subject: <input name='subject' id='draftSubject' maxlength=25 type='text'
placeholder='message subject'>
2019-08-30 09:23:44 +00:00
<div class="field">
<textarea name='message' class="textarea" placeholder='type your message...' id='draftText' required></textarea>
</div>
<input type='submit' value='Send' class='button is-success successBtn'>
2019-07-10 03:17:56 +00:00
</form>
</div>
</div>
<!--Start of content-->
<div class="container">
<div class="tabs" id="tabBtns">
<ul>
<li class="is-active">
<a>
<span id="inboxTab">Inbox</span>
</a>
</li>
<li>
<a>
<span>Sent</span>
</a>
</li>
<li>
<a>
<span>Compose</span>
</a>
</li>
</ul>
</div>
<div class='content' id='noInbox'>No messages to show ¯\_(ツ)_/¯</div>
2019-07-10 03:17:56 +00:00
<div class='content'>
<div class='mailPing'>
API server either shutdown, has disabled mail, or has experienced a bug.
</div>
2019-07-10 03:17:56 +00:00
<div id='threads' class='threads'>
<div id='threadPlaceholder'>Nothing here yet 😞</div>
</div>
</div>
</div>
2019-07-10 03:17:56 +00:00
<div id="infoOverlay" class='overlay'>
</div>
</body>
</html>