Julian Lam 8 years ago
parent 108f8d7579
commit 48b2841d7b

@ -53,6 +53,10 @@
</p>
</div>
</div>
<div class="form-group">
<label>[[flags:description]]</label>
<blockquote>{description}</blockquote>
</div>
<div class="form-group">
<label for="state">[[flags:state]]</label>
<select class="form-control" id="state" name="state" disabled>

@ -2,8 +2,34 @@
<div class="panel-heading">
<h3 class="panel-title">[[flags:quick-filters]]</h3>
</div>
<ul>
<li>foo</li>
<li>bar</li>
</ul>
<div class="panel-body">
<ul>
<li>Unresolved flags</li>
<li>Assigned to you</li>
</ul>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">[[flags:filters]]</h3>
</div>
<div class="panel-body">
<form role="form" component="flags/filters">
<div class="form-group">
<label for="reporterId">[[flags:filter-reporterId]]</label>
<input type="number" class="form-control" id="reporterId" name="reporterId" min="0" />
</div>
<div class="form-group">
<label for="type">[[flags:filter-type]]</label>
<select class="form-control" id="type" name="type">
<option value="">[[flags:filter-type-all]]</option>
<option value="post">[[flags:filter-type-post]]</option>
</select>
</div>
<button type="button" class="btn btn-primary btn-block">[[flags:apply-filters]]</button>
</form>
</div>
</div>

@ -109,7 +109,7 @@
<li role="presentation" class="divider"></li>
<li class="dropdown-header">Moderator Tools</li>
<li>
<a href="{relative_path}/posts/flags">
<a href="{relative_path}/flags">
<i class="fa fa-fw fa-flag"></i> <span>[[pages:flagged-posts]]</span>
</a>
</li>

@ -38,7 +38,7 @@
<!-- IF section_flagged -->
<div title="flag count" class="flag-count">
<i class="fa fa-flag"></i>
<span class="formatted-number"><a href="{config.relative_path}/posts/flags?byUsername={users.username}">{users.flags}</a></span>
<span class="formatted-number"><a href="{config.relative_path}/flags?uid={users.uid}">{users.flags}</a></span>
</div>
<!-- ENDIF section_flagged -->
</div>

Loading…
Cancel
Save