feathermost/index.html

41 lines
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width" />
<title>Feathermost</title>
<link rel="stylesheet" href="/assets/main.css"/>
</head>
<body>
<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>
<form id="login">
<h2 id="add-a-server">Add a server</h2>
<table>
<tr id="login_server_row">
<th>Server</th>
<td><input type="text" id="login_server" value="http://localhost:8080" required/></td>
</tr><tr>
<th>Username</th>
<td><input type="text" id="login_username" required/></td>
</tr><tr>
<th>Password</th>
<td><input type="password" id="login_password" required/></td>
</tr>
</table>
<input type="button" id="login_button" value="Log in"/>
<div id="login_message"></div>
</form>
<pre id="user_json"></pre>
<script type="text/javascript" src="/ajax.js"></script>
<script type="text/javascript" src="/main.js"></script>
</body>
</html>