aboutsummaryrefslogtreecommitdiffstats
path: root/view
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
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')
-rw-r--r--view/en/htconfig.tpl1
-rw-r--r--view/tpl/admin_queue.tpl14
2 files changed, 14 insertions, 1 deletions
diff --git a/view/en/htconfig.tpl b/view/en/htconfig.tpl
index d06e5da49..066ae39d8 100644
--- a/view/en/htconfig.tpl
+++ b/view/en/htconfig.tpl
@@ -71,7 +71,6 @@ $a->config['system']['access_policy'] = ACCESS_PRIVATE;
$a->config['system']['sellpage'] = '';
// Maximum size of an imported message, 0 is unlimited
-// FIXME - NOT currently implemented.
$a->config['system']['max_import_size'] = 200000;
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