Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/templates/site/user/login.jet.html
kilo 1b0211cfb9 Remove https for dlsite, fix few html errors, small css improvements (#1551)
* Remove https for dlsite

* Update listing.jet.html

* Update torrent_item.jet.html

* Update torrent_item_upload.jet.html

* Update torrents.jet.html

* remove role attribute

* remove role attribute

* login & register page styling

* website-nav stylisation for main.css

* remove now useless css rules

* up to date main.css

* OwO

* Update main.css

* Last stylisation changes for classic's nav

* margin-left

* add categories

* add TestgenSearchWithCategory to template_test

* add genSearchWithCategory function

* forgot to close the function call

* Update template_functions_test.go

* Update template_functions.go

* Update template_functions.go

* attempt at fixing template_functions

* Update template_functions.go
2017-09-12 00:17:35 +02:00

28 lignes
1,2 Kio
HTML

{{ extends "layouts/index_site" }}
{{ import "layouts/partials/helpers/csrf" }}
{{ import "layouts/partials/helpers/errors" }}
{{block title()}}{{ T("sign_in_title") }}{{end}}
{{block content_body()}}
<div class="box">
<div class="user-form">
<form method="POST">
{{ yield csrf_field()}}
<h2>{{ T("sign_in_box_title")}}</h2>
<input type="text" name="username" id="username" class="form-input up-input" autofocus placeholder="{{ T("email_address_or_username")}}"/>
<br/>
{{ yield errors(name="Username")}}
<input type="password" name="password" id="password" class="form-input up-input" placeholder="{{ T("password")}}"/>
<br/>
{{ yield errors(name="Password")}}
<input type="hidden" name="redirectTo" value="{{ Form.RedirectTo }}"/>
<input type="checkbox" name="remember_me" id="remember_me" value="remember" checked="checked"><label class="input-label" for="remember_me">{{ T("remember_me") }}</label><br><br>
<input type="submit" class="form-input" value="{{ T("signin")}}"/>
<a href="/register" class="btn btn-lg btn-primary btn-block">{{ T("register")}}</a>
</form>
</div>
</div>
<br/>
<br/>
{{end}}