feature/framework (#1)

Reviewed-on: #1
This commit is contained in:
2025-08-28 10:21:14 +02:00
parent e23b40e0cb
commit 6c58e479af
26 changed files with 7056 additions and 1361 deletions

View File

@@ -183,6 +183,25 @@ p {
transform: rotate(180deg);
}
.refresh-btn:disabled {
opacity: 0.6;
cursor: not-allowed;
pointer-events: none;
}
.refresh-icon.spinning {
animation: spin 1s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.members-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
@@ -194,10 +213,12 @@ p {
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 10px;
padding: 1rem;
transition: all 0.3s ease;
transition: all 0.2s ease;
cursor: pointer;
position: relative;
margin-bottom: 0.5rem;
opacity: 1;
transform: translateY(0);
}
.member-card::before {
@@ -210,7 +231,7 @@ p {
background: rgba(255, 255, 255, 0.08);
border-radius: 12px;
opacity: 0;
transition: opacity 0.3s ease;
transition: opacity 0.2s ease;
pointer-events: none;
}
@@ -220,6 +241,7 @@ p {
.member-card:hover {
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
transform: translateY(-2px);
}
.member-card.expanded {
@@ -229,7 +251,7 @@ p {
}
.member-card.expanded:hover {
transform: scale(1.02);
transform: scale(1.02) translateY(-2px);
}
.expand-icon:hover {
@@ -285,20 +307,15 @@ p {
}
.member-details {
display: none;
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
opacity: 0;
margin-top: 0;
padding-top: 0;
border-top: 1px solid transparent;
transition: opacity 0.3s ease;
}
.member-card.expanded .member-details {
display: block;
max-height: 2000px; /* Allow full expansion for active tasks while maintaining smooth transition */
opacity: 1;
margin-top: 1rem;
padding-top: 1rem;
border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.detail-row {
@@ -329,13 +346,20 @@ p {
}
.endpoint-item {
background: rgba(0, 0, 0, 0.3);
background: rgba(0, 0, 0, 0.2);
padding: 0.5rem;
border-radius: 6px;
margin-bottom: 0.5rem;
font-size: 0.8rem;
font-family: 'Courier New', monospace;
border: 1px solid rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s ease;
}
.endpoint-item:hover {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.loading-details {
@@ -521,20 +545,33 @@ p {
}
.upload-btn {
background: rgba(255, 255, 255, 0.1);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #ecf0f1;
padding: 0.75rem 1.5rem;
border-radius: 8px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
border: 1px solid rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.9);
padding: 0.75rem 1.25rem;
border-radius: 12px;
cursor: pointer;
font-size: 1rem;
transition: all 0.3s ease;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
gap: 0.5rem;
backdrop-filter: blur(10px);
margin-bottom: 1rem;
margin: auto;
}
.upload-btn:hover {
background: rgba(255, 255, 255, 0.2);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
border-color: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.upload-btn:active {
transform: translateY(0);
}
.upload-info {
@@ -700,25 +737,65 @@ p {
font-weight: 600;
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
box-shadow: 0 2px 8px rgba(0, 255, 0, 0.1);
transition: all 0.3s ease;
}
/* Cluster Status States */
.cluster-status-online {
background: linear-gradient(135deg, rgba(0, 255, 0, 0.15) 0%, rgba(0, 255, 0, 0.08) 100%);
border: 1px solid rgba(0, 255, 0, 0.25);
color: #00ff88;
box-shadow: 0 2px 8px rgba(0, 255, 0, 0.1);
}
.cluster-status-offline {
background: linear-gradient(135deg, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0.08) 100%);
border: 1px solid rgba(255, 0, 0, 0.25);
color: #ff6b6b;
box-shadow: 0 2px 8px rgba(255, 0, 0, 0.1);
}
.cluster-status-connecting {
background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.08) 100%);
border: 1px solid rgba(255, 193, 7, 0.25);
color: #ffd54f;
box-shadow: 0 2px 8px rgba(255, 193, 7, 0.1);
}
.cluster-status-discovering {
background: linear-gradient(135deg, rgba(33, 150, 243, 0.15) 0%, rgba(33, 150, 243, 0.08) 100%);
border: 1px solid rgba(33, 150, 243, 0.25);
color: #64b5f6;
box-shadow: 0 2px 8px rgba(33, 150, 243, 0.1);
}
.cluster-status-error {
background: linear-gradient(135deg, rgba(244, 67, 54, 0.15) 0%, rgba(244, 67, 54, 0.08) 100%);
border: 1px solid rgba(244, 67, 54, 0.25);
color: #ff8a80;
box-shadow: 0 2px 8px rgba(244, 67, 54, 0.1);
}
/* View Content Styles */
.view-content {
display: none;
opacity: 0;
transition: opacity 0.2s ease-in-out;
}
.view-content.active {
display: block;
opacity: 1;
}
/* Firmware Section Styles */
.firmware-section {
background: rgba(0, 0, 0, 0.25);
background: rgba(0, 0, 0, 0.3);
border-radius: 16px;
backdrop-filter: blur(15px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
border: 1px solid rgba(255, 255, 255, 0.08);
padding: 0.5rem;
backdrop-filter: blur(10px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 0.75rem;
margin-bottom: 1rem;
position: relative;
overflow: hidden;
@@ -746,11 +823,18 @@ p {
.action-group {
background: rgba(0, 0, 0, 0.2);
border-radius: 12px;
padding: 0.75rem;
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 10px;
padding: 1rem;
border: 1px solid rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
transition: all 0.2s ease;
}
.action-group:hover {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.action-group h3 {
@@ -772,16 +856,38 @@ p {
display: flex;
gap: 1rem;
align-items: center;
padding: 0.75rem;
background: rgba(255, 255, 255, 0.03);
padding: 1rem;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
transition: all 0.3s ease;
border-radius: 10px;
transition: all 0.2s ease;
position: relative;
cursor: pointer;
}
.compact-upload-row::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.08);
border-radius: 12px;
opacity: 0;
transition: opacity 0.2s ease;
pointer-events: none;
}
.compact-upload-row:hover::before {
opacity: 1;
}
.compact-upload-row:hover {
background: rgba(255, 255, 255, 0.05);
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
transform: translateY(-2px);
}
.file-upload-area {
@@ -802,39 +908,54 @@ p {
}
.upload-btn-compact {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
border: 1px solid rgba(255, 255, 255, 0.2);
color: #ffffff;
padding: 0.4rem 0.8rem;
border-radius: 6px;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
border: 1px solid rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.9);
padding: 0.75rem 1.25rem;
border-radius: 12px;
cursor: pointer;
font-size: 0.85rem;
font-size: 0.9rem;
font-weight: 500;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
gap: 0.5rem;
backdrop-filter: blur(10px);
white-space: nowrap;
}
.upload-btn-compact:hover {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.12) 100%);
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
border-color: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.upload-btn-compact:active {
transform: translateY(0);
}
.file-info {
color: rgba(255, 255, 255, 0.7);
font-size: 0.8rem;
font-size: 0.9rem;
font-style: italic;
transition: all 0.3s ease;
padding: 0.25rem 0.5rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 4px;
border: 1px solid transparent;
transition: all 0.2s ease;
padding: 0.75rem 1.25rem;
background: rgba(0, 0, 0, 0.2);
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.1);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 200px;
}
.file-info:hover {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.file-info.has-file {
color: #4ade80;
background: rgba(74, 222, 128, 0.1);
@@ -843,6 +964,12 @@ p {
font-style: normal;
}
.file-info.has-file:hover {
background: rgba(74, 222, 128, 0.15);
border-color: rgba(74, 222, 128, 0.3);
box-shadow: 0 2px 8px rgba(74, 222, 128, 0.2);
}
.target-options {
display: flex;
gap: 0.75rem;
@@ -856,24 +983,17 @@ p {
gap: 0.3rem;
cursor: pointer;
padding: 0.3rem;
border-radius: 4px;
border-radius: 6px;
transition: all 0.2s ease;
}
.specific-node-option {
gap: 0.5rem;
align-items: center;
}
.specific-node-option .node-select {
margin-left: 0.5rem;
visibility: hidden;
opacity: 0;
transition: opacity 0.2s ease;
background: transparent;
border: none;
}
.target-option:hover {
background: rgba(255, 255, 255, 0.05);
background: rgba(0, 0, 0, 0.25);
border-color: transparent;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
transform: translateY(-1px);
}
.target-option input[type="radio"] {
@@ -883,17 +1003,18 @@ p {
.radio-custom {
width: 14px;
height: 14px;
border: 2px solid rgba(255, 255, 255, 0.3);
border: 2px solid rgba(255, 255, 255, 0.1);
border-radius: 50%;
position: relative;
transition: all 0.2s ease;
background: rgba(255, 255, 255, 0.05);
background: rgba(0, 0, 0, 0.2);
}
.target-option input[type="radio"]:checked + .radio-custom {
border-color: #667eea;
background: #667eea;
box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.2);
transform: scale(1.05);
}
.target-option input[type="radio"]:checked + .radio-custom::after {
@@ -922,13 +1043,13 @@ p {
.target-label {
color: rgba(255, 255, 255, 0.9);
font-size: 0.85rem;
font-size: 0.9rem;
font-weight: 500;
}
.node-select {
background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.7) 100%);
border: 1px solid rgba(255, 255, 255, 0.3);
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #ffffff;
padding: 0.3rem 0.5rem;
border-radius: 6px;
@@ -941,15 +1062,17 @@ p {
}
.node-select:hover {
border-color: rgba(255, 255, 255, 0.4);
background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
transform: translateY(-1px);
}
.node-select:focus {
outline: none;
border-color: #667eea;
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
background: linear-gradient(135deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.9) 100%);
background: rgba(0, 0, 0, 0.3);
}
/* Style the dropdown options */
@@ -981,16 +1104,40 @@ p {
color: #ffffff;
}
.deploy-btn {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border: none;
color: #ffffff;
padding: 0.5rem 1rem;
/* Style for no-nodes message */
.no-nodes-message {
color: #fbbf24 !important;
font-size: 0.8rem !important;
margin-top: 0.25rem !important;
font-style: italic !important;
text-align: center;
padding: 0.5rem 0.75rem;
border-radius: 6px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(251, 191, 36, 0.3);
transition: all 0.2s ease;
}
.no-nodes-message:hover {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(251, 191, 36, 0.4);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.deploy-btn {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
border: 1px solid rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.9);
padding: 0.75rem 1.25rem;
border-radius: 12px;
cursor: pointer;
font-size: 0.9rem;
font-weight: 600;
font-weight: 500;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
gap: 0.5rem;
backdrop-filter: blur(10px);
min-width: 100px;
position: relative;
overflow: hidden;
@@ -1013,8 +1160,14 @@ p {
}
.deploy-btn:hover:not(:disabled) {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
border-color: rgba(255, 255, 255, 0.25);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.deploy-btn:active:not(:disabled) {
transform: translateY(0);
}
.deploy-btn:disabled {
@@ -1178,13 +1331,21 @@ p {
/* Firmware upload progress and results styling */
.firmware-upload-progress,
.firmware-upload-results {
background: rgba(0, 0, 0, 0.3);
background: rgba(0, 0, 0, 0.2);
border-radius: 16px;
backdrop-filter: blur(10px);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 1.5rem;
margin-top: 1rem;
transition: all 0.2s ease;
}
.firmware-upload-progress:hover,
.firmware-upload-results:hover {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.progress-header,
@@ -1213,20 +1374,21 @@ p {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
border: 1px solid rgba(255, 255, 255, 0.15);
color: rgba(255, 255, 255, 0.9);
padding: 0.5rem;
border-radius: 8px;
padding: 0.75rem 1.25rem;
border-radius: 12px;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
display: flex;
align-items: center;
justify-content: center;
backdrop-filter: blur(10px);
}
.progress-refresh-btn:hover {
background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
border-color: rgba(255, 255, 255, 0.25);
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
transform: translateY(-2px);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.progress-refresh-btn:active {
@@ -1245,9 +1407,17 @@ p {
.progress-info span,
.results-summary span {
padding: 0.25rem 0.5rem;
background: rgba(255, 255, 255, 0.05);
background: rgba(0, 0, 0, 0.2);
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s ease;
}
.progress-info span:hover,
.results-summary span:hover {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.overall-progress {
@@ -1284,9 +1454,16 @@ p {
.progress-summary {
margin-top: 0.75rem;
padding: 0.5rem 0.75rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 8px;
background: rgba(0, 0, 0, 0.2);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.2s ease;
}
.progress-summary:hover {
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.progress-summary span {
@@ -1323,16 +1500,40 @@ p {
justify-content: space-between;
align-items: center;
padding: 1rem;
background: rgba(255, 255, 255, 0.05);
border-radius: 12px;
background: rgba(0, 0, 0, 0.2);
border-radius: 10px;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: all 0.3s ease;
transition: all 0.2s ease;
position: relative;
cursor: pointer;
}
.progress-item::before,
.result-item::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(255, 255, 255, 0.08);
border-radius: 12px;
opacity: 0;
transition: opacity 0.2s ease;
pointer-events: none;
}
.progress-item:hover::before,
.result-item:hover::before {
opacity: 1;
}
.progress-item:hover,
.result-item:hover {
background: rgba(255, 255, 255, 0.08);
background: rgba(0, 0, 0, 0.25);
border-color: rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
transform: translateY(-2px);
}
.progress-node-info,
@@ -1461,4 +1662,67 @@ p {
flex-direction: column;
}
}
/* Loading and state transitions */
.loading, .error, .empty-state {
opacity: 0;
animation: fadeIn 0.3s ease-in-out forwards;
}
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Smooth expand/collapse animations */
.member-details {
max-height: 0;
overflow: hidden;
transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
opacity: 0;
}
.member-card.expanded .member-details {
max-height: 2000px; /* Allow full expansion for active tasks while maintaining smooth transition */
opacity: 1;
}
/* Expand icon rotation */
.expand-icon svg {
transition: transform 0.2s ease-in-out;
}
.member-card.expanded .expand-icon svg {
transform: rotate(180deg);
}
/* Navigation tab transitions */
.nav-tab {
transition: all 0.2s ease;
}
.nav-tab:hover {
transform: translateY(-1px);
}
.nav-tab.active {
transform: translateY(0);
}
.specific-node-option {
gap: 0.5rem;
align-items: center;
}
.specific-node-option .node-select {
margin-left: 0.5rem;
visibility: hidden;
opacity: 0;
transition: opacity 0.2s ease;
}