]>
Commit | Line | Data |
---|---|---|
07992979 | 1 | {% extends "../base.html" %} |
f5b01fc2 MT |
2 | |
3 | {% block title %}{{ _("Location of %s") % address }}{% end block %} | |
4 | ||
07992979 MT |
5 | {% block container %} |
6 | <section class="hero is-primary"> | |
7 | <div class="hero-body"> | |
8 | <div class="container"> | |
ed83981e | 9 | <nav class="breadcrumb" aria-label="breadcrumbs"> |
07992979 MT |
10 | <ul> |
11 | <li> | |
12 | <a href="/"> | |
13 | {{ _("Home") }} | |
14 | </a> | |
15 | </li> | |
16 | <li> | |
1c87d674 | 17 | <a href="/location"> |
07992979 MT |
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 | ||
ed83981e | 27 | <h1 class="title">{{ _("Lookup %s") % address }}</h1> |
fa594847 | 28 | </div> |
07992979 MT |
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> | |
e6b114b8 | 85 | </div> |
f5b01fc2 | 86 | </div> |
07992979 | 87 | </section> |
f5b01fc2 | 88 | {% end block %} |