AIRA/src/frontend/index.html

60 lines
2.3 KiB
HTML
Raw Normal View History

2021-03-20 18:03:47 +01:00
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AIRA</title>
<link rel="stylesheet" href="/static/commons/style.css">
2021-04-26 19:34:24 +02:00
<link rel="stylesheet" href="/static/index.css">
2021-03-20 18:03:47 +01:00
</head>
<body>
<main id="main">
<div id="left_panel" class="panel">
<div id="me">
<div></div>
<button id="logout" title="Log out"></button>
</div>
<div id="refresher">
<button title="Refresh"></button>
</div>
<p class="section_title">Online peers:</p>
<ul id="online_sessions">
</ul>
<p class="section_title">Offline contacts:</p>
<ul id="offline_sessions">
</ul>
<div id="connect_box">
<p class="section_title">Add a new peer by IP:</p>
<input type="text" id="ip_input" placeholder="Enter IP address">
</div>
</div>
<div id="right_panel" class="panel">
<div id="chat_header">
<div></div>
<button id="delete_conversation" title="Delete conversation"></button>
<button id="verify" title="Verify"></button>
<button id="add_contact" title="Add to contact"></button>
<button id="remove_contact" title="Remove from contact"></button>
</div>
<ul id="msg_log">
</ul>
<div id="message_box">
<input type="text" id="message_input" placeholder="Send a message...">
<label title="Send file" class="file_picker">
<input type="file" id="attach_file">
</label>
</div>
</div>
</main>
<script>
2021-04-26 19:34:24 +02:00
//replaced by web server
2021-03-20 18:03:47 +01:00
let is_identity_protected = IS_IDENTITY_PROTECTED;
2021-04-26 19:34:24 +02:00
let websocket_port = WEBSOCKET_PORT;
2021-03-20 18:03:47 +01:00
</script>
2021-04-26 19:34:24 +02:00
<script src="/static/libs/linkify.min.js"></script>
<script src="/static/libs/linkify-element.min.js"></script>
<script src="/static/commons/script.js"></script>
<script src="/static/index.js"></script>
2021-03-20 18:03:47 +01:00
</body>
</html>