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

41 lines
1.7 KiB
HTML
Raw Permalink Normal View History

2019-02-21 20:25:45 +00:00
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>
Onionr
</title>
<link rel='shortcut icon' type='image/ico' href='/shared/images/favicon.ico'>
2019-02-21 20:25:45 +00:00
<link rel='stylesheet' href='/shared/style/modal.css'>
<link rel='stylesheet' href='/shared/main/style.css'>
<link rel='stylesheet' href='/friends/style.css'>
</head>
<body>
<div id="friendInfo" class='overlay'>
<div class='overlayContent'>
<span class='closeOverlay' overlay='friendInfo'></span>
2019-03-09 18:01:57 +00:00
<div>Name: <span id='friendName'></span></div>
<label>Public Key: <input id='friendPubkey' type='text' readonly></label>
<button id='defriend' class='warnBtn'>Unfriend</button>
</div>
</div>
2019-02-21 20:25:45 +00:00
<div class='content'>
<img class='logo' src='/shared/images/onionr-icon.png' alt='onionr logo'>
<span class='logoText'>Onionr Friends</span>
<br><br>
<a href='/' class='idLink'>Home</a>
2019-02-21 20:25:45 +00:00
<h2>Friend Manager</h2>
<form id='addFriend' action='/' method='POST'>
2019-03-04 19:03:35 +00:00
<label>Friend ID: <input type='text' name='addKey' placeholder='public key/ID' minlength="56" maxlength="56" required></label>
2019-02-22 21:04:03 +00:00
<label>Set Alias: <input type='text' name='data' placeholder='what to call them'></label>
<input type='submit' value='Add Friend' class='successBtn'>
2019-02-21 20:25:45 +00:00
</form>
2019-02-22 01:55:13 +00:00
<h2>Friend List:</h2>
Click name to view info<br><br>
<div id='friendList'>
</div>
2019-02-21 20:25:45 +00:00
</div>
<script src='/shared/misc.js'></script>
<script src='/friends/friends.js'></script>
</body>
</html>