Revision 45ed7743
b/snf-astakos-app/astakos/im/static/im/css/modules.css | ||
---|---|---|
198 | 198 |
.pagination .next-prev a { margin-left:15px; } |
199 | 199 |
.pagination .nums { text-align:left;} |
200 | 200 |
.pagination .nums span { color:#000;} |
201 |
.pagination .next-prev a.disabled { text-decoration: none; color:#ccc; cursor:default; } |
|
201 | 202 |
|
202 | 203 |
.two-cols .lt .clients-wrapper p { padding:0; } |
203 | 204 |
|
... | ... | |
437 | 438 |
.stats ul li { margin:0 0 1em 0; padding:0 0 1em 0; list-style:none outside none; background:url(../images/stats-line.jpg) repeat-x left bottom} |
438 | 439 |
.stats .bar { padding: 0; text-align:center; float:left; width:200px;} |
439 | 440 |
.stats .bar div { width:340px; height:30px; border:1px solid #000; margin-top:20px; overflow:hidden;} |
440 |
.stats .bar span { text-align:right; display:block; height:100%; color:#222; line-height:30px; font-size:1.231em; text-indent:10px;} |
|
441 |
.stats .bar span { text-align:right; display:block; height:100%; float:left; } |
|
442 |
.stats .bar span em { color:#fff; float:right; } |
|
443 |
.stats .bar em { font-style:normal; color:#222; line-height:30px; font-size:1.231em; padding-left:10px; float:left } |
|
441 | 444 |
.stats .red .bar span { background:#ef4f54; } |
442 | 445 |
.stats .yellow .bar span { background:#f6921e; } |
443 | 446 |
.stats .green .bar span { background:#55b577; } |
b/snf-astakos-app/astakos/im/templates/im/resource_usage.html | ||
---|---|---|
23 | 23 |
</p> |
24 | 24 |
</div> |
25 | 25 |
<div class="bar"> |
26 |
<div><span style="width:{{ rdata.ratio_limited|floatformat }}%;">{{ rdata.ratio|floatformat }}% </span></div> |
|
26 |
<div> |
|
27 |
<span style="width:{{ rdata.ratio_limited|floatformat }}%;"> |
|
28 |
{% if rdata.ratio > 18 %} |
|
29 |
<em>{{ rdata.ratio|floatformat }}% </em> |
|
30 |
</span> |
|
31 |
{% else%} |
|
32 |
|
|
33 |
</span> |
|
34 |
<em>{{ rdata.ratio|floatformat }}% </em> |
|
35 |
{% endif %} |
|
36 |
</div> |
|
27 | 37 |
</div> |
28 | 38 |
</li> |
29 | 39 |
{% endfor%} |
Also available in: Unified diff