1 {% extends
"base.html" %}
3 {% block title %}{{ _(
"Profile") }} {{ profile.public_id }}{% end block %}
6 <div class=
"page-header">
7 <h1>{{ _(
"Profile") }}
<small>{{ profile.public_id }}
</small></h1>
11 <div class=
"col-lg-6 col-md-6">
12 <h3>{{ _(
"Operating system") }}
</h3>
24 {{ _(
"Architecture") }}
27 {{ profile.cpu.arch }}
32 {{ _(
"Kernel version") }}
41 <div class=
"col-lg-6 col-md-6">
42 {% if profile.hypervisor %}
43 <h3>{{ _(
"Hypervisor") }}
</h3>
45 {{ _(
"This machine is running in a virtual environment.") }}
54 {{ profile.hypervisor.vendor }}
62 {{ profile.hypervisor.type }}
67 <h3>{{ _(
"Hardware vendor") }}
</h3>
74 {{ profile.vendor or _(
"Unknown") }}
82 {{ profile.model or _(
"Unknown") }}
92 {% if profile.network %}
94 <div class=
"col-lg-12 col-md-12">
95 <h2>{{ _(
"Network") }}
</h2>
97 {{ _(
"Enabled network zones") }}
99 {% for zone in (
"GREEN",
"RED",
"BLUE",
"ORANGE") %}
100 {% if profile.network.has_zone(zone.lower()) %}
101 {% if zone ==
"GREEN" %}
102 <span class=
"label label-success">{{ _(zone) }}
</span>
103 {% elif zone ==
"RED" %}
104 <span class=
"label label-danger">{{ _(zone) }}
</span>
105 {% elif zone ==
"ORANGE" %}
106 <span class=
"label label-warning">{{ _(zone) }}
</span>
107 {% elif zone ==
"BLUE" %}
108 <span class=
"label label-info">{{ _(zone) }}
</span>
119 <h2>{{ _(
"Hardware") }}
</h2>
121 <div class=
"col-lg-6 col-md-6">
122 <table class=
"table">
125 <strong>{{ _(
"CPU") }}
</strong>
133 <a href=
"/stats/cpus">{{ profile.cpu.vendor }}
</a>
141 {{ profile.cpu.model_string or _(
"Not available") }}
149 {{ profile.cpu.count }}
157 {{ profile.cpu.speed }} MHz
158 {% if profile.cpu.speed != profile.cpu.bogomips %}
159 (Bogomips: {{ profile.cpu.bogomips }})
163 {% if profile.cpu.vendor !=
"ARM" %}
166 {{ _(
"Supported features") }}
169 {% if profile.cpu.capable_64bit %}
170 <span class=
"label label-success">{{ _(
"64 bit capable") }}
</span>
173 {% if profile.cpu.capable_pae %}
174 <span class=
"label label-success">{{ _(
"PAE capable") }}
</span>
177 {% if profile.cpu.capable_virt %}
178 <span class=
"label label-success">{{ _(
"VT-x/AMD-V") }}
</span>
186 <div class=
"col-lg-6 col-md-6">
187 <table class=
"table">
190 {{ _(
"Memory size") }}
193 {{ format_size(profile.memory) }}
198 {{ _(
"System disk size") }}
201 {{ format_size(profile.root_size) }}
210 {% if profile.devices %}
211 <h3>{{ _(
"Peripherial devices") }}
</h3>
212 {% module StasyDeviceTable(profile.devices) %}
216 <h3>{{ _(
"Signature images") }}
</h3>
217 <ul class=
"list-unstyled">
218 {% for i in range(
1) %}
220 <!-- XXX need some bbcode here -->
221 <a href=
"http://i-use.ipfire.org/profile/{{ profile.public_id }}/{{ i }}.png">
222 <img src=
"http://i-use.ipfire.org/profile/{{ profile.public_id }}/{{ i }}.png"
223 alt=
"{{ _("Signature image
") }}" />
229 <div class=
"pull-right">
231 {{ _(
"Last update") }}: {{ locale.format_date(profile.updated) }}