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

34 lines
1.2 KiB
Text

<table class="tabs ui-table">
<tr>
<td>
<label for="statuses-results-hidden">
<span class="tab-btn btn">Statuses</span>
</label>
</td>
<td>
<label for="accounts-results-hidden">
<span class="tab-btn btn">Accounts</span>
</label>
</td>
<td>
<label for="hashtags-results-hidden">
<span class="tab-btn btn">Hashtags</span>
</label>
</td>
</tr>
</table>
<div class="search-results">
<input type="radio" class="search-page-hidden hidden" id="statuses-results-hidden" name="searchpage"[% UNLESS search.statuses %] disabled[% ELSE %] checked[% END %]>
<div class="statuses-results search-page">
[% statuses %]
</div>
<input type="radio" class="search-page-hidden hidden" id="accounts-results-hidden" name="searchpage"[% UNLESS search.accounts %] disabled[% END %]>
<div class="accounts-results search-page">
[% accounts %]
</div>
<input type="radio" class="search-page-hidden hidden" id="hashtags-results-hidden" name="searchpage"[% UNLESS search.tags %] disabled[% END %]>
<div class="hashtags-results search-page">
[% hashtags %]
</div>
</div>