]> git.mxchange.org Git - friendica.git/commitdiff
Added bootstrap tables to queues (#5484)
authorJeroen De Meerleer <me@jeroened.be>
Tue, 24 Jul 2018 12:10:20 +0000 (14:10 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Tue, 24 Jul 2018 12:10:20 +0000 (08:10 -0400)
* Added bootstrap tables to queues

* Changed to double quotes

view/theme/frio/templates/admin/queue.tpl [new file with mode: 0644]
view/theme/frio/templates/admin/workerqueue.tpl [new file with mode: 0644]

diff --git a/view/theme/frio/templates/admin/queue.tpl b/view/theme/frio/templates/admin/queue.tpl
new file mode 100644 (file)
index 0000000..dde3863
--- /dev/null
@@ -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>
diff --git a/view/theme/frio/templates/admin/workerqueue.tpl b/view/theme/frio/templates/admin/workerqueue.tpl
new file mode 100644 (file)
index 0000000..ab076a0
--- /dev/null
@@ -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>