Added bootstrap tables to queues (#5484)

* Added bootstrap tables to queues

* Changed to double quotes
This commit is contained in:
Jeroen De Meerleer 2018-07-24 14:10:20 +02:00 committed by Hypolite Petovan
parent ca2c316de0
commit a44eeda463
2 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,25 @@
<div id="adminpage">
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
<p>{{$info}}</p>
<table class="table">
<tr>
<th>{{$id_header}}</th>
<th>{{$to_header}}</th>
<th>{{$url_header}}</th>
<th>{{$network_header}}</th>
<th>{{$created_header}}</th>
<th>{{$last_header}}</th>
</tr>
{{foreach $entries as $e}}
<tr>
<td>{{$e.id}}</td>
<td>{{$e.name}}</td>
<td><a href="{{$e.nurl}}">{{$e.nurl}}</a></td>
<td>{{$e.network}}</td>
<td>{{$e.created}}</td>
<td>{{$e.last}}</td>
</tr>
{{/foreach}}
</table>
</div>

View file

@ -0,0 +1,21 @@
<div id="adminpage">
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
<p>{{$info}}</p>
<table class="table">
<tr>
<th>{{$id_header}}</th>
<th>{{$param_header}}</th>
<th>{{$created_header}}</th>
<th>{{$prio_header}}</th>
</tr>
{{foreach $entries as $e}}
<tr>
<td>{{$e.id}}</td>
<td>{{$e.parameter}}</td>
<td>{{$e.created}}</td>
<td>{{$e.priority}}</td>
</tr>
{{/foreach}}
</table>
</div>