add ci and update site
All checks were successful
ci/woodpecker/push/netlify Pipeline was successful
All checks were successful
ci/woodpecker/push/netlify Pipeline was successful
This commit is contained in:
parent
5c2eb47f45
commit
82096c62eb
4 changed files with 37 additions and 1 deletions
12
.woodpecker/netlify.yaml
Normal file
12
.woodpecker/netlify.yaml
Normal file
|
@ -0,0 +1,12 @@
|
|||
steps:
|
||||
deploy:
|
||||
image: lauralani/netlify-cli:latest
|
||||
pull: true
|
||||
when:
|
||||
- event: push
|
||||
branch: main
|
||||
secrets:
|
||||
- NETLIFY_AUTH_TOKEN
|
||||
- NETLIFY_SITE_ID
|
||||
commands:
|
||||
- netlify deploy --prod --dir ./
|
|
@ -13,6 +13,13 @@
|
|||
"whitelist": true,
|
||||
"password": false
|
||||
},
|
||||
{
|
||||
"id": 16,
|
||||
"displayname": "Ark Survival Evolved",
|
||||
"serverurl": "\"Kuschelzone\" im Serverbrowser",
|
||||
"whitelist": false,
|
||||
"password": true
|
||||
},
|
||||
{
|
||||
"id": 3,
|
||||
"displayname": "Teamspeak 3",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
const badgeurl = "https://uptime-kuma.lauka.net/api/badge/##/status?style=for-the-badge"
|
||||
const template = document.getElementById("game-template")
|
||||
const template = document.getElementById("game-template").content
|
||||
const serverdata = "/servers.json"
|
||||
var gamecontainer = document.getElementById("gamelist")
|
||||
|
||||
|
@ -15,6 +15,7 @@ async function populatePage() {
|
|||
let url = badgeurl.replace("##", server.id)
|
||||
clone.querySelector("#game-name").innerHTML = server.displayname
|
||||
clone.querySelector("#game-badge").src = url
|
||||
clone.querySelector("#game-url").innerHTML = server.serverurl
|
||||
clone.querySelector("#game-password").innerHTML = server.password ? "ja" : "nein"
|
||||
clone.querySelector("#game-whitelist").innerHTML = server.whitelist ? "ja" : "nein"
|
||||
|
||||
|
|
|
@ -53,3 +53,19 @@ body i {
|
|||
.game-card {
|
||||
margin: 0 20px;
|
||||
}
|
||||
|
||||
@media (max-width: 650px) {
|
||||
body {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.status-image {
|
||||
display: block;
|
||||
margin-left: 6px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 7px;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue