treebird/templates/login.tt
nekobit cb0b676cd7 Bundle webshitter lib
FossilOrigin-Name: ce5d7f4522f9b7a75ed918b58ba51473975f37d7c9e11a273f5648c481dc14d9
2022-10-14 01:51:43 +00:00

33 lines
1.1 KiB
Text

<div class="simple-page">
<h1>[% lang('LOGIN') %]</h1>
[% IF error %]
<span class="e-error error-pad">
$error
</span>
[% END %]
<form action="/login" method="post">
<div class="form-group">
<label for="login-username">[% lang('LOGIN') %]: </label>
<input type="text" id="login-username" name="username">
</div>
<div class="form-group">
<label for="login-password">[% lang('PASSWORD') %]: </label>
<input type="password" id="login-password" name="password"><br>
</div>
<div class="form-group">
<input class="btn" type="submit" value="[% lang('LOGIN_BTN') %]">
</div>
</form>
<div class="text-gap-hairline"></div><h6> OR </h6><div class="text-gap-hairline"></div>
<form action="/login/oauth" method="post">
<div class="form-group">
<label for="instance-url">[% lang('INSTANCE_URL') %]: </label>
<input type="url" id="instance-url" name="instance">
<input class="btn btn-single" type="submit" value="[% lang('INSTANCE_SUBMIT') %]">
</div>
</form>
</div>