aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/admin_queue.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2015-03-01 15:55:27 -0800
committerfriendica <info@friendica.com>2015-03-01 15:55:27 -0800
commitba7bdd79b720dcb58dfd88a38f43444eb4da06f4 (patch)
treed9b89756a135b047366832c2c1a6c68f97af6db7 /view/tpl/admin_queue.tpl
parentced19bf7d81a328cbf3d29bb701685c27319a473 (diff)
downloadvolse-hubzilla-ba7bdd79b720dcb58dfd88a38f43444eb4da06f4.tar.gz
volse-hubzilla-ba7bdd79b720dcb58dfd88a38f43444eb4da06f4.tar.bz2
volse-hubzilla-ba7bdd79b720dcb58dfd88a38f43444eb4da06f4.zip
queue management actions. Still needs further work such as indication of last successful connection or indication that the hub was marked offline, but these are potentially expensive queries.
Diffstat (limited to 'view/tpl/admin_queue.tpl')
-rw-r--r--view/tpl/admin_queue.tpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/view/tpl/admin_queue.tpl b/view/tpl/admin_queue.tpl
new file mode 100644
index 000000000..2abe87db9
--- /dev/null
+++ b/view/tpl/admin_queue.tpl
@@ -0,0 +1,14 @@
+<h3>{{$banner}}</h3>
+
+{{if $hasentries}}
+
+<table id="admin-queue-table"><tr><td>{{$numentries}}&nbsp;&nbsp;</td><td>{{$desturl}}</td><td>&nbsp;</td><td>&nbsp;</td></tr>
+
+{{foreach $entries as $e}}
+
+<tr><td>{{$e.total}}</td><td>{{$e.outq_posturl}}</td><td><a href="admin/queue?f=&drophub={{$e.eurl}}" title="{{$nukehub}}" class="btn btn-default"><i class="icon-remove"></i><a></td><td><a href="admin/queue?f=&emptyhub={{$e.eurl}}" title="{{$empty}}" class="btn btn-default"><i class="icon-trash"></i></a></td></tr>
+{{/foreach}}
+
+</table>
+
+{{/if}} \ No newline at end of file