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.
70 lines
2.0 KiB
Smarty
70 lines
2.0 KiB
Smarty
<div class="row">
|
|
<div class="col-sm-4 col-md-3">
|
|
<!-- IMPORT partials/flags/filters.tpl -->
|
|
</div>
|
|
<div class="col-sm-8 col-md-9">
|
|
<div class="text-center">
|
|
<div class="panel panel-default">
|
|
<div class="panel-body">
|
|
<div><canvas id="flags:daily" height="250"></canvas></div>
|
|
<p>
|
|
|
|
</p>
|
|
</div>
|
|
<div class="panel-footer"><small>Daily flags</small></div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- IF hasFilter -->
|
|
<div class="alert alert-warning">
|
|
<p class="pull-right">
|
|
<a href="{config.relative_path}/flags">[[flags:filter-reset]]</a>
|
|
</p>
|
|
[[flags:filter-active]]
|
|
</div>
|
|
<!-- ENDIF hasFilter -->
|
|
<table class="table table-striped table-hover" component="flags/list">
|
|
<thead>
|
|
<tr>
|
|
<th>[[flags:state]]</th>
|
|
<th></th>
|
|
<th><span class="hidden-xs">[[flags:reporter]] </span><i class="fa fa-user-plus"></i></th>
|
|
<th><span class="hidden-xs">[[flags:reported-at]] </span><i class="fa fa-clock-o"></i></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- IF !flags.length -->
|
|
<tr>
|
|
<td colspan="4">
|
|
<div class="alert alert-success text-center">
|
|
[[flags:no-flags]]
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
<!-- ENDIF !flags.length -->
|
|
<!-- BEGIN flags -->
|
|
<tr data-flag-id="{../flagId}">
|
|
<td><span class="label label-{../labelClass}">[[flags:state-{../state}]]</span></td>
|
|
<td>
|
|
<a href="{config.relative_path}/flags/{../flagId}">
|
|
<strong>{../target_readable}</strong> — <span component="flags/list/description">{../description}</span>
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<!-- IF ../reporter.picture -->
|
|
<img class="avatar avatar-sm" src="{../reporter.picture}" />
|
|
<!-- ELSE -->
|
|
<div class="avatar avatar-sm" style="background-color: {../reporter.icon:bgColor};">{../reporter.icon:text}</div>
|
|
<!-- ENDIF ../reporter.picture -->
|
|
{../reporter.username}
|
|
</td>
|
|
<td><span class="timeago" title="{../datetimeISO}"></span></td>
|
|
</tr>
|
|
<!-- END flags -->
|
|
</tbody>
|
|
</table>
|
|
|
|
<!-- IMPORT partials/paginator.tpl -->
|
|
</div>
|
|
</div>
|