feathermost/index.html

51 lines
1.6 KiB
HTML
Raw Normal View History

2020-03-24 22:47:39 +01:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
2020-03-26 16:06:42 +01:00
<title>Feathermost</title>
2020-03-26 21:29:50 +01:00
<link rel="stylesheet" href="/assets/main.css"/>
2020-03-24 22:47:39 +01:00
</head>
<body>
2020-03-26 21:29:50 +01:00
<div id="noscript">
<p>This application cannot work without JavaScript, unfortunately. In order to proceed, please enable it for this website.</p>
<p>Feathermost is an alternative webclient for the Mattermost chat platform. It is not possible to provide a JavaScript-less experience without having to trust us with your user data.</p>
</div>
<script type="text/javascript">document.body.innerHTML = "";</script>
<h1><img src="/assets/feathermost.svg" alt=""/> Feathermost</h1>
<div id="server_selection">
<ul id="server_selection_list"></ul>
<a href="#login"><button id="server_selection_add">Add a server</button></a>
</div>
<div id="login">
<h2>Add a server</h2>
2020-03-25 17:05:25 +01:00
<table>
2020-03-26 21:29:50 +01:00
<tr id="login_server_row">
<th>Server</th>
<td><input type="text" id="login_server" value="http://localhost:8080" required/></td>
</tr><tr>
<th>Email or username</th>
<td><input type="text" id="login_login_id" required/></td>
2020-03-26 21:29:50 +01:00
</tr><tr>
<th>Password</th>
<td><input type="password" id="login_password" required/></td>
</tr>
2020-03-25 17:05:25 +01:00
</table>
2020-03-26 16:01:09 +01:00
<button id="login_button">Log in</button>
<a href="#"><button id="server_selection_add">Cancel</button></a>
2020-03-26 21:29:50 +01:00
<div id="login_message"></div>
</div>
<ul id="channel_list"></ul>
2020-03-26 16:01:09 +01:00
<div id="channel_contents"></div>
2020-03-26 16:01:09 +01:00
2020-03-26 21:29:50 +01:00
<script type="text/javascript" src="/ajax.js"></script>
<script type="text/javascript" src="/main.js"></script>
2020-03-24 22:47:39 +01:00
</body>
</html>