]> git.ipfire.org Git - ipfire.org.git/blob - templates/fireinfo/stats-cpus.html
f1bcc98d80493c44035817b31b935b26fc1067fb
[ipfire.org.git] / templates / fireinfo / stats-cpus.html
1 {% extends "../base.html" %}
2
3 {% block title %}{{ _("Processors") }}{% end block %}
4
5 {% block body %}
6 <div class="page-header">
7 <h1>{{ _("Hardware: CPUs") }}</h1>
8 </div>
9
10 <div class="row">
11 <div class="col-md-2 col-md-offset-2 ac">
12 <small class="text-muted">({{ _("minimum") }})</small>
13 <h3>{{ "%.0f" % clock_speed_min }} {{ _("MHz") }}</h3>
14 </div>
15 <div class="col-md-4 ac">
16 <small class="text-muted">({{ _("average") }})</small>
17 <h1 class="text-success">{{ "%.0f" % clock_speed_avg }} {{ _("MHz") }}</h1>
18 </div>
19 <div class="col-md-2 ac">
20 <small class="text-muted">({{ _("maximum") }})</small>
21 <h3>{{ "%.0f" % clock_speed_max }} {{ _("MHz") }}</h3>
22 </div>
23 </div>
24
25 <div class="ac">
26 <ul class="list-inline">
27 <li>{{ _("CPU Features") }}:</li>
28 {% for platform in ("x86", "arm") %}
29 <li>
30 <a href="/statistics/processors/{{ platform }}">{{ platform }}</a>
31 </li>
32 {% end %}
33 </ul>
34 </div>
35
36 <hr>
37
38 <h3>{{ _("Vendors") }}</h3>
39 {% if lang == "de" %}
40 <p>
41 Eine Aufstellung über den beliebtesten Prozessor-Hersteller:
42 </p>
43 {% else %}
44 <p>
45 This chart shows us which vendors is the most favorite for the CPUs
46 used in IPFire.
47 </p>
48 {% end %}
49
50 <dl class="dl-horizontal">
51 {% for vendor, percentage in cpu_vendors %}
52 <dt>{{ vendor }}</dt>
53 <dd>{% module ProgressBar(percentage) %}</dd>
54 {% end %}
55 </dl>
56
57 <h3>{{ _("Architectures") }}</h3>
58 <dl class="dl-horizontal">
59 {% for name, percentage in arch_map %}
60 <dt>{{ name }}</dt>
61 <dd>{% module ProgressBar(percentage) %}</dd>
62 {% end %}
63 </dl>
64 {% end block %}