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

89 lines
2.6 KiB
HTML
Raw Permalink Normal View History

2023-08-26 03:36:40 +00:00
<!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" />
2023-08-28 23:56:39 +00:00
<script src="index.js"></script>
2023-08-26 03:36:40 +00:00
</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">
2023-08-28 23:56:39 +00:00
<form class="panel box form-flex" id="form-account">
2023-08-26 03:36:40 +00:00
<h3>
Homeserver details
</h3>
<label>
<span>URL</span>
2023-08-28 23:56:39 +00:00
<input type="text" id="input-homeserver" placeholder="https://uniberry.info">
2023-08-26 03:36:40 +00:00
<span></span>
</label>
<label>
<span>Secret</span>
2023-08-28 23:56:39 +00:00
<input type="text" id="input-registrationsecret" placeholder="June-Stardom-Matter-Thinly-Stream3-Curing">
2023-08-26 03:36:40 +00:00
<span></span>
</label>
<h3>
Account details
</h3>
<label>
<span>Username</span>
2023-08-28 23:56:39 +00:00
<input type="text" id="input-username" placeholder="steffo">
<span></span>
</label>
<label>
<span>Display name</span>
<input type="text" id="input-displayname" placeholder="Steffo">
2023-08-26 03:36:40 +00:00
<span></span>
</label>
<label>
<span>Password</span>
2023-08-28 23:56:39 +00:00
<input type="password" id="input-password" placeholder="hunter2">
2023-08-26 03:36:40 +00:00
<span></span>
</label>
<div class="form-flex-choice">
<span>Privileges</span>
<div>
<label>
2023-08-28 23:56:39 +00:00
<input type="checkbox" id="input-isadmin">
2023-08-26 03:36:40 +00:00
Homeserver administrator
</label>
</div>
<span></span>
</div>
<h3>
Actions
</h3>
<label>
<span></span>
2023-08-28 23:56:39 +00:00
<button id="button-create">Create</button>
2023-08-26 03:36:40 +00:00
<span></span>
</label>
2023-08-28 23:56:39 +00:00
<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>
2023-08-26 03:36:40 +00:00
</form>
</div>
</main>
<footer>
</footer>
</body>
</html>