mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-10-04 05:01:37 +02:00
1083 lines
26 KiB
HTML
1083 lines
26 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>BambuTrack Control - With Bambu Assets</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
:root {
|
|
--bg-primary: #1a1a1a;
|
|
--bg-secondary: #2d2d2d;
|
|
--bg-tertiary: #3d3d3d;
|
|
--bg-card: #252525;
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #888888;
|
|
--text-muted: #666666;
|
|
--accent: #00ae42;
|
|
--accent-hover: #00c94b;
|
|
--orange: #f5a623;
|
|
--red: #e74c3c;
|
|
--border: #404040;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: var(--bg-primary);
|
|
color: var(--text-primary);
|
|
min-height: 100vh;
|
|
font-size: 13px;
|
|
}
|
|
|
|
/* Icon styling */
|
|
.icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
fill: currentColor;
|
|
}
|
|
|
|
.icon-sm {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
|
|
.icon-lg {
|
|
width: 24px;
|
|
height: 24px;
|
|
}
|
|
|
|
/* Printer Tabs */
|
|
.printer-tabs {
|
|
display: flex;
|
|
background: var(--bg-secondary);
|
|
border-bottom: 1px solid var(--border);
|
|
padding: 0 12px;
|
|
}
|
|
|
|
.printer-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 16px;
|
|
border: none;
|
|
background: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 13px;
|
|
border-bottom: 2px solid transparent;
|
|
margin-bottom: -1px;
|
|
}
|
|
|
|
.printer-tab:hover { color: var(--text-primary); }
|
|
.printer-tab.active {
|
|
color: var(--text-primary);
|
|
border-bottom-color: var(--accent);
|
|
}
|
|
|
|
.status-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
}
|
|
.status-dot.offline { background: var(--red); }
|
|
.status-dot.printing { background: var(--orange); }
|
|
|
|
.status-badge {
|
|
font-size: 10px;
|
|
padding: 2px 6px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 3px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Main Layout */
|
|
.main-content {
|
|
display: grid;
|
|
grid-template-columns: 1fr 360px;
|
|
height: calc(100vh - 41px);
|
|
}
|
|
|
|
/* Left Column */
|
|
.left-column {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #000;
|
|
}
|
|
|
|
.camera-section {
|
|
flex: 1;
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
|
|
}
|
|
|
|
.camera-placeholder {
|
|
color: var(--text-muted);
|
|
font-size: 14px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.camera-controls {
|
|
position: absolute;
|
|
top: 8px;
|
|
left: 8px;
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.cam-btn {
|
|
padding: 4px 10px;
|
|
background: rgba(0,0,0,0.7);
|
|
border: 1px solid var(--border);
|
|
border-radius: 4px;
|
|
color: var(--text-primary);
|
|
font-size: 11px;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.cam-btn:hover { background: rgba(0,0,0,0.9); }
|
|
.cam-btn .icon { width: 14px; height: 14px; }
|
|
|
|
/* Print Progress */
|
|
.print-progress {
|
|
background: var(--bg-secondary);
|
|
padding: 12px 16px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
border-top: 1px solid var(--border);
|
|
}
|
|
|
|
.print-thumb {
|
|
width: 56px;
|
|
height: 56px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 6px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.print-info { flex: 1; }
|
|
.print-name { font-weight: 500; margin-bottom: 6px; }
|
|
|
|
.progress-bar {
|
|
height: 4px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 2px;
|
|
margin-bottom: 6px;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: var(--accent);
|
|
border-radius: 2px;
|
|
width: 0%;
|
|
}
|
|
|
|
.print-stats {
|
|
display: flex;
|
|
gap: 20px;
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
.print-stats span { color: var(--text-primary); }
|
|
|
|
.print-btns { display: flex; gap: 6px; }
|
|
|
|
.print-btn {
|
|
width: 36px;
|
|
height: 36px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
}
|
|
.print-btn.pause { background: var(--orange); color: white; }
|
|
.print-btn.stop { background: var(--red); color: white; }
|
|
.print-btn:disabled { opacity: 0.4; cursor: not-allowed; }
|
|
|
|
/* Right Panel */
|
|
.control-panel {
|
|
background: var(--bg-secondary);
|
|
overflow-y: auto;
|
|
padding: 12px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.section-label {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
/* Temperature Grid */
|
|
.temp-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 6px;
|
|
}
|
|
|
|
.temp-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 10px 12px;
|
|
background: var(--bg-card);
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
transition: background 0.15s;
|
|
}
|
|
|
|
.temp-item:hover { background: var(--bg-tertiary); }
|
|
|
|
.temp-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.temp-icon img {
|
|
width: 100%;
|
|
height: 100%;
|
|
filter: brightness(0) invert(1);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.temp-label {
|
|
font-size: 11px;
|
|
color: var(--accent);
|
|
font-weight: 600;
|
|
min-width: 14px;
|
|
}
|
|
|
|
.temp-value {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.temp-target {
|
|
font-size: 12px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* Quick Buttons */
|
|
.quick-row {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.quick-btn {
|
|
flex: 1;
|
|
padding: 10px 8px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 8px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.quick-btn:hover {
|
|
background: var(--bg-tertiary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.quick-btn.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
.quick-btn img {
|
|
width: 16px;
|
|
height: 16px;
|
|
filter: brightness(0) invert(0.6);
|
|
}
|
|
|
|
.quick-btn:hover img,
|
|
.quick-btn.active img {
|
|
filter: brightness(0) invert(1);
|
|
}
|
|
|
|
/* Speed */
|
|
.speed-row {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.speed-btn {
|
|
flex: 1;
|
|
padding: 10px 4px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 8px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
transition: all 0.15s;
|
|
}
|
|
|
|
.speed-btn:hover { background: var(--bg-tertiary); }
|
|
.speed-btn.active { background: var(--accent); color: white; }
|
|
.speed-btn.ludicrous { color: var(--red); }
|
|
.speed-btn.ludicrous.active { background: var(--red); color: white; }
|
|
|
|
/* Movement */
|
|
.movement-row {
|
|
display: flex;
|
|
gap: 16px;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
/* Jog Pad */
|
|
.jog-container {
|
|
position: relative;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
|
|
.jog-ring {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
background: var(--bg-card);
|
|
position: relative;
|
|
}
|
|
|
|
.jog-btn {
|
|
position: absolute;
|
|
width: 28px;
|
|
height: 28px;
|
|
background: var(--bg-tertiary);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.jog-btn:hover { background: var(--accent); color: white; }
|
|
.jog-btn.up { top: 4px; left: 50%; transform: translateX(-50%); }
|
|
.jog-btn.down { bottom: 4px; left: 50%; transform: translateX(-50%); }
|
|
.jog-btn.left { left: 4px; top: 50%; transform: translateY(-50%); }
|
|
.jog-btn.right { right: 4px; top: 50%; transform: translateY(-50%); }
|
|
|
|
.jog-home {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 36px;
|
|
height: 36px;
|
|
background: var(--accent);
|
|
border: none;
|
|
border-radius: 50%;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.jog-home:hover { background: var(--accent-hover); }
|
|
.jog-home img {
|
|
width: 18px;
|
|
height: 18px;
|
|
filter: brightness(0) invert(1);
|
|
}
|
|
|
|
/* Z Control */
|
|
.z-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.z-btn {
|
|
width: 32px;
|
|
height: 28px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.z-btn:hover { background: var(--bg-tertiary); color: var(--text-primary); }
|
|
.z-label { font-size: 10px; color: var(--text-muted); }
|
|
|
|
/* Steps */
|
|
.step-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3px;
|
|
}
|
|
|
|
.step-btn {
|
|
padding: 6px 10px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 6px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.step-btn:hover, .step-btn.active {
|
|
background: var(--bg-tertiary);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* Extruder */
|
|
.extruder-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 6px;
|
|
}
|
|
|
|
.extruder-toggle {
|
|
display: flex;
|
|
background: var(--bg-card);
|
|
border-radius: 6px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.extruder-toggle button {
|
|
padding: 6px 14px;
|
|
border: none;
|
|
background: none;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.extruder-toggle button.active {
|
|
background: var(--accent);
|
|
color: white;
|
|
}
|
|
|
|
.extruder-graphic {
|
|
height: 90px;
|
|
}
|
|
|
|
.extruder-graphic img {
|
|
height: 100%;
|
|
width: auto;
|
|
}
|
|
|
|
.extruder-btns {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.ext-btn {
|
|
width: 28px;
|
|
height: 22px;
|
|
background: var(--bg-card);
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: var(--text-secondary);
|
|
cursor: pointer;
|
|
font-size: 10px;
|
|
}
|
|
|
|
.ext-btn:hover { background: var(--bg-tertiary); }
|
|
|
|
/* AMS Section */
|
|
.ams-section {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
/* Nozzle Assignment */
|
|
.nozzle-row {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.nozzle-group {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 6px 10px;
|
|
background: var(--bg-card);
|
|
border-radius: 6px;
|
|
border: 2px solid transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.nozzle-group:hover { background: var(--bg-tertiary); }
|
|
.nozzle-group.active { border-color: var(--accent); }
|
|
|
|
.nozzle-colors {
|
|
display: flex;
|
|
gap: 3px;
|
|
}
|
|
|
|
.nozzle-dot {
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 3px;
|
|
border: 1px solid rgba(255,255,255,0.2);
|
|
}
|
|
|
|
.nozzle-dot.empty {
|
|
background: var(--bg-tertiary) !important;
|
|
border-style: dashed;
|
|
}
|
|
|
|
.nozzle-sep {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
color: var(--text-muted);
|
|
font-size: 11px;
|
|
}
|
|
|
|
/* AMS Tabs */
|
|
.ams-tabs {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.ams-tab {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
padding: 5px 8px;
|
|
background: var(--bg-card);
|
|
border: 2px solid transparent;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ams-tab:hover { background: var(--bg-tertiary); }
|
|
.ams-tab.active { border-color: var(--accent); }
|
|
|
|
.ams-tab-dot {
|
|
width: 10px;
|
|
height: 10px;
|
|
border-radius: 2px;
|
|
border: 1px solid rgba(255,255,255,0.15);
|
|
}
|
|
|
|
.ams-tab-num {
|
|
font-size: 10px;
|
|
color: var(--text-secondary);
|
|
margin-left: 2px;
|
|
}
|
|
|
|
/* AMS Content */
|
|
.ams-content {
|
|
background: var(--bg-card);
|
|
border-radius: 8px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.ams-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 10px;
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.ams-header-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ams-header-info img {
|
|
width: 12px;
|
|
height: 12px;
|
|
filter: brightness(0) invert(0.5);
|
|
}
|
|
|
|
.ams-slots {
|
|
display: flex;
|
|
gap: 8px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.ams-slot {
|
|
width: 56px;
|
|
cursor: pointer;
|
|
border: 2px solid transparent;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
transition: all 0.15s;
|
|
background: var(--bg-secondary);
|
|
}
|
|
|
|
.ams-slot:hover { border-color: var(--text-muted); }
|
|
.ams-slot.active { border-color: var(--accent); }
|
|
.ams-slot.empty { opacity: 0.4; }
|
|
|
|
.ams-slot-color {
|
|
height: 42px;
|
|
display: flex;
|
|
align-items: flex-end;
|
|
justify-content: center;
|
|
padding-bottom: 4px;
|
|
}
|
|
|
|
.ams-slot-color img {
|
|
width: 16px;
|
|
height: 16px;
|
|
opacity: 0.6;
|
|
}
|
|
|
|
.ams-slot-info {
|
|
background: var(--bg-tertiary);
|
|
padding: 4px;
|
|
text-align: center;
|
|
}
|
|
|
|
.ams-slot-type {
|
|
font-size: 10px;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.ams-slot-num {
|
|
font-size: 8px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* External */
|
|
.ext-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ext-label {
|
|
font-size: 11px;
|
|
color: var(--text-secondary);
|
|
width: 24px;
|
|
}
|
|
|
|
.ext-slot {
|
|
width: 56px;
|
|
height: 62px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
border: 2px solid transparent;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.ext-slot:hover { border-color: var(--text-muted); }
|
|
.ext-slot-label { font-size: 8px; margin-top: 2px; }
|
|
|
|
.spool-holder {
|
|
flex: 1;
|
|
height: 62px;
|
|
background: var(--bg-secondary);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.spool-holder img {
|
|
height: 50px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* AMS Buttons */
|
|
.ams-btns {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.ams-btn {
|
|
flex: 1;
|
|
padding: 10px;
|
|
border: none;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.ams-btn.secondary { background: var(--bg-card); color: var(--text-primary); }
|
|
.ams-btn.secondary:hover { background: var(--bg-tertiary); }
|
|
.ams-btn.primary { background: var(--accent); color: white; }
|
|
.ams-btn.primary:hover { background: var(--accent-hover); }
|
|
|
|
/* AMS Animation */
|
|
.ams-animation {
|
|
flex: 1;
|
|
min-height: 100px;
|
|
margin-top: 12px;
|
|
background: var(--bg-card);
|
|
border-radius: 8px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
}
|
|
|
|
.ams-graphic {
|
|
display: flex;
|
|
align-items: flex-end;
|
|
gap: 8px;
|
|
}
|
|
|
|
.ams-graphic img {
|
|
height: 40px;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.hub-label {
|
|
font-size: 10px;
|
|
color: var(--text-muted);
|
|
padding: 4px 12px;
|
|
background: var(--bg-tertiary);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
.ams-status {
|
|
font-size: 11px;
|
|
color: var(--text-muted);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<!-- Printer Tabs -->
|
|
<div class="printer-tabs">
|
|
<button class="printer-tab active">
|
|
<span class="status-dot"></span>
|
|
H2D-1
|
|
<span class="status-badge">IDLE</span>
|
|
</button>
|
|
<button class="printer-tab">
|
|
<span class="status-dot printing"></span>
|
|
X1C-2
|
|
</button>
|
|
<button class="printer-tab">
|
|
<span class="status-dot offline"></span>
|
|
P1S-3
|
|
</button>
|
|
</div>
|
|
|
|
<div class="main-content">
|
|
<!-- Left: Camera + Progress -->
|
|
<div class="left-column">
|
|
<div class="camera-section">
|
|
<div class="camera-controls">
|
|
<button class="cam-btn">
|
|
<img src="icons/video-camera.svg" class="icon" alt="">
|
|
Start
|
|
</button>
|
|
<button class="cam-btn">⛶ Fullscreen</button>
|
|
</div>
|
|
<span class="camera-placeholder">
|
|
<img src="icons/webcam.svg" style="width: 24px; height: 24px; filter: brightness(0) invert(0.4);">
|
|
Camera Feed
|
|
</span>
|
|
</div>
|
|
|
|
<div class="print-progress">
|
|
<div class="print-thumb">No Print</div>
|
|
<div class="print-info">
|
|
<div class="print-name">Idle</div>
|
|
<div class="progress-bar"><div class="progress-fill"></div></div>
|
|
<div class="print-stats">
|
|
Layer: <span>--/--</span>
|
|
Time: <span>--:--</span>
|
|
Remaining: <span>--:--</span>
|
|
</div>
|
|
</div>
|
|
<div class="print-btns">
|
|
<button class="print-btn pause" disabled>⏸</button>
|
|
<button class="print-btn stop" disabled>⏹</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Right: Control Panel -->
|
|
<div class="control-panel">
|
|
<!-- Temperature -->
|
|
<div>
|
|
<div class="section-label">Temperature</div>
|
|
<div class="temp-grid">
|
|
<div class="temp-item">
|
|
<div class="temp-icon"><img src="icons/hotend.svg" alt=""></div>
|
|
<span class="temp-label">L</span>
|
|
<span class="temp-value">22</span>
|
|
<span class="temp-target">/0°C</span>
|
|
</div>
|
|
<div class="temp-item">
|
|
<div class="temp-icon"><img src="icons/hotend.svg" alt=""></div>
|
|
<span class="temp-label">R</span>
|
|
<span class="temp-value">21</span>
|
|
<span class="temp-target">/0°C</span>
|
|
</div>
|
|
<div class="temp-item">
|
|
<div class="temp-icon"><img src="icons/heatbed.svg" alt=""></div>
|
|
<span class="temp-value">21</span>
|
|
<span class="temp-target">/0°C</span>
|
|
</div>
|
|
<div class="temp-item">
|
|
<div class="temp-icon"><img src="icons/chamber.svg" alt=""></div>
|
|
<span class="temp-value">21</span>
|
|
<span class="temp-target">/0°C</span>
|
|
</div>
|
|
</div>
|
|
<div class="quick-row">
|
|
<button class="quick-btn">
|
|
<img src="icons/ventilation.svg" alt="">
|
|
Fans
|
|
</button>
|
|
<button class="quick-btn active">
|
|
<img src="icons/lamp.svg" alt="">
|
|
Lamp
|
|
</button>
|
|
<button class="quick-btn">
|
|
<img src="icons/snowflake.svg" alt="">
|
|
Cool
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Speed -->
|
|
<div>
|
|
<div class="section-label">Print Speed</div>
|
|
<div class="speed-row">
|
|
<button class="speed-btn">Silent</button>
|
|
<button class="speed-btn active">Standard</button>
|
|
<button class="speed-btn">Sport</button>
|
|
<button class="speed-btn ludicrous">Ludicrous</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Movement -->
|
|
<div>
|
|
<div class="section-label">Movement</div>
|
|
<div class="movement-row">
|
|
<!-- XY Jog -->
|
|
<div class="jog-container">
|
|
<div class="jog-ring">
|
|
<button class="jog-btn up">▲</button>
|
|
<button class="jog-btn down">▼</button>
|
|
<button class="jog-btn left">◀</button>
|
|
<button class="jog-btn right">▶</button>
|
|
<button class="jog-home">
|
|
<img src="icons/home.svg" alt="">
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Z -->
|
|
<div class="z-col">
|
|
<button class="z-btn">▲</button>
|
|
<span class="z-label">Z</span>
|
|
<button class="z-btn">▼</button>
|
|
</div>
|
|
|
|
<!-- Steps -->
|
|
<div class="step-col">
|
|
<button class="step-btn">10mm</button>
|
|
<button class="step-btn active">1mm</button>
|
|
<button class="step-btn">0.1mm</button>
|
|
</div>
|
|
|
|
<!-- Extruder -->
|
|
<div class="extruder-col">
|
|
<div class="extruder-toggle">
|
|
<button class="active">Left</button>
|
|
<button>Right</button>
|
|
</div>
|
|
<div class="extruder-graphic">
|
|
<img src="icons/dual-extruder.png" alt="Extruder">
|
|
</div>
|
|
<div class="extruder-btns">
|
|
<button class="ext-btn">▲</button>
|
|
<button class="ext-btn">▼</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- AMS -->
|
|
<div class="ams-section">
|
|
<div class="section-label">AMS</div>
|
|
|
|
<!-- Nozzle Assignment -->
|
|
<div class="nozzle-row">
|
|
<div class="nozzle-group active">
|
|
<div class="nozzle-colors">
|
|
<div class="nozzle-dot" style="background: #FFD700;"></div>
|
|
<div class="nozzle-dot" style="background: #8B4513;"></div>
|
|
<div class="nozzle-dot" style="background: #1a1a1a;"></div>
|
|
<div class="nozzle-dot" style="background: #222;"></div>
|
|
</div>
|
|
</div>
|
|
<div class="nozzle-sep">
|
|
<div class="nozzle-dot" style="background: #0066FF;"></div>
|
|
<span>/</span>
|
|
<div class="nozzle-dot" style="background: #FF0000;"></div>
|
|
</div>
|
|
<div class="nozzle-group">
|
|
<div class="nozzle-colors">
|
|
<div class="nozzle-dot empty"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- AMS Tabs -->
|
|
<div class="ams-tabs">
|
|
<div class="ams-tab active">
|
|
<div class="ams-tab-dot" style="background: #FFD700;"></div>
|
|
<div class="ams-tab-dot" style="background: #1a1a1a;"></div>
|
|
<div class="ams-tab-dot" style="background: #8B4513;"></div>
|
|
<div class="ams-tab-dot" style="background: #222;"></div>
|
|
<span class="ams-tab-num">1</span>
|
|
</div>
|
|
<div class="ams-tab">
|
|
<div class="ams-tab-dot" style="background: #FF0000;"></div>
|
|
<div class="ams-tab-dot" style="background: #0066FF;"></div>
|
|
<div class="ams-tab-dot" style="background: #3d3d3d;"></div>
|
|
<div class="ams-tab-dot" style="background: #3d3d3d;"></div>
|
|
<span class="ams-tab-num">2</span>
|
|
</div>
|
|
<div class="ams-tab">
|
|
<div class="ams-tab-dot" style="background: #00FF00;"></div>
|
|
<div class="ams-tab-dot" style="background: #FFF;"></div>
|
|
<div class="ams-tab-dot" style="background: #FF69B4;"></div>
|
|
<div class="ams-tab-dot" style="background: #9932CC;"></div>
|
|
<span class="ams-tab-num">3</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- AMS Slots -->
|
|
<div class="ams-content">
|
|
<div class="ams-header">
|
|
<span>AMS 1</span>
|
|
<div class="ams-header-info">
|
|
<img src="icons/water.svg" alt=""> 18%
|
|
<span style="margin: 0 4px;">·</span>
|
|
🌡 24°C
|
|
</div>
|
|
</div>
|
|
<div class="ams-slots">
|
|
<div class="ams-slot active">
|
|
<div class="ams-slot-color" style="background: linear-gradient(180deg, #FFD700 0%, #E6C200 100%);">
|
|
<img src="icons/eye.svg" alt="">
|
|
</div>
|
|
<div class="ams-slot-info">
|
|
<div class="ams-slot-type">PLA</div>
|
|
<div class="ams-slot-num">A1</div>
|
|
</div>
|
|
</div>
|
|
<div class="ams-slot">
|
|
<div class="ams-slot-color" style="background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);">
|
|
<img src="icons/eye.svg" alt="" style="filter: invert(1);">
|
|
</div>
|
|
<div class="ams-slot-info">
|
|
<div class="ams-slot-type">PETG</div>
|
|
<div class="ams-slot-num">A2</div>
|
|
</div>
|
|
</div>
|
|
<div class="ams-slot">
|
|
<div class="ams-slot-color" style="background: linear-gradient(180deg, #8B4513 0%, #6B3510 100%);">
|
|
<img src="icons/eye.svg" alt="" style="filter: invert(1);">
|
|
</div>
|
|
<div class="ams-slot-info">
|
|
<div class="ams-slot-type">PETG</div>
|
|
<div class="ams-slot-num">A3</div>
|
|
</div>
|
|
</div>
|
|
<div class="ams-slot">
|
|
<div class="ams-slot-color" style="background: linear-gradient(180deg, #222 0%, #111 100%);">
|
|
<img src="icons/eye.svg" alt="" style="filter: invert(1);">
|
|
</div>
|
|
<div class="ams-slot-info">
|
|
<div class="ams-slot-type">PLA</div>
|
|
<div class="ams-slot-num">A4</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- External -->
|
|
<div class="ext-row">
|
|
<span class="ext-label">Ext</span>
|
|
<div class="ext-slot">
|
|
?
|
|
<span class="ext-slot-label">Spool</span>
|
|
</div>
|
|
<div class="spool-holder">
|
|
<img src="icons/single-extruder1.png" alt="Spool holder">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Buttons -->
|
|
<div class="ams-btns">
|
|
<button class="ams-btn secondary">Unload</button>
|
|
<button class="ams-btn primary">Load</button>
|
|
</div>
|
|
|
|
<!-- Animation Area -->
|
|
<div class="ams-animation">
|
|
<div class="ams-graphic">
|
|
<img src="icons/ams.png" alt="AMS">
|
|
</div>
|
|
<div class="hub-label">HUB</div>
|
|
<div class="ams-status">Ready - Select a slot to load</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|