1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"Profile %s") % profile.public_id }}{% end block %}
6 <section class=
"hero is-primary">
7 <div class=
"hero-body">
8 <div class=
"container">
9 <nav class=
"breadcrumb" aria-label=
"breadcrumbs">
12 <a href=
"https://ipfire.org/">
22 <a href=
"../profile/random">
23 {{ _(
"Random Profile") }}
26 <li class=
"is-active">
27 <a href=
"../profile/random">
28 {{ profile.public_id }}
34 <h1 class=
"title">{{ _(
"Profile") }}
</h1>
35 <h4 class=
"subtitle is-4">{{ profile.public_id }}
</h4>
40 <section class=
"hero is-light">
41 <div class=
"hero-body">
42 <div class=
"container">
43 <h4 class=
"title is-4">
44 {{ _(
"Running %s") % profile.system.release }}
47 <h5 class=
"title is-5">
48 {{ _(
"Last update %s") % locale.format_date(profile.last_updated_at) }}
51 {% for zone in profile.network %}
52 {% if zone ==
"red" %}
53 <span class=
"tag is-danger">{{ _(
"RED") }}
</span>
54 {% elif zone ==
"green" %}
55 <span class=
"tag is-success">{{ _(
"GREEN") }}
</span>
56 {% elif zone ==
"orange" %}
57 <span class=
"tag is-warning">{{ _(
"ORANGE") }}
</span>
58 {% elif zone ==
"blue" %}
59 <span class=
"tag is-info">{{ _(
"BLUE") }}
</span>
66 <div class=
"container">
67 <section class=
"section">
69 {% if profile.is_virtual() %}
71 <div class=
"column is-3">{{ _(
"Hypervisor") }}
</div>
72 <div class=
"column is-9">
73 {% if profile.hypervisor ==
"VMWare" %}
75 {% elif profile.hypervisor is None %}
78 {{ profile.hypervisor }}
82 {% elif profile.system %}
84 <div class=
"column is-3">{{ _(
"System") }}
</div>
85 <div class=
"column is-9">
86 {% if profile.system.vendor %}
87 {{ profile.system.vendor }}
90 {% if profile.system.vendor and profile.system.model %}
94 {% if profile.system.model %}
95 {{ profile.system.model }}
103 {% if profile.processor %}
104 <div class=
"columns">
105 <div class=
"column is-3">{{ _(
"Processor") }}
</div>
106 <div class=
"column is-9">
107 <p>{{ profile.processor }}
</p>
109 {% for cap, available in profile.processor.capabilities %}
110 <span class=
"tag {% if available %}is-success{% else %}is-light{% end %}">
111 {% if cap ==
"64bit" %}
113 {% elif cap ==
"aes" %}
115 {% elif cap ==
"nx" %}
117 {% elif cap ==
"pae" %}
119 {% elif cap ==
"rdrand" %}
121 {% elif cap ==
"virt" %}
122 {{ _(
"VT-x/AMD-V") }}
132 {% if profile.memory %}
133 <div class=
"columns">
134 <div class=
"column is-3">{{ _(
"Memory") }}
</div>
135 <div class=
"column is-9">
136 {{ format_size(profile.memory) }}
143 {% if profile.system.storage %}
144 <div class=
"columns">
145 <div class=
"column is-3">{{ _(
"Storage") }}
</div>
146 <div class=
"column is-9">
147 {{ format_size(profile.system.storage) }}
154 {% if profile.location %}
155 <div class=
"columns">
156 <div class=
"column is-3">{{ _(
"Location") }}
</div>
157 <div class=
"column is-9">
158 {{ profile.location_string }}
165 {% if profile.system.language %}
166 <div class=
"columns">
167 <div class=
"column is-3">{{ _(
"Language") }}
</div>
168 <div class=
"column is-9">
169 {{ format_language_name(profile.system.language) }}
176 <section class=
"section">
177 {% if profile.devices %}
178 {% module FireinfoDeviceTable([d for d in profile.devices if d.is_showable()], embedded=True) %}
182 <section class=
"section">
183 <h5>{{ _(
"Signature images") }}
</h5>
185 <ul class=
"list-unstyled">
186 {% for i in range(
1) %}
187 <li class=
"list-inline-item">
188 <!-- XXX need some bbcode here -->
189 <a href=
"//i-use.ipfire.org/profile/{{ profile.public_id }}/{{ i }}.png">
190 <img class=
"img-fluid" src=
"//i-use.ipfire.org/profile/{{ profile.public_id }}/{{ i }}.png"
191 alt=
"{{ _("Signature image
") }}" />