artemis/core/templates/gate/gate.jinja

32 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

{% extends "core/templates/index.jinja" %}
2023-02-19 20:40:25 +00:00
{% block content %}
<h1>Gate</h1>
{% include "core/templates/widgets/err_banner.jinja" %}
<style>
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
/* Firefox */
input[type=number] {
-moz-appearance: textfield;
}
</style>
2024-06-08 23:18:15 +00:00
<form id="login" style="max-width: 240px; min-width: 15%;" action="/gate/gate.login" method="post">
2023-02-19 20:40:25 +00:00
<div class="form-group row">
2024-06-08 23:18:15 +00:00
<label for="access_code">Access Code or Username</label><br>
<input form="login" class="form-control" name="access_code" id="access_code" placeholder="00000000000000000000" maxlength="20" required aria-describedby="access_code_help">
<div id="access_code_help" class="form-text">20 Digit access code from a card registered to your account, or your account username. (NOT your username from a game!)</div>
2023-02-19 20:40:25 +00:00
</div>
<div class="form-group row">
<label for="passwd">Password</label><br>
2024-06-08 23:18:15 +00:00
<input id="passwd" class="form-control" name="passwd" type="password" placeholder="password" aria-describedby="passwd_help">
<div id="passwd_help" class="form-text">Leave blank if registering for the webui. Your card must have been used on a game connected to this server to register.</div>
2023-02-19 20:40:25 +00:00
</div>
<p></p>
<input id="submit" class="btn btn-primary" style="display: block; margin: 0 auto;" form="login" type="submit" value="Login">
</form>
{% endblock content %}