1
Fork 0
mirror of https://github.com/Steffo99/synapse-account-provisioner.git synced 2024-12-22 14:54:25 +00:00
synapse-account-provisioner/index.html

89 lines
No EOL
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<title>Synapse Account Provisioner</title>
<link rel="stylesheet" href="https://unpkg.com/@steffo/bluelib@9.0.1/dist/base.root.min.css" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/@steffo/bluelib@9.0.1/dist/classic.root.min.css" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/@steffo/bluelib@9.0.1/dist/glass.root.min.css" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/@steffo/bluelib@9.0.1/dist/layouts-center.root.min.css" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/@steffo/bluelib@9.0.1/dist/colors-royalblue.root.min.css" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/@steffo/bluelib@9.0.1/dist/fonts-fira-ghpages.root.min.css" type="text/css" />
<script src="index.js"></script>
</head>
<body class="theme-bluelib layout-center">
<header>
<h1>
Synapse Account Provisioner
</h1>
</header>
<main>
<h2>
Create a new account
</h2>
<div class="chapter-1">
<form class="panel box form-flex" id="form-account">
<h3>
Homeserver details
</h3>
<label>
<span>URL</span>
<input type="text" id="input-homeserver" placeholder="https://uniberry.info">
<span></span>
</label>
<label>
<span>Secret</span>
<input type="text" id="input-registrationsecret" placeholder="June-Stardom-Matter-Thinly-Stream3-Curing">
<span></span>
</label>
<h3>
Account details
</h3>
<label>
<span>Username</span>
<input type="text" id="input-username" placeholder="steffo">
<span></span>
</label>
<label>
<span>Display name</span>
<input type="text" id="input-displayname" placeholder="Steffo">
<span></span>
</label>
<label>
<span>Password</span>
<input type="password" id="input-password" placeholder="hunter2">
<span></span>
</label>
<div class="form-flex-choice">
<span>Privileges</span>
<div>
<label>
<input type="checkbox" id="input-isadmin">
Homeserver administrator
</label>
</div>
<span></span>
</div>
<h3>
Actions
</h3>
<label>
<span></span>
<button id="button-create">Create</button>
<span></span>
</label>
<h3>
Result
</h3>
<div class="form-flex-choice">
<span></span>
<pre><output><code id="output" class="fade">No output yet.</code></output></pre>
<span></span>
</div>
</form>
</div>
</main>
<footer>
</footer>
</body>
</html>