Changed Linux distro download option.

Moved from drop down menu to a new page.
This **will** need a new servlet in the backend.
This commit is contained in:
alex.ita
2024-01-08 23:32:30 +01:00
parent 647ab8bda9
commit 391f634d65
3 changed files with 81 additions and 2 deletions

View File

@@ -34,6 +34,12 @@
text-align: center;
}
.table-container {
margin-left: 10px;
height: 100%;
}
/*
.dropdown-menu-linux {
position: relative;
display: inline-block;
@@ -67,4 +73,5 @@
.dropdown-menu-linux:hover .dropdown-menu-linux-content {
display: block;
}
}
*/

View File

@@ -227,18 +227,27 @@
</form>
</div>
<div class="buttons mt-3">
<form action="/linux-builds">
<button class="download-client js-show-story" style="background: radial-gradient(circle,rgb(255 179 38 / 80%),rgb(255 176 0 / 65%)) center/100%;">
<img class="os-icon" src="https://raw.githubusercontent.com/devicons/devicon/master/icons/linux/linux-plain.svg" alt="linux-logo">
<span class="text">Download Server</span>
<span class="description"> Linux builds</span>
</button>
</form>
<!--
<div class="download-client js-show-story" style="background: radial-gradient(circle,rgb(255 179 38 / 80%),rgb(255 176 0 / 65%)) center/100%;">
<img class="os-icon" src="https://raw.githubusercontent.com/devicons/devicon/master/icons/linux/linux-plain.svg" alt="linux-logo">
<div class="dropdown-menu-linux">
<button class="dropdownbtn">Download server</button>
<div class="dropdown-menu-linux-content">
<a href="https://github.com/BeamMP/BeamMP-Server/releases/latest/download/BeamMP-Server-debian">Debian (x86/64)</a>
<!-- <a href="GOOGOOGAAGAA ADD LINK HERE">Debian (arm64)</a> -->
<a href="GOOGOOGAAGAA ADD LINK HERE">Debian (arm64)</a>
<a href="https://github.com/BeamMP/BeamMP-Server/releases/latest/download/BeamMP-Server-ubuntu">Ubuntu (x86/64)</a>
</div>
</div>
<span class="description">Linux builds</span>
</div>
-->
</div>
</div>
</div>

View File

@@ -0,0 +1,63 @@
<!-- This page is only loaded on JS free clients -->
<!-- Archetype to add a distribution (THERE MUST BE 2 SPACES BEFORE THE DISTRO NAME)
<tr>
<td>Distro name</td>
</tr>
<tr>
<td>
&emsp;&#9562;<a href="direct link to .zip file on Github"> Distro name (architecture A)</a><br>
&emsp;&#9562;<a href="direct link to .zip file on Github"> Distro name (architecture B)</a><br>
</td>
</tr>
-->
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="abuseipdb-verification" content="K1hJK7Gv" />
<title>Linux Builds</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.min.css" integrity="sha384-rwoIResjU2yc3z8GV/NPeZWAv56rSmLldC3R/AZzGRnGxQQKnKkoFVhFQhNUwEyJ" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/styles.css"/>
<link rel="stylesheet" type="text/css" href="css/styles-nojs.css"/>
</head>
<body>
<nav class="nav">
<%- include('includes/nav-nojs.ejs') %>
</nav>
<h1 style="padding-top: 80px; padding-left: 10px;">List of Linux builds for BeamMP Server</h1>
<div class="table-container">
<table>
<tbody>
<tr>
<td>Debian</td>
</tr>
<tr>
<td>
&emsp;&#9562;<a href=""> Debian 11 (arm64)</a><br>
&emsp;&#9562;<a href="https://github.com/BeamMP/BeamMP-Server/releases/latest/download/BeamMP-Server-debian"> Debian 11 (x86/64)</a><br>
&emsp;&#9562;<a href=""> Debian 12 (arm64)</a><br>
&emsp;&#9562;<a href=""> Debian 12 (x86/64)</a><br>
</td>
</tr>
<tr>
<td>Ubuntu</td>
</tr>
<tr>
<td>
&emsp;&#9562;<a href=""> Ubuntu 22.04 (arm64)</a><br>
&emsp;&#9562;<a href="https://github.com/BeamMP/BeamMP-Server/releases/latest/download/BeamMP-Server-ubuntu"> Ubuntu 22.04 (x86/64)</a><br>
</td>
</tr>
</tbody>
</table>
</div>
<%- include('includes/footer-nojs.ejs') %>
</body>