* 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
15 lignes
778 o
HTML
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}}
|