step: Working MQTT websocket connection, docker deploy script

This commit is contained in:
2026-05-10 00:10:09 +02:00
parent 9900d48622
commit e1a32ecd01
6 changed files with 877 additions and 36 deletions
+153 -5
View File
@@ -93,13 +93,161 @@ button {
cursor: pointer;
}
.player-list {
margin: 0;
padding-left: 20px;
}
#selected-name {
margin-top: 12px;
font-size: 18px;
font-weight: 600;
}
.home-content {
text-align: center;
}
.home-content h1 {
margin: 0 0 16px;
font-size: 32px;
}
.home-content p {
margin: 0 0 24px;
line-height: 1.6;
color: #4b5563;
}
.info-section {
display: flex;
gap: 16px;
margin: 32px 0;
justify-content: center;
}
.info-box {
flex: 1;
max-width: 200px;
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 16px;
background: #f9fafb;
}
.info-box h3 {
margin: 0 0 8px;
font-size: 14px;
color: #6b7280;
text-transform: uppercase;
}
.info-box p {
margin: 0;
font-size: 18px;
font-weight: 600;
color: #111827;
}
.home-nav {
display: flex;
flex-wrap: wrap;
gap: 12px;
justify-content: center;
margin-top: 32px;
}
.nav-button {
text-decoration: none;
color: #ffffff;
background: #111827;
border: 1px solid #111827;
border-radius: 8px;
padding: 12px 24px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: background 0.2s, border-color 0.2s;
}
.nav-button:hover {
background: #374151;
border-color: #374151;
}
.player-list {
margin: 0;
padding: 0;
list-style: none;
}
.player-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px;
margin: 8px 0;
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 6px;
}
.player-name {
flex: 1;
font-weight: 500;
color: #111827;
}
.delete-btn {
background: #ef4444;
border: 1px solid #ef4444;
color: #ffffff;
padding: 6px 10px;
border-radius: 4px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s, border-color 0.2s;
}
.delete-btn:hover {
background: #dc2626;
border-color: #dc2626;
}
.trash-icon {
width: 16px;
height: 16px;
}
.players-actions {
display: flex;
gap: 12px;
margin-top: 16px;
justify-content: flex-end;
}
.btn-primary,
.btn-secondary {
padding: 10px 16px;
border-radius: 6px;
border: none;
cursor: pointer;
font-weight: 500;
transition: background 0.2s;
}
.btn-primary {
background: #111827;
color: #ffffff;
}
.btn-primary:hover {
background: #1f2937;
}
.btn-secondary {
background: #e5e7eb;
color: #111827;
border: 1px solid #d1d5db;
}
.btn-secondary:hover {
background: #d1d5db;
}