diff options
author | Simon Rettberg | 2020-02-26 15:19:34 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-02-26 15:19:34 +0100 |
commit | 92527b0b2d8a76ee8ae368541c60d0a07c889dbc (patch) | |
tree | fa84f70230e2d444d426fdd0b798f693d035fc8a /modules-available/dozmod/templates/blockstats.html | |
parent | [dnbd3] Run mount script when toggling dnbd3 usage (diff) | |
download | slx-admin-92527b0b2d8a76ee8ae368541c60d0a07c889dbc.tar.gz slx-admin-92527b0b2d8a76ee8ae368541c60d0a07c889dbc.tar.xz slx-admin-92527b0b2d8a76ee8ae368541c60d0a07c889dbc.zip |
[backup/systemstatus] Show up/downloads in backup page
Add AJAX API to dozmod module to query the fileserver status
of dmsd.
Diffstat (limited to 'modules-available/dozmod/templates/blockstats.html')
-rw-r--r-- | modules-available/dozmod/templates/blockstats.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules-available/dozmod/templates/blockstats.html b/modules-available/dozmod/templates/blockstats.html index cba3b476..b71d219c 100644 --- a/modules-available/dozmod/templates/blockstats.html +++ b/modules-available/dozmod/templates/blockstats.html @@ -30,8 +30,9 @@ <script type="application/javascript"><!-- function slxLoadBlocks(hash, size) { $('#block-details .modal-header').text(hash + '/' + size); - $('#block-details .modal-body').html('<div class="slx-rotation"><span class="glyphicon glyphicon-refresh"></span></div>'); + $('#block-details .modal-body') + .html('<div class="slx-rotation"><span class="glyphicon glyphicon-refresh"></span></div>') + .load('?do=dozmod§ion=special', { token: TOKEN, action: 'getblockinfo', hash: hash, size: size }); $('#block-details').modal('show'); - $('#block-details .modal-body').load('?do=dozmod§ion=blockstats', { token: TOKEN, action: 'getblockinfo', hash: hash, size: size }); } //--></script>
\ No newline at end of file |