2019-02-21 20:25:45 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset='utf-8'>
|
|
|
|
<title>
|
|
|
|
Onionr
|
|
|
|
</title>
|
2019-06-18 03:36:19 +00:00
|
|
|
<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>
|
2019-03-09 06:37:57 +00:00
|
|
|
<div id="friendInfo" class='overlay'>
|
|
|
|
<div class='overlayContent'>
|
2019-03-13 04:56:26 +00:00
|
|
|
<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>
|
2019-03-09 06:37:57 +00:00
|
|
|
<button id='defriend' class='warnBtn'>Unfriend</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2019-02-21 20:25:45 +00:00
|
|
|
<div class='content'>
|
2019-06-18 03:36:19 +00:00
|
|
|
<img class='logo' src='/shared/images/onionr-icon.png' alt='onionr logo'>
|
2019-06-16 20:56:22 +00:00
|
|
|
<span class='logoText'>Onionr Friends</span>
|
2019-02-24 00:11:43 +00:00
|
|
|
<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>
|
2019-06-16 20:56:22 +00:00
|
|
|
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>
|