feathermost/index.html

33 lines
1 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-24 22:47:39 +01:00
</head>
<body>
2020-03-25 17:05:25 +01:00
<form>
<table>
<tr><th>Server</th><td><input type="text" id="server" value="http://localhost:8080"/></td></tr>
<tr><th>Username</th><td><input type="text" id="username"/></td></tr>
<tr><th>Password</th><td><input type="password" id="password"/></td></tr>
</table>
2020-03-26 16:01:09 +01:00
<input type="button" onclick="logIn(); return false" id="login" value="Log in"/>
<span id="login_message"></span><br/>
<input type="button" onclick="validateToken(); return false" id="validate" value="Validate token"/>
<span id="validate_message">(ignores username and password)</span><br/>
<input type="button" onclick="logOut(); return false" id="logout" value="Log out"/>
<span id="logout_message"></span><br/>
2020-03-25 17:05:25 +01:00
</form>
2020-03-26 16:01:09 +01:00
<pre id="user_json"></pre>
2020-03-25 17:05:25 +01:00
<script type="text/javascript" src="xhr.js"></script>
2020-03-24 22:47:39 +01:00
<script type="text/javascript" src="main.js"></script>
</body>
</html>