]> git.ipfire.org Git - ipfire.org.git/blob - src/templates/location/lookup.html
wiki: Only match usernames when a word starts with @
[ipfire.org.git] / src / templates / location / lookup.html
1 {% extends "../base.html" %}
2
3 {% block title %}{{ _("Location of %s") % address }}{% end block %}
4
5 {% block container %}
6 <section class="hero is-primary">
7 <div class="hero-body">
8 <div class="container">
9 <nav class="breadcrumb" aria-label="breadcrumbs">
10 <ul>
11 <li>
12 <a href="/">
13 {{ _("Home") }}
14 </a>
15 </li>
16 <li>
17 <a href="/location">
18 {{ _("Location") }}
19 </a>
20 </li>
21 <li class="is-active">
22 <a href="#" aria-current="page">{{ _("Lookup %s") % address }}</a>
23 </li>
24 </ul>
25 </nav>
26
27 <h1 class="title">{{ _("Lookup %s") % address }}</h1>
28 </div>
29 </div>
30 </section>
31
32 <section class="section">
33 <div class="container">
34 <div class="columns is-vcentered">
35 <div class="column is-7 has-text-centered">
36 <div class="block">
37 <p class="heading">{{ _("Network") }}</p>
38 <p class="title">{{ address.network }}</p>
39 </div>
40
41 <div class="block">
42 <p class="heading">{{ _("Autonomous System") }}</p>
43 <p class="title">
44 {{ address.autonomous_system or ("AS%s" % address.asn if address.asn else _("N/A")) }}
45 </p>
46 </div>
47
48 {% if address.country_code %}
49 <div class="block">
50 <p class="heading">{{ _("Country") }}</p>
51 <p class="title">
52 {{ format_country_name(address.country_code) }}
53 </p>
54 </div>
55 {% end %}
56
57 <div class="tags">
58 {% if address.is_anonymous_proxy() %}
59 <span class="tag">
60 {{ _("Anonymous Proxy") }}
61 </span>
62 {% end %}
63
64 {% if address.is_satellite_provider() %}
65 <span class="tag">
66 {{ _("Satellite Provider") }}
67 </span>
68 {% end %}
69
70 {% if address.is_anycast() %}
71 <span class="tag">
72 {{ _("Anycast") }}
73 </span>
74 {% end %}
75 </div>
76 </div>
77
78 <div class="column">
79 {% if address.country_code %}
80 <div class="box">
81 {% module Map(address.country_code) %}
82 </div>
83 {% end %}
84 </div>
85 </div>
86 </div>
87 </section>
88 {% end block %}