]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - www/templates/stasy-profile-detail.html
Remove flag from profile page.
[people/shoehn/ipfire.org.git] / www / templates / stasy-profile-detail.html
CommitLineData
91a446f0
MT
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
91a446f0
MT
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.hypervisor %}
56 <h4>{{ _("Hypervisor") }}</h4>
57 <p>
58 {{ _("This machine is running in a virtual environment.") }}
59 </p>
60
61 <table class="fireinfo">
62 <tr>
63 <td class="key">
64 {{ _("Vendor") }}
65 </td>
66 <td class="value">
67 {{ profile.hypervisor.vendor }}
68 </td>
69 </tr>
70 <tr>
71 <td class="key">
72 {{ _("Type") }}
73 </td>
74 <td class="value">
75 {{ profile.hypervisor.type }}
76 </td>
77 </tr>
78 </table>
79 {% end %}
80
81 <h4>{{ _("Hardware") }}</h4>
82 <table class="fireinfo">
83 <tr>
84 <td colspan="2">
85 <strong>{{ _("CPU") }}</strong>
86 </td>
87 </tr>
88 <tr>
89 <td class="key">
90 {{ _("Vendor") }}
91 </td>
92 <td class="value">
93 <a href="/stats/cpus">{{ profile.cpu.vendor }}</a>
94 </td>
95 </tr>
96 <tr>
97 <td class="key">
98 {{ _("Model") }}
99 </td>
100 <td class="value">
101 {{ profile.cpu.model_string or _("Not available") }}
102 </td>
103 </tr>
104 <tr>
105 <td class="key">
106 {{ _("Core count") }}
107 </td>
108 <td class="value">
109 {{ profile.cpu.count }}
110 </td>
111 </tr>
112 <tr>
113 <td class="key">
114 {{ _("Speed") }}
115 </td>
116 <td class="value">
117 {{ profile.cpu.speed }} MHz (Bogomips: {{ profile.cpu.bogomips }})
118 </td>
119 </tr>
120 <tr>
121 <td class="key">
122 {{ _("Supported features") }}
123 </td>
124 <td class="value">
125 <table class="cpufeatures">
126 <tr>
127 {% if profile.cpu.capable_64bit %}
128 <td class="enabled">
129 {% else %}
130 <td class="disabled">
131 {% end %}
132 {{ _("64 bit") }}
133 <td>
134
135 {% if profile.cpu.capable_pae %}
136 <td class="enabled">
137 {% else %}
138 <td class="disabled">
139 {% end %}
140 {{ _("PAE") }}
141 <td>
142
143 {% if profile.cpu.capable_virt %}
144 <td class="enabled">
145 {% else %}
146 <td class="disabled">
147 {% end %}
148 {{ _("VT-x/AMD-V") }}
149 <td>
150 </tr>
151 </table>
152 </td>
153 </tr>
154 <tr>
155 <td colspan="2">
156 <strong>{{ _("Memory") }}<strong>
157 </td>
158 </tr>
159 <tr>
160 <td class="key">
161 {{ _("Size") }}
162 </td>
163 <td class="value">
164 {{ format_size(profile.memory) }}
165 </td>
166 </tr>
167 <tr>
168 <td colspan="2">
169 <strong>{{ _("Disk") }}<strong>
170 </td>
171 </tr>
172 <tr>
173 <td class="key">
174 {{ _("Size") }}
175 </td>
176 <td class="value">
177 {{ format_size(profile.root_size) }}
178 </td>
179 </tr>
180 <tr>
181 <td colspan="2">
182 {{ modules.StasyDeviceTable(profile.devices) }}
183 </td>
184 </tr>
185 </table>
186 <br class="clear" />
187
188 <h3>{{ _("Signature images") }}</h3>
189 <table>
190 {% for i in range(1) %}
191 <tr>
192 <td>
193 <!-- XXX need some bbcode here -->
194 <a href="http://i-use.ipfire.org/profile/{{ profile.public_id }}/{{ i }}.png">
195 <img src="http://i-use.ipfire.org/profile/{{ profile.public_id }}/{{ i }}.png"
196 alt="{{ _("Signature image") }}" />
197 </a>
198 </td>
199 </tr>
200 {% end %}
201 </table>
202
203 <p class="links">
204 {{ _("Last update") }}: {{ locale.format_date(profile.updated) }}
205 </p>
206{% end block %}