68 lines
2.2 KiB
Handlebars
68 lines
2.2 KiB
Handlebars
<ol class="breadcrumb">
|
|
<li><a href="/">{{#translate}}Home{{/translate}}</a></li>
|
|
<li class="active">{{#translate}}Lists{{/translate}}</li>
|
|
</ol>
|
|
|
|
<div class="pull-right">
|
|
<a class="btn btn-primary" href="/lists/create" role="button"><i class="glyphicon glyphicon-plus"></i> {{#translate}}Create List{{/translate}}</a>
|
|
</div>
|
|
|
|
<h2>{{#translate}}Lists{{/translate}}</h2>
|
|
|
|
<hr>
|
|
|
|
<div class="table-responsive">
|
|
<table class="table table-bordered table-hover data-table display nowrap" width="100%" data-row-sort="0,1,1,1,0,0">
|
|
<thead>
|
|
<th>
|
|
#
|
|
</th>
|
|
<th>
|
|
{{#translate}}Name{{/translate}}
|
|
</th>
|
|
<th>
|
|
{{#translate}}ID{{/translate}}
|
|
</th>
|
|
<th>
|
|
{{#translate}}Subscribers{{/translate}}
|
|
</th>
|
|
<th>
|
|
{{#translate}}Description{{/translate}}
|
|
</th>
|
|
<th>
|
|
|
|
</th>
|
|
</thead>
|
|
{{#if rows}}
|
|
<tbody>
|
|
{{#each rows}}
|
|
<tr>
|
|
<th scope="row">
|
|
{{index}}
|
|
</th>
|
|
<td style="width: 30%;">
|
|
<span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>
|
|
<a href="/lists/view/{{id}}">
|
|
{{name}}
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<code>{{cid}}</code>
|
|
</td>
|
|
<td class="text-center">
|
|
{{subscribers}}
|
|
</td>
|
|
<td class="text-muted" style="width: 70%;">
|
|
{{description}}
|
|
</td>
|
|
<td>
|
|
<a href="/lists/edit/{{id}}">
|
|
{{#translate}}Edit{{/translate}}
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
{{/if}}
|
|
</table>
|
|
</div>
|