Added Create, Update and Delete to Events and added styles.

This commit is contained in:
2025-07-11 21:16:42 +02:00
parent d4534f9a11
commit 7787cb2956
5 changed files with 163 additions and 80 deletions

View File

@@ -167,6 +167,22 @@ a {
box-sizing: border-box;
background: #fff;
}
.form-horizontal input[type="date"],
.form-horizontal input[type="number"],
.form-horizontal select,
.form-horizontal textarea {
width: 100%;
padding: 8px 10px;
border: 1px solid #BAC8D4;
border-radius: 4px;
font-size: 1rem;
box-sizing: border-box;
background: #fff;
}
.form-horizontal textarea {
resize: vertical;
min-height: 100px;
}
.form-horizontal button {
width: 100%;
padding: 10px 0;
@@ -182,6 +198,21 @@ a {
.form-horizontal button:hover {
background: #333;
}
.button-register {
width: 100%;
padding: 10px 0;
border: none;
border-radius: 4px;
background: #4d4d4d;
color: #fff;
font-size: 1rem;
margin-top: 8px;
cursor: pointer;
transition: background 0.2s;
}
.button-register:hover {
background: #333;
}
.login-error, .form-error {
background: #ffe0e0;
color: #b30000;
@@ -403,6 +434,17 @@ a {
margin: 0 auto;
display: inline-block;
}
.event-header {
text-align: center;
margin-bottom: 24px;
}
.event-header h2 {
margin-bottom: 16px;
}
.event-header .admin-btn {
margin: 0 auto;
display: inline-block;
}
.card--wide {
max-width: 700px;
width: auto;