]>
Commit | Line | Data |
---|---|---|
baeec765 MT |
1 | {% extends "../base.html" %} |
2 | ||
3 | {% block title %}{{ _("Thank You For Downloading IPFire") }}{% end block %} | |
4 | ||
5 | {% block container %} | |
649f7f61 MT |
6 | <section class="hero is-medium"> |
7 | <div class="hero-body"> | |
ed6bb46c | 8 | <div class="container"> |
ed83981e | 9 | <h1 class="title"> |
1c8a0d78 | 10 | Thank You For Choosing IPFire<span class="has-text-primary">_</span> |
ed6bb46c | 11 | </h1> |
1c8a0d78 | 12 | <h4 class="subtitle">{{ _("Your download will begin shortly.") }}</h4> |
ed6bb46c RH |
13 | |
14 | <div class="block"> | |
15 | <p class="download-path"></p> | |
16 | </div> | |
6c111a72 RH |
17 | </div> |
18 | </div> | |
19 | </section> | |
20 | ||
21 | <section class="section"> | |
22 | <div class="container"> | |
1c8a0d78 MT |
23 | <div class="block"> |
24 | <p class="is-size-5"> | |
25 | {{ _("In the meantime, explore our documentation and community forums for helpful resources.") }} | |
26 | </p> | |
27 | ||
28 | <p class="is-size-5"> | |
29 | {{ _("Need professional support? Check out Lightning Wire Labs for expert assistance.") }} | |
30 | {{ _("Welcome to the secure world of IPFire!") }} | |
31 | </p> | |
32 | </div> | |
038961e9 MT |
33 | |
34 | <div class="buttons are-medium"> | |
35 | <a class="button is-dark is-fullwidth" href="/docs/installation"> | |
36 | {{ _("Read The Installation Guide") }} | |
37 | </a> | |
38 | ||
39 | <a class="button is-primary is-fullwidth" href="/donate"> | |
1c8a0d78 MT |
40 | {{ _("Donate To Support The Project") }} |
41 | </a> | |
42 | ||
43 | <a class="button is-lwl is-fullwidth" href="https://store.lightningwirelabs.com/products/groups/support"> | |
44 | {{ _("Check Out Our Support Plans") }} | |
038961e9 | 45 | </a> |
861bfc58 | 46 | </div> |
baeec765 | 47 | </div> |
861bfc58 | 48 | </section> |
baeec765 MT |
49 | {% end block %} |
50 | ||
51 | {% block javascript %} | |
52 | <script type="text/javascript"> | |
53 | $("p.download-path").ready(function() { | |
54 | const params = new URLSearchParams(window.location.search); | |
55 | ||
56 | var file = params.get("file"); | |
57 | ||
58 | // Avoid downloading files from other websites | |
59 | if (!file.startsWith("https://downloads.ipfire.org/")) | |
60 | return; | |
61 | ||
62 | $("p.download-path").prepend($("<a>", { | |
63 | href: encodeURI(file), | |
64 | text: file | |
65 | })); | |
66 | ||
67 | setTimeout(function() { | |
68 | window.location = file | |
69 | }, "2000"); | |
70 | }); | |
71 | </script> | |
72 | {% end %} |