templatise the Dreport page and add a redeliver option for when things stuff up badly.

This commit is contained in:
redmatrix
2016-06-29 22:46:47 -07:00
parent 339e620738
commit bfe84a9ff7
2 changed files with 64 additions and 9 deletions

21
view/tpl/dreport.tpl Normal file
View File

@@ -0,0 +1,21 @@
<div class="generic-content-wrapper">
<div class="section-title-wrapper">
{{if $table == 'item'}}
<a href="dreport/push/{{$mid}}"><button class="btn btn-default btn-xs pull-right">{{$push}}</button></a>
{{/if}}
<h2>{{$title}}</h2>
</div>
<div>
<table>
{{if $entries}}
{{foreach $entries as $e}}
<tr>
<td width="40%">{{$e.name}}</td>
<td width="20%">{{$e.result}}</td>
<td width="20%">{{$e.time}}</td>
</tr>
{{/foreach}}
{{/if}}
</table>
</div>