commit | author | age
|
d2713e
|
1 |
<div class='table-wrapper'> |
MC |
2 |
<table class='table'> |
|
3 |
<caption>{tmpl_var name='quota_txt'}</caption> |
8ceb08
|
4 |
<thead class="dark form-group-sm"> |
d2713e
|
5 |
<tr> |
MC |
6 |
<th>{tmpl_var name='domain_txt'}</th> |
|
7 |
<th>{tmpl_var name='used_txt'}</th> |
|
8 |
<th>{tmpl_var name='soft_txt'}</th> |
|
9 |
<th colspan="2">{tmpl_var name='hard_txt'}</th> |
|
10 |
</tr> |
615a0a
|
11 |
</thead> |
d2713e
|
12 |
<tbody> |
MC |
13 |
<tmpl_loop name='quota'> |
|
14 |
<tr> |
|
15 |
<td>{tmpl_var name='domain'}</td> |
|
16 |
<td>{tmpl_var name='used'}</td> |
|
17 |
<td>{tmpl_var name='soft'}</td> |
|
18 |
<td>{tmpl_var name='hard'}</td> |
|
19 |
<td> |
|
20 |
<div class='progress'> |
c95963
|
21 |
<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'}%"> |
d2713e
|
22 |
<span class='sr-only'>{tmpl_var name='used'} {tmpl_var name='of_txt'} {tmpl_var name='soft'}</span> |
MC |
23 |
</div> |
|
24 |
</div> |
|
25 |
</td> |
|
26 |
</tr> |
|
27 |
</tmpl_loop> |
|
28 |
</tbody> |
|
29 |
</table> |
615a0a
|
30 |
</div> |