feat: added Sessionstart to header; changed navlinks in header; rework registration of services; created employee list with refund; created function for getting avatar and insert entry; changed data fetch for user; new style added

This commit is contained in:
Ioannis20x
2025-07-07 13:27:55 +02:00
parent 3479fd9e1d
commit 801434d7b5
8 changed files with 415 additions and 47 deletions

View File

@@ -145,4 +145,98 @@ body::before {
.discord-button img {
height: 24px;
margin-right: 10px;
}
}
/*EINTRAGUNG*/
#formdiv {
width: 40%;
height: 70vh; /* mittlere Box-Höhe */
display: flex;
justify-content: center; /* Zentriert horizontal */
align-items: center; /* Zentriert vertikal */
border: 2px solid cyan;
background-color: rgba(255, 0, 255, 0.5);
margin: 0 auto;
border-radius: 10px; /* optional: runde Ecken */
}
#entryform {
width: 100%;
height: 100%;
display: flex;
flex-direction: column; /* Elemente untereinander */
justify-content: space-between; /* gleichmäßig verteilen */
align-items: stretch;
padding: 20px;
box-sizing: border-box;
}
.form-group {
display: flex;
flex-direction: column; /* Label + Input untereinander */
gap: 5px; /* kleiner Abstand zwischen Label & Input */
}
#entryform h1 {
text-align: center; /* Überschrift mittig */
margin: 0;
}
#entryform select,
#entryform input[type="number"],
#entryform input[type="text"],
#entryform input[type="submit"] {
width: 100%; /* volle Breite */
height: 40px;
margin-top: 10px; /* Abstand nach oben */
font-size: 1rem;
}
#button {
background-color: cyan;
font-weight: bolder;
border: 2px solid white;
border-radius: 5px;
cursor: pointer;
}
/*#formdiv{
width: 40%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
border-style: solid;
border-color: cyan;
background-color: rgba(255, 0, 255, 0.5);
margin: 0 auto;
}
#entryform{
margin: 0 auto;
}
#entryform #button{
background-color: cyan;
width: 75%;
height: 75px;
align-content: left;
font-weight: bolder;
border: 2px solid yellow;
border-radius: 5px;
}
#button {
display: block;
margin-left: 0;
font-weight: bolder;
font-size: larger;
}*/