blob: b71d219cf98461ea2f7546dfd2a5eb6aa00c4a27 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<div class="alert alert-info">
{{lang_spaceWastedDuplication}}: {{spacewasted}}
</div>
<table class="table table-condensed table-striped" style="width: auto">
<tr>
<th>{{lang_hash}}</th>
<th>{{lang_size}}</th>
<th>{{lang_blockCount}}</th>
</tr>
{{#hashes}}
<tr>
<td>{{hash_hex}}</td>
<td>{{blocksize_s}}</td>
<td>{{blockcount}} <button class="btn btn-xs btn-default" onclick="slxLoadBlocks('{{hash_hex}}', '{{blocksize}}')"><span class="glyphicon glyphicon-eye-open"></span></button></td>
</tr>
{{/hashes}}
</table>
<div class="modal fade" id="block-details" tabindex="-1" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header"></div>
<div class="modal-body"></div>
<div class="modal-footer"><a class="btn btn-primary" data-dismiss="modal">{{lang_close}}</a></div>
</div>
</div>
</div>
<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>')
.load('?do=dozmod§ion=special', { token: TOKEN, action: 'getblockinfo', hash: hash, size: size });
$('#block-details').modal('show');
}
//--></script>
|