]>
Commit | Line | Data |
---|---|---|
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 | • | |
34472923 | 25 | <a href="/blog/{{ release.blog.slug }}">{{ _("Release Notes") }}</a> |
02d212c2 | 26 | {% end %} |
d30a1480 | 27 | </p> |
ed07e1fa | 28 | |
5e7f714a MT |
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 }} | |
e3a429be | 35 | |
5e7f714a MT |
36 | {% if arch in release.experimental_arches %} |
37 | <span class="badge badge-success">{{ _("Experimental") }}</span> | |
38 | {% elif arch in release.secondary_arches %} | |
39 | <span class="badge badge-warning">{{ _("Legacy") }}</span> | |
40 | {% end %} | |
e3a429be | 41 | </h6> |
5e7f714a | 42 | </div> |
d30a1480 | 43 | |
5e7f714a MT |
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> | |
d30a1480 | 51 | |
5e7f714a MT |
52 | <span class="text-muted small"> |
53 | {{ format_size(file.size) }} | |
54 | </span> | |
55 | </a> | |
56 | {% end %} | |
57 | </div> | |
58 | </div> | |
e3a429be MT |
59 | {% end %} |
60 | </div> | |
d30a1480 MT |
61 | </section> |
62 | </div> | |
02d212c2 MT |
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> | |
70f644df MT |
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 | <a class="btn btn-light btn-block" href="/download/mirrors"> | |
95 | {{ _("Browse Mirrors") }} | |
96 | </a> | |
97 | </section> | |
98 | </div> | |
e77cd04c | 99 | {% end block %} |
ea31fc68 MT |
100 | |
101 | {% block javascript %} | |
102 | <script type="text/javascript"> | |
103 | $("a.download-splash").click(function(e) { | |
104 | e.preventDefault(); | |
105 | ||
106 | window.location = "/download/thank-you?file=" + this.href; | |
107 | }); | |
108 | </script> | |
109 | {% end %} |