Added View Server Page & Discord API Handler

This commit is contained in:
Nemika
2021-03-08 21:30:47 +02:00
parent c19cceb7cb
commit d702272069
10 changed files with 169 additions and 15 deletions

View File

@@ -1,10 +0,0 @@
// Update Time
const updateTime = setInterval(() => {
const currentTime = new Date();
let hours = currentTime.getHours();
let minutes = currentTime.getMinutes();
let seconds = currentTime.getSeconds();
document.getElementById("time").innerHTML = `${hours > 9 ? hours : '0' + hours}:${minutes> 9 ? minutes : '0' + minutes}:${seconds> 9 ? seconds : '0' + seconds}`;
}, 1000)

View File

@@ -0,0 +1,47 @@
.container {
margin-top : 10px;
background: rgb(233, 233, 233);
}
#serverName {
text-align: center;
font-size: 20px;
font-weight: 600;
margin: 10px;
}
.info {
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.info-column {
display: flex;
flex-direction: column;
flex-wrap: wrap;
height: 100%;
margin-left: 30px;
width: 80%;
margin-top: 20px;
}
.info > img {
height: 200px;
margin-bottom: 10px;
}
.info-column > a {
height: 100%;
}
.info-column > .card-body {
margin-top: 10px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
}
.card-body > a {
margin-right: 10px;
}