summaryrefslogtreecommitdiff
path: root/src/download/index.html
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2023-08-29 12:40:35 +0000
committerZach van Rijn <me@zv.io>2023-08-29 12:40:35 +0000
commitba68a7f4ce75d7f0fb1d64db33b3e47f88d2d609 (patch)
tree1f3b2c9ad01d21585f60828d6f169765df1ea6f0 /src/download/index.html
parentdfcbba6bba498a9a8f88a591a0597974454ee92a (diff)
downloadsite-ng-ba68a7f4ce75d7f0fb1d64db33b3e47f88d2d609.tar.gz
site-ng-ba68a7f4ce75d7f0fb1d64db33b3e47f88d2d609.tar.bz2
site-ng-ba68a7f4ce75d7f0fb1d64db33b3e47f88d2d609.tar.xz
site-ng-ba68a7f4ce75d7f0fb1d64db33b3e47f88d2d609.zip
Update Download page to use new (experimental) media.
Diffstat (limited to 'src/download/index.html')
-rw-r--r--src/download/index.html23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/download/index.html b/src/download/index.html
index e4415ac..a01e127 100644
--- a/src/download/index.html
+++ b/src/download/index.html
@@ -219,7 +219,7 @@ __HEADER__
<h4 class="font-weight-light">Need something else?</h4>
</div>
<div class="col-12 col-md-4">
- <h3><a href="https://distfiles.adelielinux.org/adelie/1.0-rc2/iso/rc2/">Full Directory Listing</a></h3>
+ <h3><a href="https://distfiles.adelielinux.org/adelie/current/iso/">Full Directory Listing</a></h3>
<p><a href="https://distfiles.adelielinux.org/archive/">Historical Archives</a></p>
</div>
<div class="col-12 col-md-4">
@@ -392,10 +392,11 @@ __FOOTER__
*/
version = "1.0";
- release = "rc2";
+ release = "beta5";
+ gendate = "20230829";
disturl = "//distfiles.adelielinux.org/adelie";
- inittext = "Adélie" + " " + version + "-" + release;
+ inittext = "Adélie" + " " + version + "-" + release + " (" + gendate + ")";
$("#breadcrumbs").text(inittext);
/**
@@ -470,11 +471,11 @@ __FOOTER__
if ($("#platform").val() === 'inst')
{
$("#downloadlink").attr("href",
- disturl + "/" + version + "-" + release + "/iso/" + release + "/"
+ disturl + "/" + version + "-" + release + "/iso/"
+ "adelie" + "-"
+ $("#platform").val() + "-"
+ $("#architecture").val() + "-"
- + version + "-" + release + ".iso"
+ + version + "-" + release + "-" + gendate + ".iso"
);
}
@@ -485,12 +486,12 @@ __FOOTER__
if ($("#platform").val() === 'live')
{
$("#downloadlink").attr("href",
- disturl + "/" + version + "-" + release + "/iso/" + release + "/"
+ disturl + "/" + version + "-" + release + "/iso/"
+ "adelie" + "-"
+ $("#platform").val() + "-"
+ $("#environment").val() + "-"
+ $("#architecture").val() + "-"
- + version + "-" + release + ".iso"
+ + version + "-" + release + "-" + gendate + ".iso"
);
}
@@ -501,11 +502,11 @@ __FOOTER__
if ($("#platform").val() === 'rootfs')
{
$("#downloadlink").attr("href",
- disturl + "/" + version + "-" + release + "/iso/" + release + "/"
+ disturl + "/" + version + "-" + release + "/iso/"
+ "adelie" + "-"
+ $("#platform").val() + "-"
+ $("#architecture").val() + "-"
- + version + "-" + release + ".txz"
+ + version + "-" + release + "-" + gendate + ".txz"
);
}
@@ -516,11 +517,11 @@ __FOOTER__
if ($("#platform").val() === 'rootfs-mini')
{
$("#downloadlink").attr("href",
- disturl + "/" + version + "/iso/" + release + "/"
+ disturl + "/" + version + "-" + release + "/iso/"
+ "adelie" + "-"
+ $("#platform").val() + "-"
+ $("#architecture").val() + "-"
- + version + "-" + release + ".txz"
+ + version + "-" + release + "-" + gendate + ".txz"
);
}
}