feathermost/index.html

22 lines
922 B
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-25 17:05:25 +01:00
<title>Bettermost</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>
<input type="button" onclick="this.disabled = true; this.value = 'Validating token'; validateToken(); return false" id="validate" value="Validate token"/> </input>(ignores username and password) <br/>
<input type="button" onclick="this.disabled = true; this.value = 'Logging in...'; logIn(); return false" value="Log in"/>
2020-03-25 17:05:25 +01:00
</form>
<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>