]>
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 | |
7f95f764 | 29 | <div class="row row-cols-2 row-cols-lg-4 g-4"> |
5e7f714a | 30 | {% for arch in release.arches %} |
7f95f764 MT |
31 | <div class="col"> |
32 | <div class="card"> | |
33 | <div class="card-body"> | |
34 | <h6 class="card-title mb-0"> | |
35 | {{ arch }} | |
e3a429be | 36 | |
7f95f764 MT |
37 | {% if arch in release.experimental_arches %} |
38 | <span class="badge bg-success">{{ _("Experimental") }}</span> | |
39 | {% elif arch in release.secondary_arches %} | |
40 | <span class="badge bg-warning">{{ _("Legacy") }}</span> | |
41 | {% end %} | |
42 | </h6> | |
43 | </div> | |
d30a1480 | 44 | |
7f95f764 MT |
45 | <div class="list-group list-group-flush"> |
46 | {% for file in release.get_files_by_arch(arch) %} | |
47 | <a class="list-group-item list-group-item-action | |
48 | d-flex justify-content-between align-items-center download-splash" href="{{ file.url }}"> | |
49 | <span> | |
50 | <i class="fas fa-download text-primary"></i> {{ _(file.desc) }} | |
51 | </span> | |
d30a1480 | 52 | |
7f95f764 MT |
53 | <span class="text-muted small"> |
54 | {{ format_size(file.size) }} | |
55 | </span> | |
56 | </a> | |
57 | {% end %} | |
58 | </div> | |
5e7f714a MT |
59 | </div> |
60 | </div> | |
e3a429be MT |
61 | {% end %} |
62 | </div> | |
d30a1480 MT |
63 | </section> |
64 | </div> | |
02d212c2 MT |
65 | |
66 | <section class="inverse"> | |
67 | <div class="container"> | |
68 | <div class="row flex-md-row-reverse"> | |
5ba8a70c | 69 | <div class="col-12 col-md-4 text-center text-md-end"> |
02d212c2 MT |
70 | <span class="fas fa-cloud fa-10x my-5"></span> |
71 | </div> | |
72 | ||
73 | <div class="col-12 col-md-8"> | |
74 | <h1>{{ _("Running IPFire in the Cloud?") }}</h1> | |
75 | ||
76 | <p> | |
77 | {{ _("IPFire is now available in the Amazon Cloud.") }} | |
78 | {{ _("Create flexible firewall rules and use our Intrusion Detection System to protect your servers in the Cloud.") }} | |
79 | {{ _("Connect to them securely using our VPN technologies.") }} | |
80 | </p> | |
81 | ||
82 | <a class="btn btn-lwl" href="https://aws.amazon.com/marketplace/pp/B07HYRD4FX"> | |
83 | {{ _("Go to Amazon Web Services") }} <span class="fas fa-external-link-alt ml-2"></span> | |
84 | </a> | |
85 | </div> | |
86 | </div> | |
87 | </div> | |
88 | </section> | |
70f644df | 89 | |
0360cc69 MT |
90 | <!-- Upgrade instructions --> |
91 | ||
70f644df MT |
92 | <div class="container"> |
93 | <section> | |
94 | <p> | |
95 | {{ _("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") }} | |
96 | </p> | |
97 | ||
e6b114b8 MT |
98 | <div class="d-grid"> |
99 | <a class="btn btn-light" href="/download/mirrors"> | |
100 | {{ _("Browse Mirrors") }} | |
101 | </a> | |
102 | </div> | |
70f644df MT |
103 | </section> |
104 | </div> | |
e77cd04c | 105 | {% end block %} |
ea31fc68 MT |
106 | |
107 | {% block javascript %} | |
108 | <script type="text/javascript"> | |
109 | $("a.download-splash").click(function(e) { | |
110 | e.preventDefault(); | |
111 | ||
112 | window.location = "/download/thank-you?file=" + this.href; | |
113 | }); | |
114 | </script> | |
115 | {% end %} |