22 lines
No EOL
699 B
Cheetah
22 lines
No EOL
699 B
Cheetah
<div class="framed_gray">
|
|
|
|
|
|
#for un_truc in $quotas
|
|
<h3>$un_truc.label</h3>
|
|
#set total = $un_truc.limite
|
|
#set usage = int( 100 * $un_truc.usage/$un_truc.limite )
|
|
#set quota = int( 100 * $un_truc.quota/$un_truc.limite )
|
|
<div style="float:left;height:1.2em;width:40%;border:thin black solid;position:relative;background:#f99">
|
|
<div style="float:left;height:.8em;width:$usage%;background:blue;position:absolute;top:0;left:0;">
|
|
<span style="display:none">
|
|
$un_truc.text_equiv
|
|
</span>
|
|
</div>
|
|
<div style="float:left;height:1.2em;width:$quota%;background:#aaa"></div>
|
|
</div> $un_truc['%'] %
|
|
|
|
#end for
|
|
|
|
<div style="text-align:right;"><a href="index">version svg</a></div>
|
|
|
|
</div> |