<h3>{{ _("Download statistics") }}</h3>
<h4>{{ _("Mirror load from today") }}</h4>
- {{ modules.StasyTable(mirror_load_today, sortby="percentage") }}
+ {% module StasyTable(mirror_load_today, sortby="percentage") %}
<h4>{{ _("Mirror load") }}</h4>
- {{ modules.StasyTable(mirror_load_total, sortby="percentage") }}
+ {% module StasyTable(mirror_load_total, sortby="percentage") %}
</div>
{% end %}
</table>
<h4>{{ _("Downloads by country") }}</h4>
- {{ modules.StasyGeoTable(downloads_locations_today) }}
- {{ modules.StasyGeoTable(downloads_locations_total) }}
+ {% module StasyGeoTable(downloads_locations_today) %}
+ {% module StasyGeoTable(downloads_locations_total) %}
</div>
{% end %}
<a class="brand" href="/">{{ hostname }}</a>
<div class="nav-collapse">
{% block menu %}
- {{ modules.Menu() }}
+ {% module Menu() %}
{% end block %}
</div>
</div>
+++ /dev/null
-{% extends "base.html" %}
-
-{% block title %}{{ _("Builds") }}{% end block %}
-
-{% block content %}
- <h3>{{ _("Nightly builds") }}</h3>
-
- <table id="builds">
- <tbody>
- {% if builds["<12h"] %}
- <tr class="headline">
- <td colspan="3">
- {{ _("Less than 12 hours ago") }}
- </td>
- </tr>
- {% for build in builds["<12h"] %}
- {{ modules.Build(build) }}
- {% end %}
- {% end %}
-
- {% if builds[">12h"] %}
- <tr class="headline">
- <td colspan="3">
- {{ _("More than 12 hours ago") }}
- </td>
- </tr>
- {% for build in builds[">12h"] %}
- {{ modules.Build(build) }}
- {% end %}
- {% end %}
-
- {% if builds[">24h"] %}
- <tr class="headline">
- <td colspan="3">
- {{ _("More than a day ago") }}
- </td>
- </tr>
- {% for build in builds[">24h"] %}
- {{ modules.Build(build) }}
- {% end %}
- {% end %}
- </tbody>
- </table>
-{% end block %}
</div>
</div>
- {{ modules.Advertisement("download-splash") }}
+ {% module Advertisement("download-splash") %}
<h3>{{ _("Next steps") }}</h3>
<div class="row">
</div>
{% for release in releases %}
- {{ modules.ReleaseItemShort(release) }}
+ {% module ReleaseItemShort(release) %}
{% end %}
{% end block %}
{% block title %}Download {{ release.name }}{% end block %}
{% block body %}
- {{ modules.ReleaseItem(release, latest=latest) }}
+ {% module ReleaseItem(release, latest=latest) %}
{% end block %}
<hr>
- {{ modules.DownloadButton(release) }}
+ {% module DownloadButton(release) %}
<br>
<a href="http://downloads.ipfire.org/latest">
{% if preferred_mirrors %}
<h2>{{ _("Mirror servers nearby") }}</h2>
- {{ modules.MirrorsTable(preferred_mirrors) }}
+ {% module MirrorsTable(preferred_mirrors) %}
<h2>{{ _("Worldwide mirror servers") }}</h2>
- {{ modules.MirrorsTable(other_mirrors) }}
+ {% module MirrorsTable(other_mirrors) %}
{% else %}
<h2>{{ _("Worldwide mirror servers") }}</h2>
- {{ modules.MirrorsTable(other_mirrors) }}
+ {% module MirrorsTable(other_mirrors) %}
{% end %}
{% end block %}
<hr>
<div class="ac">
- {{ modules.DownloadButton(release) }}
+ {% module DownloadButton(release) %}
</div>
{% if not release.stable %}
<h1>{{ item.title }}</h1>
</div>
- {{ modules.NewsItem(item, show_heading=False) }}
+ {% module NewsItem(item, show_heading=False) %}
{% end block %}
<h1>{{ _("News from %(year)s") % { "year" : selected_year } }}</h1>
</div>
- {{ modules.NewsYearNavigation(selected_year) }}
+ {% module NewsYearNavigation(selected_year) %}
<hr>
- {{ modules.NewsTable(news) }}
+ {% module NewsTable(news) %}
{% end block %}
<div class="row">
<div class="span6 offset3">
<h3>{{ _("Latest news") }}</h3>
- {{ modules.NewsTable(news) }}
+ {% module NewsTable(news) %}
</div>
</div>
<hr>
- {{ modules.NewsYearNavigation() }}
+ {% module NewsYearNavigation() %}
{% end block %}
</div>
{% for entry in entries %}
- {{ modules.PlanetEntry(entry) }}
+ {% module PlanetEntry(entry) %}
{% end %}
<div class="row">
{% if entries %}
{% for entry in entries %}
- {{ modules.PlanetEntry(entry, show_avatar=False) }}
+ {% module PlanetEntry(entry, show_avatar=False) %}
{% end %}
<div class="row">
{% if profile.devices %}
<h3>{{ _("Peripherial devices") }}</h3>
- {{ modules.StasyDeviceTable(profile.devices) }}
+ {% module StasyDeviceTable(profile.devices) %}
<hr>
{% end %}
How many CPUs support the 64-bit architecture?
</p>
{% end %}
- {{ modules.StasyTable(cpus_lm, sortby="percentage") }}
+ {% module StasyTable(cpus_lm, sortby="percentage") %}
</div>
</div>
This chart shows us which CPUs have got the PAE flag.
</p>
{% end %}
- {{ modules.StasyTable(cpus_pae, sortby="percentage") }}
+ {% module StasyTable(cpus_pae, sortby="percentage") %}
</div>
</div>
support for virtualization like VT-x and AMD-V.
</p>
{% end %}
- {{ modules.StasyTable(cpus_virt, sortby="percentage") }}
+ {% module StasyTable(cpus_virt, sortby="percentage") %}
</div>
</div>
{% end block %}
used in IPFire.
</p>
{% end %}
- {{ modules.StasyTable(cpu_vendors, sortby="percentage") }}
+ {% module StasyTable(cpu_vendors, sortby="percentage") %}
</div>
</div>
<br>
{{ _("All together, there are <strong>%s bogomips</strong> out there.") % locale.friendly_number(bogomips) }}
</p>
- {{ modules.StasyTable(cpu_speeds) }}
+ {% module StasyTable(cpu_speeds) %}
</div>
</div>
<p>
{{ _("See a breakdown of the CPU cores that are installed on the IPFire systems.") }}
</p>
- {{ modules.StasyCPUCoreTable(cpu_cores) }}
+ {% module StasyCPUCoreTable(cpu_cores) %}
</div>
</div>
{% end block %}
This chart shows us in which country IPFire is running.
</p>
{% end %}
- {{ modules.StasyGeoTable(geo_locations) }}
+ {% module StasyGeoTable(geo_locations) %}
</div>
</div>
on the IPFire webinterface.
</p>
{% end %}
- {{ modules.StasyTable(languages, sortby="percentage", locale=True) }}
+ {% module StasyTable(languages, sortby="percentage", locale=True) %}
</div>
</div>
{% end block %}
<p>
{{ _("The average amount of memory of all systems in the database is: <strong>%.2f MB</strong>.") % average_memory }}
</p>
- {{ modules.StasyTable(memory) }}
+ {% module StasyTable(memory) %}
</div>
</div>
{% end block %}
This chart shows us which is the most favourite network configuration.
</p>
{% end %}
- {{ modules.StasyTable(network_zones, sortby="percentage", percentage=True) }}
+ {% module StasyTable(network_zones, sortby="percentage", percentage=True) %}
</div>
</div>
{% end block %}
<div class="row">
<div class="span12">
- {{ modules.StasyTable(releases, sortby="percentage") }}
+ {% module StasyTable(releases, sortby="percentage") %}
</div>
</div>
<div class="row">
<div class="span12">
<h2>{{ _("Architectures") }}</h2>
- {{ modules.StasyTable(arches, sortby="percentage") }}
+ {% module StasyTable(arches, sortby="percentage") %}
</div>
</div>
runnning.
</p>
{% end %}
- {{ modules.StasyTable(kernels, sortby="percentage") }}
+ {% module StasyTable(kernels, sortby="percentage") %}
</div>
</div>
{% end block %}
virtually.
</p>
{% end %}
- {{ modules.StasyTable(is_virtual, sortby="percentage") }}
+ {% module StasyTable(is_virtual, sortby="percentage") %}
</div>
</div>
This is a list of all hypervisor vendors that IPFire is running on.
</p>
{% end %}
- {{ modules.StasyTable(hypervisor_vendors, sortby="percentage") }}
+ {% module StasyTable(hypervisor_vendors, sortby="percentage") %}
</div>
</div>
{% end block %}
</p>
{% end %}
- {{ modules.StasyDeviceTable(models) }}
+ {% module StasyDeviceTable(models) %}
</div>
</div>
{% end block %}
<div class="row">
<div class="span10 offset1">
- {{ modules.DonationBox() }}
+ {% module DonationBox() %}
<hr>
{% if peers %}
<h3>{{ _("Peers") }}</h3>
- {{ modules.TrackerPeerList(peers, percentages=True) }}
+ {% module TrackerPeerList(peers, percentages=True) %}
{% end %}
{% if seeds %}
<h3>{{ _("Seeds") }}</h3>
- {{ modules.TrackerPeerList(seeds) }}
+ {% module TrackerPeerList(seeds) %}
{% end %}
{% end block %}
<hr>
{% if wishes %}
- {{ modules.Wishlist(wishes) }}
+ {% module Wishlist(wishes) %}
<hr>
<div class="row">
<div class="span10 offset1">
- {{ modules.DonationBox(wish.tag) }}
+ {% module DonationBox(wish.tag) %}
</div>
</div>
{% end block %}
<hr>
{% if wishes %}
- {{ modules.Wishlist(wishes) }}
+ {% module Wishlist(wishes) %}
{% else %}
<div class="alert alert-error ac">
{% if lang == "de" %}
<ul class="thumbnails wishes">
{% for wish in wishes %}
- {{ modules.Wish(wish, short=short) }}
+ {% module Wish(wish, short=short) %}
{% end %}
</ul>
<h1>{{ wish.title }}</h1>
</div>
- {{ modules.Wishlist([wish,], short=True) }}
+ {% module Wishlist([wish,], short=True) %}
{{ wish.description }}