diff options
author | Björn Schießle <bjoern@schiessle.org> | 2015-11-18 15:38:03 +0300 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2015-11-19 20:07:17 +0300 |
commit | 8f55b1a27d97f24751542b6dc44a89eb03387a75 (patch) | |
tree | e2fefe439ea81b248beb9320f1e620aa733a847d /apps/federation/js | |
parent | 97c60fd21794a6a0a56dc69ba8b77ab93b5d212c (diff) |
add status to server list
Diffstat (limited to 'apps/federation/js')
-rw-r--r-- | apps/federation/js/settings-admin.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/federation/js/settings-admin.js b/apps/federation/js/settings-admin.js index a1f02a09efe..1bc7a8cc0aa 100644 --- a/apps/federation/js/settings-admin.js +++ b/apps/federation/js/settings-admin.js @@ -40,7 +40,10 @@ $(document).ready(function () { ).done(function (data) { $('#serverUrl').attr('value', ''); $('ul#listOfTrustedServers').prepend( - $('<li>').attr('id', data.id).text(data.url) + $('<li>') + .attr('id', data.id) + .attr('class', 'icon-delete') + .html('<span class="status indeterminate"></span>' + data.url) ); OC.msg.finishedSuccess('#ocFederationAddServer .msg', data.message); }) |