]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blame - www/templates/stasy-profile.html
Import of new website.
[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>
27 {{ profile.arch }}
28 </td>
29 </tr>
30 <tr>
31 <td>
32 {{ _("Kernel version") }}
33 </td>
34 <td>
35 {{ profile.kernel }}
36 </td>
37 </tr>
38 </table>
39
40 <h4>{{ _("Hardware") }}</h4>
41 <table>
42 <tr>
43 <td colspan="2">
44 <strong>{{ _("CPU") }}</strong>
45 </td>
46 </tr>
47 <tr>
48 <td>
49 {{ _("Vendor") }}
50 </td>
51 <td>
52 {{ profile.cpu.vendor }}
53 </td>
54 </tr>
55 <tr>
56 <td>
57 {{ _("Model") }}
58 </td>
59 <td>
60 <!-- XXX hack - becuase module_string does not exist, yet -->
61 {{ profile.cpu._data.get("model_string", _("Not available")) }}
62 </td>
63 <tr>
64 <td>
65 {{ _("CPU flags") }}
66 </td>
67 <td>
68 {{ locale.list(profile.cpu.flags) }}
69 </td>
70 </tr>
71 <tr>
72 <td colspan="2">
73 <strong>{{ _("Memory") }}<strong>
74 </td>
75 </tr>
76 <tr>
77 <td>
78 {{ _("Size") }}
79 </td>
80 <td>
81 {{ int(profile.memory) / 1024 }} {{ _("MegaBytes") }}
82 </td>
83 </tr>
84 <tr>
85 <td colspan="2">
86 <strong>{{ _("Disk") }}<strong>
87 </td>
88 </tr>
89 <tr>
90 <td>
91 {{ _("Size") }}
92 </td>
93 <td>
94 {{ profile.root_size / 1024 }} {{ _("MegaBytes") }}
95 </td>
96 </tr>
97 <tr>
98 <td colspan="2">
99 <strong>{{ _("Devices") }}</strong>
100 </td>
101 </tr>
102 {% for device in profile.devices %}
103 <tr>
104 <td>
105 {{ device.subsystem.upper() }}
106 </td>
107 <td>
108 <a href="/vendor/{{ device.subsystem.lower() }}/{{ device.vendor }}">{{ device.vendor }}</a>:<a
109 href="/model/pci/{{ device.vendor }}/{{device.model }}">{{ device.model }}</a> &bull;
110 {{ device.vendor_string }}
111 {{ device.model_string }}
112 </td>
113 </tr>
114 {% end %}
115 </table>
116
117 <p class="links">
118 {{ _("Last update") }}: {{ locale.format_date(profile.updated) }}
119 </p>
120{% end block %}