Revision 52343ac8 snf-astakos-app/astakos/im/templates/im/astakosuserquota_list.html
b/snf-astakos-app/astakos/im/templates/im/astakosuserquota_list.html | ||
---|---|---|
5 | 5 |
{% block page.body %} |
6 | 6 |
<div class="maincol {% block innerpage.class %}{% endblock %}"> |
7 | 7 |
<div class="stats clearfix"> |
8 |
<ul> |
|
9 |
<li class="clearfix red vm"> |
|
8 |
<ul> |
|
9 |
{% for r in data.resources %} |
|
10 |
|
|
11 |
<li class="clearfix {{ r.load_class }} {{ r.name}}"> |
|
10 | 12 |
<div class="img-wrap"> </div> |
11 | 13 |
<div class="info"> |
12 |
<h3>Number of Vms</h3>
|
|
14 |
<h3>{{ r.description }}</h3>
|
|
13 | 15 |
<p> |
14 |
XX% Used<br>
|
|
15 |
That is XXX of your XXX MB of virtual RAM - Aouch!
|
|
16 |
{{ r.ratio|floatformat }}% Used<br>
|
|
17 |
You are using {{ r.currValue }} {{ r.unit }} out of your {{ r.maxValue }}{{ r.unit }} {{ r.plural|capfirst }} - Aouch!
|
|
16 | 18 |
</p> |
17 | 19 |
</div> |
18 | 20 |
<div class="bar"> |
19 |
<div><span style="width:89%;">89% </span></div> |
|
20 |
</div> |
|
21 |
</li> |
|
22 |
<li class="clearfix yellow ram"> |
|
23 |
<div class="img-wrap"> </div> |
|
24 |
<div class="info"> |
|
25 |
<h3>Number of RAMs</h3> |
|
26 |
<p> |
|
27 |
XX% Used<br> |
|
28 |
That is XXX of your XXX MB of virtual RAM - Aouch! |
|
29 |
</p> |
|
30 |
</div> |
|
31 |
<div class="bar"> |
|
32 |
<div><span style="width:30%;">30% </span></div> |
|
33 |
</div> |
|
34 |
</li> |
|
35 |
<li class="clearfix green disks"> |
|
36 |
<div class="img-wrap"> </div> |
|
37 |
<div class="info"> |
|
38 |
<h3>Number of Vms</h3> |
|
39 |
<p> |
|
40 |
XX% Used<br> |
|
41 |
That is XXX of your XXX MB of virtual RAM - Aouch! |
|
42 |
</p> |
|
43 |
</div> |
|
44 |
<div class="bar"> |
|
45 |
<div><span style="width:60%;">30% </span></div> |
|
21 |
<div><span style="width:{{ r.ratio|floatformat }}%;">{{ r.ratio|floatformat }}% </span></div> |
|
46 | 22 |
</div> |
47 | 23 |
</li> |
24 |
{% endfor %} |
|
48 | 25 |
</ul> |
49 | 26 |
</div> |
50 | 27 |
<!-- |
... | ... | |
83 | 60 |
</tbody> |
84 | 61 |
</table> |
85 | 62 |
{% endfor %} |
86 |
</div>-->
|
|
63 |
</div> |
|
87 | 64 |
<form action="" method="post" |
88 | 65 |
class="withlabels">{% csrf_token %} |
89 | 66 |
{% include "im/form_render.html" %} |
... | ... | |
112 | 89 |
{% endif %} |
113 | 90 |
{% endwith %} |
114 | 91 |
{% endif %} |
115 |
</table> |
|
92 |
</table>-->
|
|
116 | 93 |
</div> |
117 | 94 |
</div> |
118 | 95 |
{% endblock %} |
Also available in: Unified diff