diff options
author | redmatrix <git@macgirvin.com> | 2016-06-29 22:46:47 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-06-29 22:46:47 -0700 |
commit | bfe84a9ff753d4d9834ea24ad65edfef3561458c (patch) | |
tree | f7bd43c2c2e5561e3c568c8ac3c94d60214b413d /view/tpl | |
parent | 339e620738ed90d18fdfb7e83b637b7d0e50f56e (diff) | |
download | volse-hubzilla-bfe84a9ff753d4d9834ea24ad65edfef3561458c.tar.gz volse-hubzilla-bfe84a9ff753d4d9834ea24ad65edfef3561458c.tar.bz2 volse-hubzilla-bfe84a9ff753d4d9834ea24ad65edfef3561458c.zip |
templatise the Dreport page and add a redeliver option for when things stuff up badly.
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/dreport.tpl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/view/tpl/dreport.tpl b/view/tpl/dreport.tpl new file mode 100644 index 000000000..7d5524a6a --- /dev/null +++ b/view/tpl/dreport.tpl @@ -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> |