Add button to download latest build

This commit is contained in:
Telesphoreo 2023-04-02 21:25:43 -05:00
parent 0614c366af
commit 8ad2679c0b
2 changed files with 10 additions and 3 deletions

View File

@ -77,7 +77,11 @@
</nav> </nav>
<h1>Scissors</h1> <h1>Scissors</h1>
<h4>Minecraft server software oriented towards patching Creative Mode exploits.</h4> <h4>Minecraft server software oriented towards patching Creative Mode exploits.</h4>
<h4>Latest version: <a href="https://ci.scissors.gg/job/Scissors/job/1.19.4/">1.19.4</a></h4> <h4>Latest version: 1.19.4</h4>
<form action="https://ci.scissors.gg/job/Scissors/job/1.19.4/lastSuccessfulBuild/artifact/build/libs/Scissors-paperclip-1.19.4-R0.1-SNAPSHOT-reobf.jar" class="container-fluid download-button">
<button class="btn btn-success"
type="submit">Download latest build</button>
</form>
<h5>Previous versions: 1.17.1, 1.18.2, 1.19.3</h5> <h5>Previous versions: 1.17.1, 1.18.2, 1.19.3</h5>
</body> </body>

View File

@ -10,15 +10,18 @@ h1, h4, h5 {
text-align: center; text-align: center;
position: relative; position: relative;
font-family: 'IBM Plex Sans', sans-serif; font-family: 'IBM Plex Sans', sans-serif;
top: 10vh;
} }
h1 { h1 {
top: 10vh;
font-weight: bolder; font-weight: bolder;
} }
h4, h5 { .download-button {
text-align: center;
position: relative;
top: 10vh; top: 10vh;
font-family: 'IBM Plex Sans', sans-serif;
} }
@media only screen and (max-width: 768px) { @media only screen and (max-width: 768px) {