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/errors/user_not_found.jet.html
kilo 5496d6e19d Lower amount of torrents shown in user profile from 20 to 15, user not found page (#1631)
* Lower amount of torrents shown in user profile

* Additional routes for user search

* Handler for user not found page

* User not found error page, with input to search username

* Move theme css in their own folder

* Delete g.css

* Delete classic.css

* Delete classic_colors.css

* Delete tomorrow.css

* Delete bg-body.png

* Delete bg-header-tile.png

* Delete s_bg-header-tile.png

* Change path used by stylesheet in html head

* Change theme path used by JS theme changers

* Update user_not_found.jet.html

* Update CHANGELOG.md

* Update en-us.all.json

* fix ad scrolling

* remove useless stuff

* fix travis & json file

* fix travis again

* remove duplicate

* Update CHANGELOG.md

* Writing an username instead of an userid in userprofile URL will no longer return the Anonymous profile

* redirect to username search instead of rendering a template without checking if username exists
2017-10-04 15:46:06 +02:00

15 lignes
778 o
HTML

{{ extends "layouts/index_site" }}
{{block title()}}{{ T("err_no_torrent_file")}}{{end}}
{{block content_body()}}
<div style="text-align: center;" class="box">
<h1>{{T("user_not_found")}}</h1>
<p>{{if isset(Search.User) && Search.User != ""}}{{T("usersearch_user_not_found", Search.User)}}{{else}}{{T("user_search_explanation")}}{{end}}</p>
<div class="user-search">
<form role="search" action="/username" id="header-form" method="get">'
<input class="form-input" name="username" type="text" value="{{if isset(Search.User) && Search.User != ""}}{{Search.User}}{{end}}" placeholder="Search username..." style="width: calc(50% - 30px)">
<button type="submit" class="form-input icon-search"></button>
</form>
</div>
</div>
{{end}} {{block mascot()}}<br />{{end}}