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.

68 lines
2.8 KiB
Smarty

<!-- IMPORT partials/breadcrumbs.tpl -->
<div data-widget-area="header">
{{{each widgets.header}}}
{{widgets.header.html}}
{{{end}}}
</div>
10 years ago
<div class="unread">
<div class="topic-list-header btn-toolbar">
<div class="pull-left">
<!-- IMPORT partials/buttons/newTopic.tpl -->
<a href="{config.relative_path}/{selectedFilter.url}{querystring}" class="inline-block">
<div class="alert alert-warning hide" id="new-topics-alert"></div>
</a>
</div>
<div class="btn-group pull-right">
<!-- IMPORT partials/category/tools.tpl -->
</div>
<div class="markread btn-group pull-right category-dropdown-container bottom-sheet<!-- IF !topics.length --> hidden<!-- ENDIF !topics.length -->">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
[[unread:mark_as_read]] <span class="caret"></span>
</button>
8 years ago
<ul class="dropdown-menu category-dropdown-menu" role="menu">
<li role="presentation">
<a id="markSelectedRead" role="menuitem" tabindex="-1" href="#">[[unread:selected]]</a>
</li>
<li role="presentation">
<a id="markAllRead" role="menuitem" tabindex="-1" href="#">[[unread:all]]</a>
</li>
<li class="divider"></li>
{{{each categories}}}
<li role="presentation" class="category" data-cid="{categories.cid}">
<a role="menu-item" href="#">{categories.level}<!-- IF categories.icon --><span class="fa-stack" style="{function.generateCategoryBackground}"><i class="fa fa-fw fa-stack-1x {categories.icon}" style="color: {categories.color};"></i></span><!-- ENDIF categories.icon --> {categories.name}</a>
</li>
{{{end}}}
</ul>
</div>
<!-- IMPORT partials/category-filter.tpl -->
<div class="btn-group pull-right bottom-sheet">
<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>
</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>
</li>
{{{end}}}
</ul>
10 years ago
</div>
10 years ago
</div>
10 years ago
<div class="category">
<div id="category-no-topics" class="alert alert-warning <!-- IF topics.length -->hidden<!-- ENDIF topics.length -->">[[unread:no_unread_topics]]</div>
10 years ago
<!-- IMPORT partials/topics_list.tpl -->
<button id="load-more-btn" class="btn btn-primary hide">[[unread:load_more]]</button>
<!-- IF config.usePagination -->
<!-- IMPORT partials/paginator.tpl -->
<!-- ENDIF config.usePagination -->
10 years ago
</div>
</div>