commit | author | age
|
e9a084
|
1 |
<div class='table-wrapper'> |
D |
2 |
<table class='table'> |
|
3 |
<caption>{tmpl_var name='databasequota_txt'}</caption> |
|
4 |
<thead class="dark form-group-sm"> |
|
5 |
<tr> |
|
6 |
<th>{tmpl_var name='database_txt'}</th> |
|
7 |
<th>{tmpl_var name='used_txt'}</th> |
|
8 |
<th colspan="2">{tmpl_var name='quota_txt'}</th> |
|
9 |
</tr> |
|
10 |
</thead> |
|
11 |
<tbody> |
|
12 |
<tmpl_loop name='databasequota'> |
|
13 |
<tr> |
|
14 |
<td>{tmpl_var name='database_name'}</td> |
|
15 |
<td>{tmpl_var name='used'}</td> |
|
16 |
<td>{tmpl_var name='database_quota'}</td> |
|
17 |
<td> |
|
18 |
<div class='progress'> |
f1193b
|
19 |
<div class='progress-bar progress-bar-{tmpl_if name="used_percentage" op="<" value="50"}success{tmpl_elseif name="used_percentage" op="<" value="75"}warning{tmpl_else}danger{/tmpl_if}' role='progressbar' aria-valuemin='0' aria-valuemax='100' aria-valuenow='{tmpl_var name="used_percentage"}' style='width:{tmpl_var name="used_percentage"}%' data-toggle="tooltip" data-placement="bottom" title="{tmpl_var name='used_percentage'}%"> |
e9a084
|
20 |
<span class='sr-only'>{tmpl_var name='used'} {tmpl_var name='of_txt'} {tmpl_var name='database_quota'}</span> |
D |
21 |
</div> |
|
22 |
</div> |
|
23 |
</td> |
|
24 |
</tr> |
|
25 |
</tmpl_loop> |
|
26 |
</tbody> |
|
27 |
</table> |
|
28 |
</div> |