]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - www/templates/stasy-profile.html
Initial import of fireinfo display.
[people/shoehn/ipfire.org.git] / www / templates / stasy-profile.html
CommitLineData
940227cb
MT
1{% extends "stasy-base-1.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>
9 <tr>
10 <td colspan="2">
11 <strong>{{ _("Operating system") }}</strong>
12 </td>
13 </tr>
14 <tr>
15 <td>
16 {{ _("Version") }}
17 </td>
18 <td>
19 {{ profile.release }}
20 </td>
21 </tr>
22 <tr>
23 <td>
24 {{ _("Architecture") }}
25 </td>
26 <td>
372efc19 27 {{ profile.cpu.arch }}
940227cb
MT
28 </td>
29 </tr>
30 <tr>
31 <td>
32 {{ _("Kernel version") }}
33 </td>
34 <td>
35 {{ profile.kernel }}
36 </td>
37 </tr>
38 </table>
372efc19
MT
39
40 {% if profile.hypervisor %}
41 <h4>{{ _("Hypervisor") }}</h4>
42
43 <table>
44 <tr>
45 <td>
46 {{ _("Vendor") }}
47 </td>
48 <td>
49 {{ profile.hypervisor.vendor }}
50 </td>
51 </tr>
52 <tr>
53 <td>
54 {{ _("Model") }}
55 </td>
56 <td>
57 {{ profile.hypervisor.model or _("Unknown") }}
58 </td>
59 </tr>
60 <tr>
61 <td>
62 {{ _("Type") }}
63 </td>
64 <td>
65 {{ profile.hypervisor.type }}
66 </td>
67 </tr>
68 </table>
69 {% end %}
940227cb
MT
70
71 <h4>{{ _("Hardware") }}</h4>
72 <table>
73 <tr>
74 <td colspan="2">
75 <strong>{{ _("CPU") }}</strong>
76 </td>
77 </tr>
78 <tr>
79 <td>
80 {{ _("Vendor") }}
81 </td>
82 <td>
372efc19 83 <a href="/vendor/cpu/{{ profile.cpu.vendor }}">{{ profile.cpu.vendor }}</a>
940227cb
MT
84 </td>
85 </tr>
86 <tr>
87 <td>
88 {{ _("Model") }}
89 </td>
90 <td>
372efc19 91 {{ profile.cpu.model_string or _("Not available") }}
940227cb 92 </td>
372efc19
MT
93 </tr>
94<!--
940227cb
MT
95 <tr>
96 <td>
97 {{ _("CPU flags") }}
98 </td>
99 <td>
100 {{ locale.list(profile.cpu.flags) }}
101 </td>
102 </tr>
372efc19
MT
103-->
104 <tr>
105 <td>
106 {{ _("Supports x86_64") }}
107 </td>
108 <td>
109 {% if profile.cpu.capable_64bit %}
110 YES
111 {% else %}
112 NO
113 {% end %}
114 </td>
115 </tr>
116 <tr>
117 <td>
118 {{ _("Supports PAE") }}
119 </td>
120 <td>
121 {% if profile.cpu.capable_pae %}
122 YES
123 {% else %}
124 NO
125 {% end %}
126 </td>
127 </tr>
128 <tr>
129 <td>
130 {{ _("Supports VT-x/AMD-V") }}
131 </td>
132 <td>
133 {% if profile.cpu.capable_virt %}
134 YES
135 {% else %}
136 NO
137 {% end %}
138 </td>
139 </tr>
940227cb
MT
140 <tr>
141 <td colspan="2">
142 <strong>{{ _("Memory") }}<strong>
143 </td>
144 </tr>
145 <tr>
146 <td>
147 {{ _("Size") }}
148 </td>
149 <td>
150 {{ int(profile.memory) / 1024 }} {{ _("MegaBytes") }}
151 </td>
152 </tr>
153 <tr>
154 <td colspan="2">
155 <strong>{{ _("Disk") }}<strong>
156 </td>
157 </tr>
158 <tr>
159 <td>
160 {{ _("Size") }}
161 </td>
162 <td>
163 {{ profile.root_size / 1024 }} {{ _("MegaBytes") }}
164 </td>
165 </tr>
166 <tr>
167 <td colspan="2">
168 <strong>{{ _("Devices") }}</strong>
169 </td>
170 </tr>
372efc19
MT
171 <tr>
172 <td colspan="2">
173 <table>
174 {% for device in profile.devices %}
175 <tr>
176 <td>
177 {{ device.subsystem.upper() }}
178 </td>
179 <td>
180 <a href="/vendor/{{ device.subsystem.lower() }}/{{ device.vendor }}">{{ device.vendor_string }}</a>
181 </td>
182 <td>
183 <a href="/model/pci/{{ device.vendor }}/{{device.model }}">{{ device.model_string }}</a>
184 </td>
185 <td>
186 {{ device.driver or "&nbsp;" }}
187 </td>
188 </tr>
189 {% end %}
190 </table>
191 </td>
192 </tr>
940227cb
MT
193 </table>
194
195 <p class="links">
196 {{ _("Last update") }}: {{ locale.format_date(profile.updated) }}
197 </p>
198{% end block %}