69 lines
2.1 KiB
Handlebars
69 lines
2.1 KiB
Handlebars
<ol class="breadcrumb">
|
|
<li><a href="/">Home</a></li>
|
|
<li class="active">Campaigns</li>
|
|
</ol>
|
|
|
|
<div class="pull-right">
|
|
<a class="btn btn-primary" href="/campaigns/create" role="button"><i class="glyphicon glyphicon-plus"></i> Create Campaign</a>
|
|
</div>
|
|
|
|
<h2>Campaigns</h2>
|
|
|
|
<hr>
|
|
|
|
<div class="table-responsive">
|
|
<table class="table table-bordered table-hover data-table display nowrap" width="100%" data-row-sort="0,1,0,1,1,0">
|
|
<thead>
|
|
<th class="col-md-1">
|
|
#
|
|
</th>
|
|
<th>
|
|
Name
|
|
</th>
|
|
<th>
|
|
Description
|
|
</th>
|
|
<th>
|
|
Status
|
|
</th>
|
|
<th>
|
|
Created
|
|
</th>
|
|
<th class="col-md-1">
|
|
|
|
</th>
|
|
</thead>
|
|
{{#if rows}}
|
|
<tbody>
|
|
{{#each rows}}
|
|
<tr>
|
|
<th scope="row">
|
|
{{index}}
|
|
</th>
|
|
<td>
|
|
<span class="glyphicon glyphicon-inbox" aria-hidden="true"></span>
|
|
<a href="/campaigns/view/{{id}}">
|
|
{{name}}
|
|
</a>
|
|
</td>
|
|
<td>
|
|
<p class="text-muted">{{description}}</p>
|
|
</td>
|
|
<td>
|
|
<p>{{statusText}}</p>
|
|
</td>
|
|
<td>
|
|
<span class="datestring" data-date="{{created}}" title="{{created}}">{{createdTimestamp}}</span>
|
|
</td>
|
|
<td>
|
|
<span class="glyphicon glyphicon-wrench" aria-hidden="true"></span>
|
|
<a href="/campaigns/edit/{{id}}">
|
|
Edit
|
|
</a>
|
|
</td>
|
|
</tr>
|
|
{{/each}}
|
|
</tbody>
|
|
{{/if}}
|
|
</table>
|
|
</div>
|