Fix search page text
This commit is contained in:
parent
f215ab481d
commit
5e0afa1533
|
@ -3,11 +3,11 @@
|
||||||
<div class="page-title"> Search </div>
|
<div class="page-title"> Search </div>
|
||||||
|
|
||||||
<form class="search-form" action="/search" method="GET">
|
<form class="search-form" action="/search" method="GET">
|
||||||
<span class="post-form-field>
|
<span class="post-form-field">
|
||||||
<label for="query"> Query </label>
|
<label for="query"> Query </label>
|
||||||
<input id="query" name="q" value="{{.Q | HTMLEscape}}">
|
<input id="query" name="q" value="{{.Q | HTMLEscape}}">
|
||||||
</span>
|
</span>
|
||||||
<span class="post-form-field>
|
<span class="post-form-field">
|
||||||
<label for="type"> Type </label>
|
<label for="type"> Type </label>
|
||||||
<select id="type" name="type">
|
<select id="type" name="type">
|
||||||
<option value="statuses" {{if eq .Type "statuses"}}selected{{end}}>Statuses</option>
|
<option value="statuses" {{if eq .Type "statuses"}}selected{{end}}>Statuses</option>
|
||||||
|
@ -23,8 +23,8 @@
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="no-data-found">No data found</div>
|
<div class="no-data-found">No data found</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{if eq .Type "accounts"}}
|
{{if eq .Type "accounts"}}
|
||||||
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
|
{{template "userlist.tmpl" (WithContext .Users $.Ctx)}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -14,6 +14,10 @@
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{{else}}
|
||||||
|
<div class="no-data-found">No data found</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
</div>
|
</div>
|
||||||
|
{{else}}
|
||||||
|
<div class="no-data-found">No data found</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
|
@ -12,6 +12,8 @@
|
||||||
|
|
||||||
{{range .Statuses}}
|
{{range .Statuses}}
|
||||||
{{template "status.tmpl" (WithContext . $.Ctx)}}
|
{{template "status.tmpl" (WithContext . $.Ctx)}}
|
||||||
|
{{else}}
|
||||||
|
<div class="no-data-found">No data found</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
<div class="pagination">
|
<div class="pagination">
|
||||||
|
|
Loading…
Reference in New Issue