mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Create society service with basic functionality and auth #118
This commit is contained in:
1 parent
e09aeceed3
commit
e3183eb238
51 files changed
+1424
-77
No files matched your search
@@ -0,0 +1,197 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<!-- Primary Meta Tags -->
|
||||
<title>Login - Openjam</title>
|
||||
<meta name="title" content="Login - Openjam" />
|
||||
<meta name="description" content="Connect to a third-party Robocraft servers account" />
|
||||
|
||||
<!-- Open Graph / Facebook -->
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:url" content="https://git.ngram.ca/OpenJam/rc-servers" />
|
||||
<meta property="og:title" content="Login - Openjam" />
|
||||
<meta property="og:description" content="Connect to a third-party Robocraft servers account" />
|
||||
<meta property="og:image" content="https://git.ngram.ca/OpenJam/rc-servers/raw/branch/main/assets/robocraft/favicon.jpg" />
|
||||
|
||||
<!-- Twitter -->
|
||||
<meta property="twitter:card" content="summary" />
|
||||
<meta property="twitter:url" content="https://git.ngram.ca/OpenJam/rc-servers" />
|
||||
<meta property="twitter:title" content="Login - Openjam" />
|
||||
<meta property="twitter:description" content="Connect to a third-party Robocraft servers account" />
|
||||
<meta property="twitter:image" content="https://git.ngram.ca/OpenJam/rc-servers/raw/branch/main/assets/robocraft/favicon.jpg" />
|
||||
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
<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: "*required";
|
||||
color: red;
|
||||
font-size: 12px;
|
||||
}
|
||||
input {
|
||||
width: 100%;
|
||||
height: 40px;
|
||||
border: thin solid white;
|
||||
background-color: lightgrey;
|
||||
font-size: 20px;
|
||||
}
|
||||
.input-required-hint::after {
|
||||
color: red;
|
||||
/*content: "*required";*/
|
||||
font-size: 12px;
|
||||
}
|
||||
.form-disclaimer {
|
||||
margin: 0 auto;
|
||||
width: 95%;
|
||||
}
|
||||
.form-submit {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.form-submit-button {
|
||||
background-color: black;
|
||||
color: lightgrey;
|
||||
}
|
||||
.fake-button {
|
||||
padding-top: 25px;
|
||||
padding-left: 25px;
|
||||
padding-right: 25px;
|
||||
margin: 0 auto;
|
||||
text-align: center;
|
||||
font-size: 20px;
|
||||
}
|
||||
.fake-button-anchor {
|
||||
width: 100%;
|
||||
background-color: black;
|
||||
color: lightgrey;
|
||||
border: 1px solid white;
|
||||
display: inline-block;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
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">Login to <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="/login" method="post">
|
||||
<div class="form-input">
|
||||
<div class="form-input-label">
|
||||
<label for="username">Username</label>
|
||||
</div>
|
||||
<input class="form-input-box" type="text" id="username" name="username" value="{{form.username}}" placeholder="username" required/>
|
||||
<span class="input-required-hint"></span>
|
||||
</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/>
|
||||
<span class="input-required-hint"></span>
|
||||
</div>
|
||||
|
||||
<div class="form-disclaimer">
|
||||
<p>By submitting, you agree to the <a href="https://git.ngram.ca/OpenJam/rc-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>
|
||||
Reference in new issue
Block a user