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