From: Sven Hoehn Date: Wed, 6 Dec 2017 16:41:25 +0000 (+0100) Subject: Bootstrap 4 migration: fireinfo page (part) X-Git-Url: http://git.ipfire.org/?p=people%2Fshoehn%2Fipfire.org.git;a=commitdiff_plain;h=0cc402097415ea41652f3573860ae37690a53169 Bootstrap 4 migration: fireinfo page (part) --- diff --git a/templates/fireinfo/index.html b/templates/fireinfo/index.html index 0e229f9..0f9f142 100644 --- a/templates/fireinfo/index.html +++ b/templates/fireinfo/index.html @@ -3,59 +3,59 @@ {% block title %}Fireinfo{% end block %} {% block body %} - {% if lang == "de" %} -

- Fireinfo ist ein Tool, welches anonym Informationen - über die in IPFire-Systemen verbaute Hardware sammelt. -

-

- Diese Daten sollen den Entwicklern helfen zu erkennen, welche - Hardware am häufigsten eingesetzt wird und sind auch hilfreich - um Hardware-Probleme ausfindig zu machen. -

- {% else %} -

- Fireinfo is a tool that anonymously collects statistical - data from IPFire systems. -

-

- These data should help the developers to learn - which hardware is used most often to run an IPFire system, but is also - handy when it comes to debugging hardware problems. -

- {% end %} - -
- -
-
- {% if lang == "de" %} -

- Bitte geben Sie die Profil-ID von ihrem System ein, welche - Sie auf der Fireinfo-Seite des Webinterfaces finden können: -

- {% else %} -

- Please enter the profile ID of your system, which can be found - on the fireinfo page on the web interface, to see your profile: -

- {% end %} - -
- -
-
- - - -
- {% raw xsrf_form_html() %} -
- -
- - {{ _("Random profile") }} +
+
+

{{ _("Fireinfo") }}

+ {% if lang == "de" %} +

+ Fireinfo ist ein Tool, welches anonym Informationen + über die in IPFire-Systemen verbaute Hardware sammelt. +

+

+ Diese Daten sollen den Entwicklern helfen zu erkennen, welche + Hardware am häufigsten eingesetzt wird und sind auch hilfreich + um Hardware-Probleme ausfindig zu machen. +

+ {% else %} +

+ Fireinfo is a tool that anonymously collects statistical + data from IPFire systems. +

+

+ These data should help the developers to learn + which hardware is used most often to run an IPFire system, but is also + handy when it comes to debugging hardware problems. +

+ {% end %} + +
+
+ {% if lang == "de" %} +

+ Bitte geben Sie die Profil-ID von ihrem System ein, welche + Sie auf der Fireinfo-Seite des Webinterfaces finden können: +

+ {% else %} +

+ Please enter the profile ID of your system, which can be found + on the fireinfo page on the web interface, to see your profile: +

+ {% end %} +
+
+
+
+ + + +
+ {% raw xsrf_form_html() %} +
+ +

{{ _("Random profile") }}

+
-
+ +
{% end block %} diff --git a/templates/fireinfo/profile-detail.html b/templates/fireinfo/profile-detail.html index f44653a..5aeba09 100644 --- a/templates/fireinfo/profile-detail.html +++ b/templates/fireinfo/profile-detail.html @@ -3,60 +3,60 @@ {% block title %}{{ _("Profile") }} {{ profile.public_id }}{% end block %} {% block body %} - - -
-

{{ profile.release }}

- - {% for zone in profile.network %} - {% if zone == "red" %} - {{ _("RED") }} - {% elif zone == "green" %} - {{ _("GREEN") }} - {% elif zone == "orange" %} - {{ _("ORANGE") }} - {% elif zone == "blue" %} - {{ _("BLUE") }} - {% end %} - {% end %} -
+
+
+

{{ _("Profile") }} {{ profile.public_id }}

-
- - {% if profile.appliance_id %} -
- {% if profile.appliance_id.startswith("fountainnetworks-") %} - - {{ _("Get yours at") }} - - fountainnetworks.com - - - {% elif profile.appliance_id.startswith("lightningwirelabs-") %} - - {{ _("Get yours at") }} - - lightningwirelabs.com - - - {% end %} - - {{ profile.appliance }} -
- {% end %} - -
-
-

- {{ _("Processor") }} -

+
+

{{ profile.release }}

+

- {{ profile.processor }} + {% for zone in profile.network %} + {% if zone == "red" %} + {{ _("RED") }} + {% elif zone == "green" %} + {{ _("GREEN") }} + {% elif zone == "orange" %} + {{ _("ORANGE") }} + {% elif zone == "blue" %} + {{ _("BLUE") }} + {% end %} + {% end %}

- +
+ +
+ {% if profile.appliance_id %} +
+

+ {% if profile.appliance_id.startswith("fountainnetworks-") %} + + {{ _("Get yours at") }} + + fountainnetworks.com + + + {% elif profile.appliance_id.startswith("lightningwirelabs-") %} + + {{ _("Get yours at") }} + + lightningwirelabs.com + + + {% end %} + + {{ profile.appliance }} +

+
+ {% end %} +
+
+ +
+
+

{{ _("Processor") }}

+

{{ profile.processor }}

{% if profile.processor.count >= 2 %}

{% if profile.processor.count == 2 %} @@ -68,7 +68,7 @@ {% else %} {{ _("%s core processor") % profile.processor.count }} {% end %} - + {% if profile.processor.uses_ht() %} {% if profile.processor.vendor == "Intel" %} {{ _("using Intel Hyper-Threading Technology") }} @@ -78,10 +78,10 @@ {% end %}

{% end %} - +
  • - {{ _("Supported features") }}: + {{ _("Supported features") }}:
  • {% for cap, available in profile.processor.capabilities %}
  • @@ -104,8 +104,8 @@ {% end %}
- -
+ +
{% if profile.virtual %}
@@ -125,13 +125,13 @@
{{ _("Vendor") }}
{{ profile.system_vendor }}
{% end %} - + {% if profile.system_model %}
{{ _("Model") }}
{{ profile.system_model }}
{% end %} {% end %} - + {% if profile.memory %}
{{ _("Memory") }} @@ -148,17 +148,17 @@ {% end %} - + {% if profile.storage %}
{{ _("System Storage") }}
{{ format_size(profile.storage) }}
{% end %} - + {% if profile.kernel %}
{{ _("Kernel") }}
{{ profile.kernel }}
{% end %} - + {% if profile.location %}
{{ _("Location") }} @@ -167,7 +167,7 @@ {{ profile.location_string }} {% end %} - + {% if profile.language %}
{{ _("Language") }} @@ -177,29 +177,35 @@
-
- - {% if profile.devices %} - {% module FireinfoDeviceAndGroupsTable([d for d in profile.devices if d.is_showable()]) %} -
- {% end %} - -

{{ _("Signature images") }}

-
    - {% for i in range(1) %} -
  • - - - {{ _( - -
  • - {% end %} -
- -
-

- {{ _("Last update") }}: {{ locale.format_date(profile.time_updated) }} -

-
+ +
+
+ {% if profile.devices %} + {% module FireinfoDeviceAndGroupsTable([d for d in profile.devices if d.is_showable()]) %} +
+ {% end %} +
+
+ +
+
+

{{ _("Signature images") }}

+
    + {% for i in range(1) %} +
  • + + + {{ _( + +
  • + {% end %} +
+
+
+

{{ _("Last update") }}: {{ locale.format_date(profile.time_updated) }}

+
+
+
+
{% end block %}