Skip to content

Commit d988790

Browse files
author
Kristan Kenney
committed
Fix missing search box on statistics page (admin view)
1 parent ae02bcd commit d988790

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

web/templates/admin/list_stats.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,17 @@
44
<a class="ui-button cancel" href='/list/stats/'><i class="fas fa-info-circle status-icon lightblue"></i> <?=_('Overall Statistics')?></a>
55
</div>
66
<div class="l-sort-toolbar clearfix">
7+
<table>
8+
<tr>
9+
<td class="l-sort-toolbar__search-box">
10+
<form action="/search/" method="get">
11+
<input type="hidden" name="token" value="<?=$_SESSION['token']?>" />
12+
<input type="text" name="q" class="search-input" value="<? echo isset($_POST['q']) ? htmlspecialchars($_POST['q']) : '' ?>" />
13+
<button type="submit" class="l-sort-toolbar__filter-apply" onclick="return doSearch('/search/')" value=""><i class="fas fa-search"></i></button>
14+
</form>
15+
</td>
16+
</tr>
17+
</table>
718
<table>
819
<tr>
920
<td>

0 commit comments

Comments
 (0)