1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"Memory") }}{% end block %}
6 <div class=
"page-header">
7 <h1>{{ _(
"Memory") }}
</h1>
11 <div class=
"col-md-2 col-md-offset-2 ac">
12 <small class=
"text-muted">({{ _(
"minimum") }})
</small>
13 <h3>{{
"%.0f" % (mem_min /
1024) }} {{ _(
"MB") }}
</h3>
15 <div class=
"col-md-4 ac">
16 <small class=
"text-muted">({{ _(
"average") }})
</small>
17 <h1 class=
"text-success">{{
"%.0f" % (mem_avg /
1024) }} {{ _(
"MB") }}
</h1>
19 <div class=
"col-md-2 ac">
20 <small class=
"text-muted">({{ _(
"maximum") }})
</small>
21 <h3>{{
"%.0f" % (mem_max /
1024) }} {{ _(
"MB") }}
</h3>
27 <dl class=
"dl-horizonal">
28 {% for amount, percentage in amounts %}
29 {% if percentage
>=
0.01 %}
30 <dt>{{ _(
">= %d MB") % amount }}
</dt>
32 {% if amount <=
256 %}
33 {% module ProgressBar(percentage,
"danger") %}
34 {% elif amount
>=
1024 %}
35 {% module ProgressBar(percentage,
"success") %}
37 {% module ProgressBar(percentage,
"warning") %}