Merge branch 'ipar/version_update' into 'main'
Actualizado version a descargar, tamaño de imagen y link de descarga macos See merge request strepsirrhini/webpage-download-lo!2
This commit is contained in:
commit
e0ca64eed7
1 changed files with 12 additions and 6 deletions
18
index.html
18
index.html
|
@ -58,18 +58,24 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!--header style="padding-top: 10px; font-size: 26pt; font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; color: brown;">Office Gob</header-->
|
<!--header style="padding-top: 10px; font-size: 26pt; font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; color: brown;">Office Gob</header-->
|
||||||
|
<script>
|
||||||
|
var version = "Office 24.2+gobmx-1.2";
|
||||||
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<div class="p" style="background-color: #9F2241;">
|
<div class="p" style="background-color: #9F2241;">
|
||||||
<img src="images/logofelipecarrillo-2024.svg" >
|
<img src="images/logofelipecarrillo-2024.svg" style="width: 41vw; height: auto;" >
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="q">
|
<div class="q">
|
||||||
<h2>Office 24.8.0+gobmx-1.2</h2>
|
<h2 id="versionTag"></h2>
|
||||||
|
<!--Actualizar version usando variable global-->
|
||||||
|
<script>
|
||||||
|
document.getElementById("versionTag").innerHTML = version;
|
||||||
|
</script>
|
||||||
|
|
||||||
<!--Selección de OS-->
|
<!--Selección de OS-->
|
||||||
<!--button id="download-button">Descargar</button-->
|
<!--button id="download-button">Descargar</button-->
|
||||||
|
@ -85,17 +91,17 @@
|
||||||
switch (OSName) {
|
switch (OSName) {
|
||||||
case "Windows":
|
case "Windows":
|
||||||
downloadButton.addEventListener("click", function() {
|
downloadButton.addEventListener("click", function() {
|
||||||
window.location.href = "https://repos.libreoffice.gob.mx/windows/general/x86_64/Office_24.8.0.0_gobmx_1.2_Win_x86-64_en-MX_es.msi";
|
window.location.href = "https://repos.libreoffice.gob.mx/windows/general/x86_64/Office_24.2.1.2_Win_x86-64_en-MX_es.msi";
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "MacOS":
|
case "MacOS":
|
||||||
downloadButton.addEventListener("click", function() {
|
downloadButton.addEventListener("click", function() {
|
||||||
window.location.href = "https://repos.libreoffice.gob.mx/macOS/";
|
window.location.href = "https://repos.libreoffice.gob.mx/macOS/general/";
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
case "Linux":
|
case "Linux":
|
||||||
downloadButton.addEventListener("click", function() {
|
downloadButton.addEventListener("click", function() {
|
||||||
window.location.href = "https://repos.libreoffice.gob.mx/debs-rpm/";
|
window.location.href = "https://repos.libreoffice.gob.mx/debian/repodeb/";
|
||||||
});
|
});
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue