treebird/templates/search.tt
nekobit 52c011968f Refactor search tabs
FossilOrigin-Name: 77ae2a3ad81f7655791d0431d7312dc325da8c292ada210b9a0654d4183740a8
2022-08-19 17:43:42 +00:00

19 lines
676 B
Text

<h1 class="results-header">Showing results for <span class="result">&quot;[% ssn.query.query %]&quot;</span></h1>
<table class="tabs ui-table">
<tr>
<td>
<a href="/search/statuses?q="><input class="tab-btn btn[% IF tab == 0 %] active[% END %]" type="button" value="Statuses"></a>
</td>
<td>
<a href="/search/accounts?q="><input class="tab-btn btn[% IF tab == 1 %] active[% END %]" type="button" value="Accounts"></a>
</td>
<td>
<a href="/search/hashtags?q="><input class="tab-btn btn [% IF tab == 2 %] active[% END %]" type="button" value="Hashtags"></a>
</td>
</tr>
</table>
<div class="search-results">
[% content %]
</div>