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.

This commit is contained in:
friendica
2015-03-01 15:55:27 -08:00
parent ced19bf7d8
commit ba7bdd79b7
5 changed files with 49 additions and 12 deletions

14
view/tpl/admin_queue.tpl Normal file
View File

@@ -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}}