Push LE Site Changes
- Show's Beta Download Numbers - Only latest manual imports available - Display Beta Version - Display Beta Rating
This commit is contained in:
parent
6786602456
commit
20fecd363a
@ -25,6 +25,7 @@
|
||||
<a href="./credits.html" class="desktop_navbar_link">Credits</a>
|
||||
<a href="./projects.html" class="desktop_navbar_link">Projects</a>
|
||||
<a class="desktop_navbar_link scroll" id="version-text">Current Version:</a>
|
||||
<a class="desktop_navbar_link scroll" id="beta-version-text">Current Beta Version:</a>
|
||||
<div class="desktop_navbar_link2_div">
|
||||
<a href="./downloads.html" class="desktop_navbar_link2">Download</a>
|
||||
</div>
|
||||
@ -34,6 +35,7 @@
|
||||
<a href="#" class="mobile_navbar_logo_img_a"><img class="mobile_navbar_logo_img" src="media/logo.png" alt="logo"></a>
|
||||
<div id="mobile_navbar_links">
|
||||
<a class="mobile_navbar_link" id="mobile-version-text">Current Version: </a>
|
||||
<a class="mobile_navbar_link" id="mobile-beta-version-text">Current Beta Version: </a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://forum.lethal-extended.com">Forum</a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://merch.lethal-extended.com">Merch</a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="./aboutus.html">About Us</a>
|
||||
@ -160,6 +162,19 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const latestVersion = data.latest_version;
|
||||
document.getElementById('beta-version-text').innerText = `Current Beta Version: ${latestVersion.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching latest version:', error);
|
||||
document.getElementById('beta-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lethunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
@ -172,6 +187,19 @@
|
||||
document.getElementById('mobile-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const latestVersion = data.latest_version;
|
||||
document.getElementById('mobile-beta-version-text').innerText = `Current Beta Version: ${latestVersion.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching latest version:', error);
|
||||
document.getElementById('mobile-beta-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -43,31 +43,9 @@
|
||||
<span class="ml-2 inline-block">0.6.8 (Latest)</span>
|
||||
</button>
|
||||
<dd id="clicker-68" class="hidden mt-4 text-base text-gray-300 pl-6">
|
||||
<a href="ror2mm://v1/install/thunderstore.io/PenguCC/Lethal_Extended_Beta/0.0.17/"><img alt="thunderstore" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fthunderstore.io%2Fapi%2Fv1%2Fpackage-metrics%2FPenguCC%2FLethal_Extended_Beta%2F0.0.17%2F&query=downloads&style=for-the-badge&logo=Thunderstore&logoColor=white&label=Thunderstore%2FGale&color=b00c06"></a>
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
<dl class="space-y-12 pb-6">
|
||||
<div>
|
||||
<button onclick="showElement(64)"
|
||||
class="text-lg leading-6 font-medium text-white py-6 bg-gray-800 rounded-md w-full text-left focus:outline-none focus:ring-offset-2 focus:ring-red-500 focus:ring-offset-gray-900 focus:ring-inset">
|
||||
<span class="ml-4 inline-block bg-red-500 rounded-full py-0.5 px-2.5 text-white text-xl font-bold">+</span>
|
||||
<span class="ml-2 inline-block">0.6.4</span>
|
||||
</button>
|
||||
<dd id="clicker-64" class="hidden mt-4 text-base text-gray-300 pl-6">
|
||||
<a href="ror2mm://v1/install/thunderstore.io/PenguCC/Lethal_Extended_Beta/0.0.14/"><img alt="thunderstore" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fthunderstore.io%2Fapi%2Fv1%2Fpackage-metrics%2FPenguCC%2FLethal_Extended_Beta%2F0.0.14%2F&query=downloads&style=for-the-badge&logo=Thunderstore&logoColor=white&label=Thunderstore%2FGale&color=b00c06"></a>
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
<dl class="space-y-12 pb-6">
|
||||
<div>
|
||||
<button onclick="showElement(52)"
|
||||
class="text-lg leading-6 font-medium text-white py-6 bg-gray-800 rounded-md w-full text-left focus:outline-none focus:ring-offset-2 focus:ring-red-500 focus:ring-offset-gray-900 focus:ring-inset">
|
||||
<span class="ml-4 inline-block bg-red-500 rounded-full py-0.5 px-2.5 text-white text-xl font-bold">+</span>
|
||||
<span class="ml-2 inline-block">0.5.2</span>
|
||||
</button>
|
||||
<dd id="clicker-52" class="hidden mt-4 text-base text-gray-300 pl-6">
|
||||
<a href="ror2mm://v1/install/thunderstore.io/PenguCC/Lethal_Extended_Beta/0.0.13/"><img alt="thunderstore" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fthunderstore.io%2Fapi%2Fv1%2Fpackage-metrics%2FPenguCC%2FLethal_Extended_Beta%2F0.0.13%2F&query=downloads&style=for-the-badge&logo=Thunderstore&logoColor=white&label=Thunderstore%2FGale&color=b00c06"></a>
|
||||
<a href="ror2mm://v1/install/thunderstore.io/PenguCC/Lethal_Extended_Beta/0.0.19/"><img alt="thunderstore" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fthunderstore.io%2Fapi%2Fv1%2Fpackage-metrics%2FPenguCC%2FLethal_Extended_Beta%2F0.0.19%2F&query=downloads&style=for-the-badge&logo=Thunderstore&logoColor=white&label=Thunderstore%2FGale&color=b00c06"></a>
|
||||
|
||||
<a href="cdn.galactiq.net/lethalextended/Beta/Lethal-Extended-Latest.zip"><img alt="thunderstore" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fthunderstore.io%2Fapi%2Fv1%2Fpackage-metrics%2FPenguCC%2FLethal_Extended_Beta%2F0.0.19%2F&query=downloads&style=for-the-badge&logo=Thunderstore&logoColor=white&label=Manual Import&color=b00c06"></a>
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
|
@ -25,6 +25,7 @@
|
||||
<a href="./credits.html" class="desktop_navbar_link">Credits</a>
|
||||
<a href="./projects.html" class="desktop_navbar_link">Projects</a>
|
||||
<a class="desktop_navbar_link scroll" id="version-text">Current Version:</a>
|
||||
<a class="desktop_navbar_link scroll" id="beta-version-text">Current Beta Version:</a>
|
||||
<div class="desktop_navbar_link2_div">
|
||||
<a href="./downloads.html" class="desktop_navbar_link2">Download</a>
|
||||
</div>
|
||||
@ -34,6 +35,7 @@
|
||||
<a href="#" class="mobile_navbar_logo_img_a"><img class="mobile_navbar_logo_img" src="media/logo.png" alt="logo"></a>
|
||||
<div id="mobile_navbar_links">
|
||||
<a class="mobile_navbar_link" id="mobile-version-text">Current Version: </a>
|
||||
<a class="mobile_navbar_link" id="mobile-beta-version-text">Current Beta Version: </a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://forum.lethal-extended.com">Forum</a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://merch.lethal-extended.com">Merch</a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="./aboutus.html">About Us</a>
|
||||
@ -1080,6 +1082,19 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const latestVersion = data.latest_version;
|
||||
document.getElementById('beta-version-text').innerText = `Current Beta Version: ${latestVersion.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching latest version:', error);
|
||||
document.getElementById('beta-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lethunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
@ -1092,6 +1107,19 @@
|
||||
document.getElementById('mobile-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const latestVersion = data.latest_version;
|
||||
document.getElementById('mobile-beta-version-text').innerText = `Current Beta Version: ${latestVersion.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching latest version:', error);
|
||||
document.getElementById('mobile-beta-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -21,6 +21,7 @@
|
||||
<div class="content">
|
||||
<img src="media/Downloads-Text (Small).png">
|
||||
<h1 id="downloads-text">Loading downloads...</h1> <!-- Changed to have an id for JavaScript -->
|
||||
<h1 id="beta-downloads-text">Loading beta downloads...</h1> <!-- Changed to have an id for JavaScript -->
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="links">
|
||||
@ -50,6 +51,19 @@
|
||||
document.getElementById('downloads-text').innerText = 'Failed to load download count';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the download count from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const downloadCount = data.downloads;
|
||||
document.getElementById('beta-downloads-text').innerText = `${downloadCount.toLocaleString()} Beta Downloads`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching download count:', error);
|
||||
document.getElementById('beta-downloads-text').innerText = 'Failed to load download count';
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
@ -25,6 +25,7 @@
|
||||
<a href="./credits.html" class="desktop_navbar_link">Credits</a>
|
||||
<a href="./projects.html" class="desktop_navbar_link">Projects</a>
|
||||
<a class="desktop_navbar_link scroll" id="version-text">Current Version:</a>
|
||||
<a class="desktop_navbar_link scroll" id="beta-version-text">Current Beta Version:</a>
|
||||
<div class="desktop_navbar_link2_div">
|
||||
<a href="./downloads.html" class="desktop_navbar_link2">Download</a>
|
||||
</div>
|
||||
@ -34,6 +35,7 @@
|
||||
<a href="#" class="mobile_navbar_logo_img_a"><img class="mobile_navbar_logo_img" src="media/logo.png" alt="logo"></a>
|
||||
<div id="mobile_navbar_links">
|
||||
<a class="mobile_navbar_link" id="mobile-version-text">Current Version: </a>
|
||||
<a class="mobile_navbar_link" id="mobile-beta-version-text">Current Beta Version: </a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://forum.lethal-extended.com">Forum</a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://merch.lethal-extended.com">Merch</a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="./aboutus.html">About Us</a>
|
||||
@ -80,6 +82,7 @@
|
||||
</style>
|
||||
|
||||
<div class="main1_actcent" id="rating-text">Loading...</div>
|
||||
<div class="main1_actcent" id="beta-rating-text">Loading...</div>
|
||||
<div class="main1_actcent" id="player-count">Loading...</div>
|
||||
|
||||
<script>
|
||||
@ -219,6 +222,19 @@
|
||||
document.getElementById('version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const latestVersion = data.latest_version;
|
||||
document.getElementById('beta-version-text').innerText = `Current Beta Version: ${latestVersion.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching latest version:', error);
|
||||
document.getElementById('beta-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the rating score from the provided API URL
|
||||
fetch('https://lethunderstore.lethal-extended.com/api/downloads')
|
||||
@ -232,6 +248,19 @@
|
||||
document.getElementById('rating-text').innerText = 'Failed to load rating score';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the rating score from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const ratingScore = data.rating_score;
|
||||
document.getElementById('beta-rating-text').innerText = `Beta Thunderstore Rating: ${ratingScore.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching rating score:', error);
|
||||
document.getElementById('beta-rating-text').innerText = 'Failed to load rating score';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lethunderstore.lethal-extended.com/api/downloads')
|
||||
@ -245,6 +274,19 @@
|
||||
document.getElementById('mobile-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const latestVersion = data.latest_version;
|
||||
document.getElementById('mobile-beta-version-text').innerText = `Current Beta Version: ${latestVersion.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching latest version:', error);
|
||||
document.getElementById('mobile-beta-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -25,6 +25,7 @@
|
||||
<a href="./credits.html" class="desktop_navbar_link">Credits</a>
|
||||
<a href="./projects.html" class="desktop_navbar_link">Projects</a>
|
||||
<a class="desktop_navbar_link scroll" id="version-text">Current Version:</a>
|
||||
<a class="desktop_navbar_link scroll" id="beta-version-text">Current Beta Version:</a>
|
||||
<div class="desktop_navbar_link2_div">
|
||||
<a href="./downloads.html" class="desktop_navbar_link2">Download</a>
|
||||
</div>
|
||||
@ -34,6 +35,7 @@
|
||||
<a href="#" class="mobile_navbar_logo_img_a"><img class="mobile_navbar_logo_img" src="media/logo.png" alt="logo"></a>
|
||||
<div id="mobile_navbar_links">
|
||||
<a class="mobile_navbar_link" id="mobile-version-text">Current Version: </a>
|
||||
<a class="mobile_navbar_link" id="mobile-beta-version-text">Current Beta Version: </a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://forum.lethal-extended.com">Forum</a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="https://merch.lethal-extended.com">Merch</a>
|
||||
<a class="mobile_navbar_link" onclick="mobile_navbar_link_hider()" href="./aboutus.html">About Us</a>
|
||||
@ -142,6 +144,19 @@
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const latestVersion = data.latest_version;
|
||||
document.getElementById('beta-version-text').innerText = `Current Beta Version: ${latestVersion.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching latest version:', error);
|
||||
document.getElementById('beta-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lethunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
@ -154,6 +169,19 @@
|
||||
document.getElementById('mobile-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
// Fetch the latest version from the provided API URL
|
||||
fetch('https://lebetathunderstore.lethal-extended.com/api/downloads')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const latestVersion = data.latest_version;
|
||||
document.getElementById('mobile-beta-version-text').innerText = `Current Beta Version: ${latestVersion.toLocaleString()}`;
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('Error fetching latest version:', error);
|
||||
document.getElementById('mobile-beta-version-text').innerText = 'Failed to load latest version';
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -44,6 +44,7 @@
|
||||
</button>
|
||||
<dd id="clicker-67" class="hidden mt-4 text-base text-gray-300 pl-6">
|
||||
<a href="ror2mm://v1/install/thunderstore.io/PenguCC/LethalExtendedModManager/0.6.7/"><img alt="thunderstore" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fthunderstore.io%2Fapi%2Fv1%2Fpackage-metrics%2FPenguCC%2FLethalExtendedModManager%2F0.6.7%2F&query=downloads&style=for-the-badge&logo=Thunderstore&logoColor=white&label=Thunderstore%2FGale&color=b00c06"></a>
|
||||
<a href="https://cdn.galactiq.net/lethalextended/Stable/Lethal-Extended-Latest.zip"><img alt="thunderstore" src="https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fthunderstore.io%2Fapi%2Fv1%2Fpackage-metrics%2FPenguCC%2FLethalExtendedModManager%2F0.6.7%2F&query=downloads&style=for-the-badge&logo=Thunderstore&logoColor=white&label=Manual Import&color=b00c06"></a>
|
||||
</dd>
|
||||
</div>
|
||||
</dl>
|
||||
|
Loading…
x
Reference in New Issue
Block a user