2023-02-25 05:02:27 +01:00
|
|
|
{extends file='Tpl:empty.tpl'}
|
2023-03-05 00:32:16 +01:00
|
|
|
{block name="pagetitle"}{/block}
|
2023-02-25 05:02:27 +01:00
|
|
|
{block name="content"}
|
2023-03-05 00:32:16 +01:00
|
|
|
<main class="form-signin w-100 m-auto text-center">
|
|
|
|
<form action="login" method="POST">
|
|
|
|
<img class="mb-4" src="{static_url path="images/logo.svg"}" alt="" width="100">
|
|
|
|
<h1 class="h3 mb-3 fw-normal">{t domain=$CORE_TEXT_DOMAIN}Sign in{/t}</h1>
|
|
|
|
|
|
|
|
{include file='Tpl:errors.tpl'}
|
|
|
|
{include file='Tpl:messages.tpl'}
|
|
|
|
|
|
|
|
<div class="form-floating">
|
|
|
|
<input type="text" class="form-control" id="input_username" name="username"
|
|
|
|
placeholder="{t domain=$CORE_TEXT_DOMAIN}Username{/t}"/>
|
|
|
|
<label for="input_username">{t domain=$CORE_TEXT_DOMAIN}Username{/t}</label>
|
|
|
|
</div>
|
|
|
|
<div class="form-floating">
|
|
|
|
<input type="password" class="form-control" id="input_password" name="password"
|
|
|
|
placeholder="{t domain=$CORE_TEXT_DOMAIN}Password{/t}"/>
|
|
|
|
<label for="input_password">{t domain=$CORE_TEXT_DOMAIN}Password{/t}</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<button class="w-100 btn btn-lg btn-primary" type="submit">
|
|
|
|
{t domain=$CORE_TEXT_DOMAIN}Submit{/t}
|
|
|
|
</button>
|
|
|
|
{foreach $display_other_methods as $method => $name}
|
|
|
|
<a class='btn btn-secondary w-100 my-2' href='login?method={$method}&next={$next|escape:"url"}'>{$name}</a>
|
|
|
|
{/foreach}
|
|
|
|
</form>
|
|
|
|
</main>
|
2023-02-25 05:02:27 +01:00
|
|
|
{/block}
|
|
|
|
{*
|
|
|
|
# vim: autoindent expandtab tabstop=2 shiftwidth=2 softtabstop=2
|
|
|
|
*}
|