You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
2.3 KiB
Smarty

7 years ago
<!-- IMPORT partials/breadcrumbs.tpl -->
<div data-widget-area="header">
{{{each widgets.header}}}
7 years ago
{{widgets.header.html}}
{{{end}}}
7 years ago
</div>
<div class="top">
<div class="topic-list-header btn-toolbar">
7 years ago
<div class="pull-left">
<!-- IF loggedIn -->
<!-- IMPORT partials/buttons/newTopic.tpl -->
7 years ago
<!-- ELSE -->
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
<!-- ENDIF loggedIn -->
</div>
<div class="btn-group pull-right">
<!-- IMPORT partials/category/tools.tpl -->
</div>
<!-- IMPORT partials/category-filter-right.tpl -->
7 years ago
<div class="btn-group pull-right bottom-sheet <!-- IF !filters.length -->hidden<!-- ENDIF !filters.length -->">
7 years ago
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="visible-sm-inline visible-md-inline visible-lg-inline">{selectedFilter.name}</span><span class="visible-xs-inline"><i class="fa fa-fw {selectedFilter.icon}"></i></span> <span class="caret"></span>
7 years ago
</button>
<ul class="dropdown-menu" role="menu">
{{{each filters}}}
<li role="presentation" class="category {{{if filters.selected}}}selected{{{end}}}">
<a role="menu-item" href="{config.relative_path}/{filters.url}"><i class="fa fa-fw <!-- IF filters.selected -->fa-check<!-- ENDIF filters.selected -->"></i>{filters.name}</a>
7 years ago
</li>
{{{end}}}
7 years ago
</ul>
</div>
<div class="btn-group pull-right <!-- IF !terms.length -->hidden<!-- ENDIF !terms.length -->">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
{selectedTerm.name} <span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu">
{{{each terms}}}
<li role="presentation" class="category">
<a role="menu-item" href="{config.relative_path}/{terms.url}"><i class="fa fa-fw <!-- IF terms.selected -->fa-check<!-- ENDIF terms.selected -->"></i>{terms.name}</a>
</li>
{{{end}}}
</ul>
</div>
7 years ago
</div>
<div class="category">
<!-- IF !topics.length -->
<div class="alert alert-warning" id="category-no-topics">[[top:no_top_topics]]</div>
<!-- ENDIF !topics.length -->
<!-- IMPORT partials/topics_list.tpl -->
<!-- IF config.usePagination -->
<!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination -->
</div>
</div>