]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blob - www/templates/stasy-profile-detail.html
Big update of the fireinfo service.
[people/shoehn/ipfire.org.git] / www / templates / stasy-profile-detail.html
1 {% extends "stasy-base-2.html" %}
2
3 {% block title %}{{ _("Profile") }} {{ profile.public_id }}{% end block %}
4
5 {% block content %}
6 <h3>{{ _("Profile") }} {{ profile.public_id }}</h3>
7
8 <img src="{{ static_url("images/flags/%s.png" % profile.country_code) }}"
9 class="floatTR" alt="{{ profile.country_code }}" />
10
11 <table class="fireinfo">
12 <tr>
13 <td class="key">
14 {{ _("Vendor") }}
15 </td>
16 <td class="value">
17 {{ profile.vendor }}
18 </td>
19 </tr>
20 <tr>
21 <td class="key">
22 {{ _("Model") }}
23 </td>
24 <td class="value">
25 {{ profile.model }}
26 </td>
27 </tr>
28 </table>
29
30 <h4>{{ _("Operating system") }}</h4>
31 <table class="fireinfo">
32 <tr>
33 <td class="key">
34 {{ _("Version") }}
35 </td>
36 <td class="value">
37 {{ profile.release }}
38 </td>
39 </tr>
40 <tr>
41 <td class="key">
42 {{ _("Architecture") }}
43 </td>
44 <td class="value">
45 {{ profile.cpu.arch }}
46 </td>
47 </tr>
48 <tr>
49 <td class="key">
50 {{ _("Kernel version") }}
51 </td>
52 <td class="value">
53 {{ profile.kernel }}
54 </td>
55 </tr>
56 </table>
57
58 {% if profile.hypervisor %}
59 <h4>{{ _("Hypervisor") }}</h4>
60 <p>
61 {{ _("This machine is running in a virtual environment.") }}
62 </p>
63
64 <table class="fireinfo">
65 <tr>
66 <td class="key">
67 {{ _("Vendor") }}
68 </td>
69 <td class="value">
70 {{ profile.hypervisor.vendor }}
71 </td>
72 </tr>
73 <tr>
74 <td class="key">
75 {{ _("Type") }}
76 </td>
77 <td class="value">
78 {{ profile.hypervisor.type }}
79 </td>
80 </tr>
81 </table>
82 {% end %}
83
84 <h4>{{ _("Hardware") }}</h4>
85 <table class="fireinfo">
86 <tr>
87 <td colspan="2">
88 <strong>{{ _("CPU") }}</strong>
89 </td>
90 </tr>
91 <tr>
92 <td class="key">
93 {{ _("Vendor") }}
94 </td>
95 <td class="value">
96 <a href="/stats/cpus">{{ profile.cpu.vendor }}</a>
97 </td>
98 </tr>
99 <tr>
100 <td class="key">
101 {{ _("Model") }}
102 </td>
103 <td class="value">
104 {{ profile.cpu.model_string or _("Not available") }}
105 </td>
106 </tr>
107 <tr>
108 <td class="key">
109 {{ _("Core count") }}
110 </td>
111 <td class="value">
112 {{ profile.cpu.count }}
113 </td>
114 </tr>
115 <tr>
116 <td class="key">
117 {{ _("Speed") }}
118 </td>
119 <td class="value">
120 {{ profile.cpu.speed }} MHz (Bogomips: {{ profile.cpu.bogomips }})
121 </td>
122 </tr>
123 <tr>
124 <td class="key">
125 {{ _("Supported features") }}
126 </td>
127 <td class="value">
128 <table class="cpufeatures">
129 <tr>
130 {% if profile.cpu.capable_64bit %}
131 <td class="enabled">
132 {% else %}
133 <td class="disabled">
134 {% end %}
135 {{ _("64 bit") }}
136 <td>
137
138 {% if profile.cpu.capable_pae %}
139 <td class="enabled">
140 {% else %}
141 <td class="disabled">
142 {% end %}
143 {{ _("PAE") }}
144 <td>
145
146 {% if profile.cpu.capable_virt %}
147 <td class="enabled">
148 {% else %}
149 <td class="disabled">
150 {% end %}
151 {{ _("VT-x/AMD-V") }}
152 <td>
153 </tr>
154 </table>
155 </td>
156 </tr>
157 <tr>
158 <td colspan="2">
159 <strong>{{ _("Memory") }}<strong>
160 </td>
161 </tr>
162 <tr>
163 <td class="key">
164 {{ _("Size") }}
165 </td>
166 <td class="value">
167 {{ format_size(profile.memory) }}
168 </td>
169 </tr>
170 <tr>
171 <td colspan="2">
172 <strong>{{ _("Disk") }}<strong>
173 </td>
174 </tr>
175 <tr>
176 <td class="key">
177 {{ _("Size") }}
178 </td>
179 <td class="value">
180 {{ format_size(profile.root_size) }}
181 </td>
182 </tr>
183 <tr>
184 <td colspan="2">
185 {{ modules.StasyDeviceTable(profile.devices) }}
186 </td>
187 </tr>
188 </table>
189 <br class="clear" />
190
191 <h3>{{ _("Signature images") }}</h3>
192 <table>
193 {% for i in range(1) %}
194 <tr>
195 <td>
196 <!-- XXX need some bbcode here -->
197 <a href="http://i-use.ipfire.org/profile/{{ profile.public_id }}/{{ i }}.png">
198 <img src="http://i-use.ipfire.org/profile/{{ profile.public_id }}/{{ i }}.png"
199 alt="{{ _("Signature image") }}" />
200 </a>
201 </td>
202 </tr>
203 {% end %}
204 </table>
205
206 <p class="links">
207 {{ _("Last update") }}: {{ locale.format_date(profile.updated) }}
208 </p>
209 {% end block %}