e9825a2683
* Remove Bootstrap and Jquery, and create basic nav * More improvements to navbar, as well as work on _badgemenu * Complete navbar HTML, obviously it still looks horrendous * Change layout on torrent table, using grids. * Remove Bootstrap and Jquery, and create basic nav * More improvements to navbar, as well as work on _badgemenu * Complete navbar HTML, obviously it still looks horrendous * Change layout on torrent table, using grids. * HOLY FUCK INDEX IS /DONE/ * DO UPLOAD PAGE, DELETE OLD SHITTY CSS * Complete login page * Remove Bootstrap and Jquery, and create basic nav * More improvements to navbar, as well as work on _badgemenu * Complete navbar HTML, obviously it still looks horrendous * Change layout on torrent table, using grids. * Remove Bootstrap and Jquery, and create basic nav * More improvements to navbar, as well as work on _badgemenu * Complete navbar HTML, obviously it still looks horrendous * HOLY FUCK INDEX IS /DONE/ * DO UPLOAD PAGE, DELETE OLD SHITTY CSS * Complete login page * Begin work on profile page * fucking git, man * Damn, that looks sexy * Complete login and register pages, include very minimal grid system, and delete all of view template * Do view page! * Finish view even more * Fix dates and filesizes in torrent table * Improve comment/captcha input * Actually add magnet and torrent buttons * Add open-iconic instead of fontawesome * Improve user side-panel * Rename Category_* to CategoryName * Beginning to finish up * Implement themes and add basic mobile support to front page * Fix some slight color errors * Fix captcha on dark * magnet and torrent links on view
31 lignes
1,5 Kio
HTML
31 lignes
1,5 Kio
HTML
{{define "title"}}{{ call $.T "sign_in_title" }}{{end}}
|
|
{{define "contclass"}}cont-view{{end}}
|
|
{{define "content"}}
|
|
{{ with .LoginForm }}
|
|
<div class="box">
|
|
<form role="form" method="POST">
|
|
<h2>{{call $.T "sign_in_box_title"}}</h2>
|
|
{{ range (index $.FormErrors "errors")}}
|
|
<div class="alert alert-danger">{{ . }}</div>
|
|
{{end}}
|
|
<input type="text" name="username" id="username" class="form-input up-input" autofocus placeholder="{{ call $.T "email_address_or_username"}}"><br>
|
|
{{ range (index $.FormErrors "username")}}
|
|
<p class="text-error">{{ . }}</p>
|
|
{{end}}
|
|
<input type="password" name="password" id="password" class="form-input up-input" placeholder="{{ call $.T "password"}}"><br>
|
|
{{ range (index $.FormErrors "password")}}
|
|
<p class="text-error">{{ . }}</p>
|
|
{{end}}
|
|
<!-- <span class="button-checkbox">
|
|
<button type="button" class="btn hidden" data-color="info">{{ call $.T "remember_me"}}</button>
|
|
<input type="checkbox" name="remember_me" id="remember_me" checked="checked">
|
|
<a href="" class="btn btn-link pull-right">{{ call $.T "forgot_password"}}</a>
|
|
</span> -->
|
|
<input type="submit" class="form-input" value="{{ call $.T "signin"}}">
|
|
<a href="{{ genRoute "user_register" }}" class="btn btn-lg btn-primary btn-block">{{ call $.T "register"}}</a>
|
|
</form>
|
|
</div>
|
|
{{end}}
|
|
<br />
|
|
<br />
|
|
{{end}}
|