1 {% extends
"../base.html" %}
3 {% block title %}{{ _(
"Admin") }}{% end block %}
6 <section class=
"hero is-primary is-fullheight-with-navbar">
7 <div class=
"hero-body">
8 <div class=
"container">
9 <nav class=
"breadcrumb is-medium" aria-label=
"breadcrumbs">
12 <a href=
"https://ipfire.org/">
21 <li class=
"is-active">
32 <section class=
"section">
33 <div class=
"container">
36 <div class=
"has-text-centered">
37 <h1 class=
"title">{{
"{:,d}".format(total) }}
</h1>
38 <h4 class=
"title is-4">{{ _(
"Total Profiles") }}
</h4>
43 <div class=
"has-text-centered">
44 <h1 class=
"title">{{
"%.2f%%" % (with_data *
100 / total) }}
</h1>
45 <h4 class=
"title is-4">{{ _(
"Reporting back to us") }}
</h4>
53 <section class=
"section">
54 <div class=
"container">
55 <h4 class=
"title is-4">{{ _(
"Autonomous Systems") }}
</h4>
57 <table class=
"table is-fullwidth">
59 <th>{{ _(
"Autonomous System") }}
</th>
60 <th class=
"has-text-right">{{ _(
"Total Profiles") }}
</th>
61 <th class=
"has-text-right">{{ _(
"Percentage") }}
</th>
64 {% for asn in sorted(asn_map, key=lambda asn: asn_map[asn], reverse=True) %}
65 {% set c, p = asn_map[asn] %}
68 <th scope=
"row">{{ asn }}
</th>
69 <td class=
"has-text-right">
72 <td class=
"has-text-right">
73 {{
"%.2f%%" % (p *
100) }}
83 <section class=
"section">
84 <div class=
"container">
87 <th>{{ _(
"Date") }}
</th>
88 <th>{{ _(
"Total Profiles") }}
</th>
91 {% for date in sorted(histogram, reverse=True) %}
93 <th scope=
"row">{{ format_date(date) }}
</th>