]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/downloads/release.html
downloads: Refactor the page again and add an extra cloud page
[ipfire.org.git] / src / templates / downloads / release.html
CommitLineData
dd3d93e3 1{% extends "../base.html" %}
e77cd04c 2
02d212c2 3{% block title %}{{ release }}{% end block %}
e77cd04c 4
ed07e1fa 5{% block container %}
972144cf 6 <section class="hero is-primary">
ffc5290c
RH
7 <div class="hero-body">
8 <div class="container">
ed83981e 9 <nav class="breadcrumb" aria-label="breadcrumbs">
ffc5290c
RH
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>
6635eb8d 19
ed83981e 20 <h1 class="title">
1e71d96a 21 {{ release }}
ffc5290c 22 </h1>
6635eb8d 23
ed83981e 24 <h6 class="subtitle">
ffc5290c 25 {{ _("Released %s") % locale.format_date(release.published, relative=True, shorter=True) }}
6635eb8d 26 </h6>
e3a429be 27
1e71d96a
MT
28 <div class="columns is-multiline">
29 {% for arch in release.arches %}
30 <div class="column is-half is-one-quarter-widescreen is-one-fifth-fullhd">
31 <div class="block p-5">
32 <h5 class="title is-5">{{ arch }}</h5>
41f2f27c 33
1e71d96a
MT
34 <ul>
35 {% for file in release.get_files_by_arch(arch) %}
36 <li>
37 <a class="download-splash" href="{{ file.url }}">
38 <span class="icon-text">
39 <span class="icon">
40 <i class="fas fa-download"></i>
41 </span>
42 <span>
43 {{ _(file.desc) }}
44 ({{ format_size(file.size) }})
45 </span>
41f2f27c 46 </span>
1e71d96a
MT
47 </a>
48 </li>
49 {% end %}
50 </ul>
51 </div>
41f2f27c 52 </div>
1e71d96a
MT
53 {% end %}
54 </div>
ffc5290c 55 </div>
ffc5290c
RH
56 </div>
57 </section>
ed07e1fa 58
1e71d96a 59 <section class="has-text-white has-background-info">
02d212c2 60 <div class="container">
1e71d96a
MT
61 <p class="has-text-centered px-2 py-1">
62 {{ _("Deploying IPFire In The Cloud?") }}
ffc5290c 63
1e71d96a
MT
64 <a class="has-text-white has-text-weight-bold" href="/downloads/cloud">
65 {{ _("Read More") }}
66 </a>
67 </p>
68 </div>
69 </section>
ffc5290c 70
1e71d96a
MT
71 {% if release.blog %}
72 <section class="section">
73 <div class="container">
74 <h3 class="title is-3">{{ _("Release Notes") }}</h3>
ba394867 75
1e71d96a
MT
76 <div class="content">
77 {% raw release.blog.html %}
02d212c2 78 </div>
ba394867 79 </div>
1e71d96a
MT
80 </section>
81 {% end %}
e77cd04c 82{% end block %}
ea31fc68
MT
83
84{% block javascript %}
85 <script type="text/javascript">
86 $("a.download-splash").click(function(e) {
87 e.preventDefault();
88
aec63a26 89 window.location = "/downloads/thank-you?file=" + this.href;
ea31fc68
MT
90 });
91 </script>
6635eb8d 92{% end %}