mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
173 lines
4.7 KiB
Handlebars
173 lines
4.7 KiB
Handlebars
<html>
|
|
<head>
|
|
<title>OpenJam Registration</title>
|
|
<link rel="icon" type="image/x-icon" href="/robocraft/favicon">
|
|
<style>
|
|
body {
|
|
background-color: lightgrey;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
.form-stripe {
|
|
position: relative;
|
|
min-width: 300px;
|
|
max-width: 500px;
|
|
height: auto;
|
|
min-height: 100%;
|
|
margin: 0 auto;
|
|
background-color: grey;
|
|
padding: 25px 0;
|
|
box-shadow: 0px 0px 50px 5px grey;
|
|
}
|
|
.form-banner {
|
|
position: relative;
|
|
min-width: 300px;
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
box-sizing: border-box;
|
|
background-color: dimgrey;
|
|
color: black;
|
|
padding: 25px;
|
|
}
|
|
.form-padded {
|
|
padding: 0 25px;
|
|
}
|
|
h1, h2, h3, h4, h5 {
|
|
text-align: center;
|
|
}
|
|
a { text-decoration-line: none; }
|
|
a:link { color: darkgrey; }
|
|
a:hover { color: white; }
|
|
a:visited { color: lightgrey; }
|
|
a:active { color: white; }
|
|
form {
|
|
padding-top: 25px;
|
|
padding-left: 25px;
|
|
padding-right: 25px;
|
|
padding-bottom: 250px;
|
|
}
|
|
.form-error {
|
|
position: relative;
|
|
min-width: 300px;
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
box-sizing: border-box;
|
|
background-color: orange;
|
|
}
|
|
.form-error-message {
|
|
padding: 25px;
|
|
margin: 0 auto;
|
|
width: 95%;
|
|
}
|
|
.form-input {
|
|
padding-top: 5px;
|
|
}
|
|
.form-input-label { display: none; }
|
|
input:required:invalid.form-input-box {
|
|
border-color: red;
|
|
}
|
|
input:required:invalid.form-input-box::after {
|
|
content: "*";
|
|
color: red;
|
|
}
|
|
input {
|
|
width: 100%;
|
|
height: 40px;
|
|
border: thin solid white;
|
|
background-color: lightgrey;
|
|
font-size: 20px;
|
|
}
|
|
.form-disclaimer {
|
|
margin: 0 auto;
|
|
width: 95%;
|
|
}
|
|
.form-submit {
|
|
margin: 0 auto;
|
|
}
|
|
.form-submit-button {
|
|
background-color: black;
|
|
color: lightgrey;
|
|
}
|
|
footer {
|
|
position: relative;
|
|
min-width: 300px;
|
|
max-width: 500px;
|
|
margin: 0 auto;
|
|
background-color: black;
|
|
}
|
|
.footer {
|
|
width: 95%;
|
|
color: lightgrey;
|
|
box-sizing: border-box;
|
|
padding: 25px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="form-stripe">
|
|
<h1 class="form-banner">Create an account for <a href="https://git.ngram.ca/OpenJam">OpenJam</a> servers</h1>
|
|
<h3 class="form-padded">FOSSifying proprietary games since 2025</h3>
|
|
{{#if error}}
|
|
<div class="form-error">
|
|
<p class="form-error-message">{{error}}</p>
|
|
</div>
|
|
{{/if}}
|
|
<form action="/register" method="post">
|
|
<div class="form-input">
|
|
<div class="form-input-label">
|
|
<label for="display_name">Username</label>
|
|
</div>
|
|
<input class="form-input-box" type="text" id="display_name" name="display_name" value="{{form.display_name}}" placeholder="username" required/>
|
|
</div>
|
|
|
|
<div class="form-input">
|
|
<div class="form-input-label">
|
|
<label for="password">Password</label>
|
|
</div>
|
|
<input class="form-input-box" type="password" id="password" name="password" value="{{form.password}}" placeholder="password" required/>
|
|
</div>
|
|
|
|
<div class="form-input">
|
|
<div class="form-input-label">
|
|
<label for="password_c">Password (again)</label>
|
|
</div>
|
|
<input class="form-input-box" type="password" id="password_c" name="password_c" value="{{form.password_c}}" placeholder="password (again)" required/>
|
|
</div>
|
|
|
|
<div class="form-input">
|
|
<div class="form-input-label">
|
|
<label for="email">Email</label>
|
|
</div>
|
|
<input class="form-input-box" type="email" id="email" name="email" value="{{form.email}}" placeholder="email@domain.tld"/>
|
|
</div>
|
|
|
|
<div class="form-input">
|
|
<div class="form-input-label">
|
|
<label for="steam_id">SteamID</label>
|
|
</div>
|
|
<input class="form-input-box" type="text" id="steam_id" name="steam_id" value="{{form.steam_id}}" placeholder="SteamID (7656119XXXXXXXXXX)"/>
|
|
</div>
|
|
|
|
<div class="form-disclaimer">
|
|
<p>By submitting, you agree to the <a href="https://git.ngram.ca/OpenJam/servers#privacy">privacy policy</a>.</p>
|
|
</div>
|
|
|
|
<div class="form-submit">
|
|
<input class="form-submit-button" type="submit" value="Submit">
|
|
</div>
|
|
|
|
<div class="form-disclaimer">
|
|
<p>This project is not affiliated with FreeJam, Cardlife or Robocraft. We're just fixing their """sunset""".</p>
|
|
</div>
|
|
</form>
|
|
<footer>
|
|
<div class="footer">
|
|
{{version}}
|
|
| <a href="{{source_url}}#readme">About</a>
|
|
| <a href="https://liberapay.com/NGram">Support Me</a>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
</html>
|