]> git.ipfire.org Git - ipfire.org.git/blob - src/templates/download/release.html
CSS: Replace btn-block with buttons wrapped in d-grid
[ipfire.org.git] / src / templates / download / release.html
1 {% extends "../base.html" %}
2
3 {% block title %}{{ release }}{% end block %}
4
5 {% block container %}
6 <div class="header">
7 <div class="container">
8 <h1>{{ _("Download") }}</h1>
9
10 <p class="text-muted">
11 IPFire is free to download for everyone... XXX
12 </p>
13 </div>
14 </div>
15
16 <div class="container">
17 <section>
18 <h2>{{ release }}</h2>
19
20 <p class="text-muted">
21 {{ _("Released %s") % locale.format_date(release.published, relative=True, shorter=True) }}
22
23 {% if release.blog %}
24 &bull;
25 <a href="/blog/{{ release.blog.slug }}">{{ _("Release Notes") }}</a>
26 {% end %}
27 </p>
28
29 <div class="card-deck">
30 {% for arch in release.arches %}
31 <div class="card">
32 <div class="card-body">
33 <h6 class="card-title mb-0">
34 {{ arch }}
35
36 {% if arch in release.experimental_arches %}
37 <span class="badge bg-success">{{ _("Experimental") }}</span>
38 {% elif arch in release.secondary_arches %}
39 <span class="badge bg-warning">{{ _("Legacy") }}</span>
40 {% end %}
41 </h6>
42 </div>
43
44 <div class="list-group list-group-flush">
45 {% for file in release.get_files_by_arch(arch) %}
46 <a class="list-group-item list-group-item-action
47 d-flex justify-content-between align-items-center download-splash" href="{{ file.url }}">
48 <span>
49 <i class="fas fa-download text-primary"></i> {{ _(file.desc) }}
50 </span>
51
52 <span class="text-muted small">
53 {{ format_size(file.size) }}
54 </span>
55 </a>
56 {% end %}
57 </div>
58 </div>
59 {% end %}
60 </div>
61 </section>
62 </div>
63
64 <section class="inverse">
65 <div class="container">
66 <div class="row flex-md-row-reverse">
67 <div class="col-12 col-md-4 text-center text-md-right">
68 <span class="fas fa-cloud fa-10x my-5"></span>
69 </div>
70
71 <div class="col-12 col-md-8">
72 <h1>{{ _("Running IPFire in the Cloud?") }}</h1>
73
74 <p>
75 {{ _("IPFire is now available in the Amazon Cloud.") }}
76 {{ _("Create flexible firewall rules and use our Intrusion Detection System to protect your servers in the Cloud.") }}
77 {{ _("Connect to them securely using our VPN technologies.") }}
78 </p>
79
80 <a class="btn btn-lwl" href="https://aws.amazon.com/marketplace/pp/B07HYRD4FX">
81 {{ _("Go to Amazon Web Services") }} <span class="fas fa-external-link-alt ml-2"></span>
82 </a>
83 </div>
84 </div>
85 </div>
86 </section>
87
88 <div class="container">
89 <section>
90 <p>
91 {{ _("All downloads will be served from one of our mirror servers that are sponsored by various organisations from all around the world to help us make IPFire available for everyone") }}
92 </p>
93
94 <div class="d-grid">
95 <a class="btn btn-light" href="/download/mirrors">
96 {{ _("Browse Mirrors") }}
97 </a>
98 </div>
99 </section>
100 </div>
101 {% end block %}
102
103 {% block javascript %}
104 <script type="text/javascript">
105 $("a.download-splash").click(function(e) {
106 e.preventDefault();
107
108 window.location = "/download/thank-you?file=" + this.href;
109 });
110 </script>
111 {% end %}