]> git.ipfire.org Git - ipfire.org.git/blob - src/templates/downloads/release.html
downloads: Re-activate download splash page
[ipfire.org.git] / src / templates / downloads / release.html
1 {% extends "../base.html" %}
2
3 {% block title %}{{ release }}{% end block %}
4
5 {% block container %}
6 <section class="hero is-light">
7 <div class="hero-body">
8 <div class="container">
9 <nav class="breadcrumb is-medium" aria-label="breadcrumbs">
10 <ul>
11 <li>
12 <a href="/">Home</a>
13 </li>
14 <li class="is-active">
15 <a href="#" aria-current="page">Downloads</a>
16 </li>
17 </ul>
18 </nav>
19
20 <h1 class="title is-1">
21 {{ _("Download %s") % release }}
22 </h1>
23
24 <h6 class="subtitle is-6">
25 {{ _("Released %s") % locale.format_date(release.published, relative=True, shorter=True) }}
26
27 {% if release.blog %}
28 &bull;
29 <a href="/blog/{{ release.blog.slug }}">{{ _("Release Notes") }}</a>
30 {% end %}
31 </h6>
32 </div>
33 </div>
34 </section>
35
36 <section class="section">
37 <div class="container">
38 <div class="columns">
39 {% for arch in release.arches %}
40 <div class="column">
41 <div class="notification is-light">
42 <h4 class="title is-4">{{ arch }}</h4>
43
44 <ul>
45 {% for file in release.get_files_by_arch(arch) %}
46 <li>
47 <a class="download-splash" href="{{ file.url }}">
48 <span class="icon-text">
49 <span class="icon">
50 <i class="fas fa-download"></i>
51 </span>
52 <span>
53 {{ _(file.desc) }}
54 ({{ format_size(file.size) }})
55 </span>
56 </span>
57 </a>
58 </li>
59 {% end %}
60 </ul>
61 </div>
62 </div>
63 {% end %}
64 </div>
65 </div>
66 </section>
67
68 <section class="section">
69 <div class="container">
70 <div class="notification is-lwl p-5">
71 <div class="block">
72 <h3 class="title is-3">{{ _("Running IPFire in the Cloud?") }}</h3>
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 </div>
80
81 <div class="buttons">
82 <a class="button is-white" href="https://aws.amazon.com/marketplace/pp/B07HYRD4FX">
83 <span class="icon-text">
84 <span class="icon">
85 <i class="fab fa-aws"></i>
86 </span>
87 <span>{{ _("x86_64") }}</span>
88 </span>
89 </a>
90
91 <a class="button is-white" href="https://aws.amazon.com/marketplace/pp/prodview-opiegephkjalm">
92 <span class="icon-text">
93 <span class="icon">
94 <i class="fab fa-aws"></i>
95 </span>
96 <span>{{ _("aarch64") }}</span>
97 </span>
98 </a>
99 </div>
100 </div>
101 </div>
102 </section>
103
104 <!-- Upgrade instructions -->
105
106 <section class="section">
107 <div class="container">
108 <div class="columns is-centered">
109 <div class="column is-10">
110 <div class="columns">
111 <div class="column is-12">
112 <p class="is-size-5">
113 {{ _("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") }}
114 </p>
115 </div>
116 </div>
117 <div class="block">
118 <div class="columns">
119 <div class="column is-1"></div>
120 <div class="column is-10">
121 <a class="button is-primary is-fullwidth is-medium" href="/downloads/mirrors">
122 {{ _("Browse Mirrors") }}
123 </a>
124 </div>
125 <div class="column is-1"></div>
126 </div>
127 </div>
128 </div>
129 </div>
130 </div>
131 </section>
132 {% end block %}
133
134 {% block javascript %}
135 <script type="text/javascript">
136 $("a.download-splash").click(function(e) {
137 e.preventDefault();
138
139 window.location = "/downloads/thank-you?file=" + this.href;
140 });
141 </script>
142 {% end %}