]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/download/release.html
downloads: Add link to mirrors
[ipfire.org.git] / src / templates / download / release.html
CommitLineData
dd3d93e3 1{% extends "../base.html" %}
e77cd04c 2
02d212c2 3{% block title %}{{ release }}{% end block %}
e77cd04c 4
ed07e1fa 5{% block container %}
d30a1480 6 <div class="header">
ed07e1fa 7 <div class="container">
e3a429be
MT
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>
960095f2 19
d30a1480 20 <p class="text-muted">
02d212c2 21 {{ _("Released %s") % locale.format_date(release.published, relative=True, shorter=True) }}
ed07e1fa 22
02d212c2
MT
23 {% if release.blog %}
24 &bull;
34472923 25 <a href="/blog/{{ release.blog.slug }}">{{ _("Release Notes") }}</a>
02d212c2 26 {% end %}
d30a1480 27 </p>
ed07e1fa 28
e3a429be
MT
29 <div class="list-group">
30 {% for i, arch in enumerate(release.arches) %}
31 <div class="list-group-item bg-dark text-white d-flex align-items-start justify-content-between">
32 <h6 class="mb-0">{{ arch }}</h6>
33
34 {% if arch in release.experimental_arches %}
35 <span class="badge badge-success">{{ _("Experimental") }}</span>
36 {% elif arch in release.secondary_arches %}
37 <span class="badge badge-warning">{{ _("Legacy") }}</span>
38 {% end %}
39 </div>
d30a1480 40
d30a1480 41 {% for file in release.get_files_by_arch(arch) %}
ea31fc68 42 <a class="list-group-item list-group-item-action download-splash" href="{{ file.url }}">
e3a429be
MT
43 <h6>
44 {{ _(file.desc) }} <i class="fas fa-download text-primary"></i>
45 </h6>
d30a1480 46
e3a429be
MT
47 <ul class="list-inline text-muted small mb-0">
48 <li class="list-inline-item">
49 {{ format_size(file.size) }}
50 </li>
d30a1480 51
d30a1480
MT
52 <li class="list-inline-item">
53 {{ "%s: %s" % ("SHA256" if file.sha256 else "SHA1", file.sha256 or file.sha1) }}
54 </li>
d30a1480 55 </ul>
e3a429be 56 </a>
d30a1480 57 {% end %}
e3a429be
MT
58 {% end %}
59 </div>
d30a1480
MT
60 </section>
61 </div>
02d212c2
MT
62
63 <section class="inverse">
64 <div class="container">
65 <div class="row flex-md-row-reverse">
66 <div class="col-12 col-md-4 text-center text-md-right">
67 <span class="fas fa-cloud fa-10x my-5"></span>
68 </div>
69
70 <div class="col-12 col-md-8">
71 <h1>{{ _("Running IPFire in the Cloud?") }}</h1>
72
73 <p>
74 {{ _("IPFire is now available in the Amazon Cloud.") }}
75 {{ _("Create flexible firewall rules and use our Intrusion Detection System to protect your servers in the Cloud.") }}
76 {{ _("Connect to them securely using our VPN technologies.") }}
77 </p>
78
79 <a class="btn btn-lwl" href="https://aws.amazon.com/marketplace/pp/B07HYRD4FX">
80 {{ _("Go to Amazon Web Services") }} <span class="fas fa-external-link-alt ml-2"></span>
81 </a>
82 </div>
83 </div>
84 </div>
85 </section>
70f644df
MT
86
87 <div class="container">
88 <section>
89 <p>
90 {{ _("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") }}
91 </p>
92
93 <a class="btn btn-light btn-block" href="/download/mirrors">
94 {{ _("Browse Mirrors") }}
95 </a>
96 </section>
97 </div>
e77cd04c 98{% end block %}
ea31fc68
MT
99
100{% block javascript %}
101 <script type="text/javascript">
102 $("a.download-splash").click(function(e) {
103 e.preventDefault();
104
105 window.location = "/download/thank-you?file=" + this.href;
106 });
107 </script>
108{% end %}