1b0211cfb9
* 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
27 lignes
1,2 Kio
HTML
27 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}}
|