control-page-v13.html 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>BambuTrack Control - v13</title>
  7. <style>
  8. * { margin: 0; padding: 0; box-sizing: border-box; }
  9. :root {
  10. --bg-main: #f5f5f5;
  11. --bg-white: #ffffff;
  12. --bg-light: #fafafa;
  13. --bg-panel: #f5f5f5;
  14. --bg-hover: #e8e8e8;
  15. --text-primary: #333333;
  16. --text-secondary: #666666;
  17. --text-muted: #999999;
  18. --border: #e0e0e0;
  19. --border-light: #eeeeee;
  20. --accent: #00ae42;
  21. }
  22. body {
  23. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  24. background: var(--bg-main);
  25. color: var(--text-primary);
  26. font-size: 13px;
  27. }
  28. .main-layout {
  29. display: grid;
  30. grid-template-columns: 1fr 580px;
  31. height: 100vh;
  32. }
  33. /* Left Panel - Camera */
  34. .left-panel {
  35. display: flex;
  36. flex-direction: column;
  37. background: var(--bg-main);
  38. }
  39. .camera-header {
  40. display: flex;
  41. align-items: center;
  42. padding: 8px 12px;
  43. background: var(--bg-white);
  44. border-bottom: 1px solid var(--border);
  45. gap: 8px;
  46. }
  47. .camera-title {
  48. font-size: 13px;
  49. color: var(--text-primary);
  50. margin-right: auto;
  51. }
  52. .icon-btn {
  53. width: 28px;
  54. height: 28px;
  55. border: none;
  56. background: none;
  57. cursor: pointer;
  58. border-radius: 4px;
  59. display: flex;
  60. align-items: center;
  61. justify-content: center;
  62. }
  63. .icon-btn:hover { background: var(--bg-hover); }
  64. .icon-btn img { width: 18px; height: 18px; opacity: 0.6; }
  65. .camera-feed {
  66. flex: 1;
  67. background: #1a1a1a;
  68. display: flex;
  69. align-items: center;
  70. justify-content: center;
  71. color: #555;
  72. font-size: 14px;
  73. position: relative;
  74. }
  75. .camera-overlay {
  76. position: absolute;
  77. top: 10px;
  78. left: 10px;
  79. }
  80. .camera-overlay img {
  81. width: 24px;
  82. height: 24px;
  83. opacity: 0.7;
  84. filter: invert(1);
  85. }
  86. /* Status bar */
  87. .status-bar {
  88. background: var(--accent);
  89. padding: 4px 12px;
  90. }
  91. /* Print Progress */
  92. .print-progress {
  93. background: var(--bg-white);
  94. padding: 16px 20px;
  95. }
  96. .progress-label { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
  97. .progress-row { display: flex; gap: 16px; align-items: center; }
  98. .progress-thumb {
  99. width: 80px; height: 80px;
  100. background: var(--bg-light);
  101. border: 1px solid var(--border);
  102. border-radius: 8px;
  103. display: flex; align-items: center; justify-content: center;
  104. flex-direction: column;
  105. font-size: 11px;
  106. color: var(--text-muted);
  107. overflow: hidden;
  108. }
  109. .progress-thumb img {
  110. width: 100%;
  111. height: 100%;
  112. object-fit: cover;
  113. }
  114. .progress-info { flex: 1; }
  115. .progress-name { font-weight: 500; font-size: 14px; margin-bottom: 2px; }
  116. .progress-status { color: var(--accent); font-size: 13px; margin-bottom: 8px; }
  117. .progress-bar-bg { height: 4px; background: var(--border-light); border-radius: 2px; margin-bottom: 8px; }
  118. .progress-bar-fill { height: 100%; background: var(--accent); border-radius: 2px; width: 0%; }
  119. .progress-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
  120. .progress-btns { display: flex; gap: 6px; }
  121. .progress-btn {
  122. width: 32px; height: 32px;
  123. border: 1px solid var(--border);
  124. background: var(--bg-white);
  125. border-radius: 6px;
  126. cursor: pointer;
  127. font-size: 14px;
  128. color: var(--text-muted);
  129. }
  130. .progress-btn:hover { background: var(--bg-hover); }
  131. /* Right Panel - Control */
  132. .right-panel {
  133. background: var(--bg-white);
  134. border-left: 1px solid var(--border);
  135. overflow-y: auto;
  136. overflow-x: hidden;
  137. display: flex;
  138. flex-direction: column;
  139. }
  140. .control-header {
  141. display: flex;
  142. align-items: center;
  143. padding: 10px 16px;
  144. border-bottom: 1px solid var(--border);
  145. gap: 8px;
  146. }
  147. .control-title { font-size: 13px; margin-right: auto; color: var(--text-secondary); }
  148. .header-btn {
  149. padding: 7px 16px;
  150. font-size: 12px;
  151. border: none;
  152. border-radius: 6px;
  153. cursor: pointer;
  154. background: var(--accent);
  155. color: white;
  156. }
  157. .header-btn:hover { background: #009938; }
  158. .control-body {
  159. padding: 16px 20px;
  160. flex: 1;
  161. overflow-y: auto;
  162. overflow-x: hidden;
  163. }
  164. /* Top Section: Temp + Movement side by side */
  165. .top-section {
  166. display: flex;
  167. gap: 30px;
  168. margin-bottom: 16px;
  169. }
  170. /* Temperature Column */
  171. .temp-column {
  172. flex: 0 0 auto;
  173. min-width: 160px;
  174. }
  175. .temp-row {
  176. display: flex;
  177. align-items: center;
  178. gap: 8px;
  179. padding: 5px 0;
  180. }
  181. .temp-icon { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; }
  182. .temp-icon img { width: 18px; opacity: 0.5; }
  183. .temp-badge {
  184. font-size: 11px;
  185. font-weight: 600;
  186. color: var(--accent);
  187. background: #e8f5e9;
  188. padding: 2px 8px;
  189. border-radius: 4px;
  190. min-width: 24px;
  191. text-align: center;
  192. }
  193. .temp-badge-spacer {
  194. min-width: 24px;
  195. padding: 2px 8px;
  196. }
  197. .temp-value { font-size: 18px; font-weight: 500; }
  198. .temp-target { font-size: 15px; color: var(--text-muted); }
  199. /* Air Condition */
  200. .air-section {
  201. display: flex;
  202. align-items: center;
  203. gap: 12px;
  204. padding: 12px 0;
  205. margin-top: 10px;
  206. border-top: 1px solid var(--border-light);
  207. }
  208. .air-label {
  209. display: flex;
  210. align-items: center;
  211. gap: 6px;
  212. font-size: 13px;
  213. color: var(--text-secondary);
  214. }
  215. .air-label img { width: 18px; opacity: 0.5; }
  216. .air-values {
  217. display: flex;
  218. align-items: center;
  219. gap: 16px;
  220. margin-top: 8px;
  221. }
  222. .air-value {
  223. display: flex;
  224. align-items: center;
  225. gap: 5px;
  226. font-size: 13px;
  227. color: var(--text-secondary);
  228. }
  229. .air-value img { width: 16px; opacity: 0.5; }
  230. .lamp-section {
  231. display: flex;
  232. align-items: center;
  233. gap: 6px;
  234. font-size: 13px;
  235. color: var(--text-secondary);
  236. }
  237. .lamp-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); }
  238. /* Movement Column */
  239. .movement-column {
  240. flex: 1;
  241. display: flex;
  242. flex-direction: column;
  243. align-items: flex-end;
  244. }
  245. .nozzle-toggle {
  246. display: flex;
  247. border-radius: 6px;
  248. overflow: hidden;
  249. border: 1px solid var(--border);
  250. margin-bottom: 12px;
  251. }
  252. .nozzle-toggle button {
  253. padding: 7px 20px;
  254. border: none;
  255. background: var(--bg-white);
  256. font-size: 13px;
  257. cursor: pointer;
  258. color: var(--text-secondary);
  259. }
  260. .nozzle-toggle button:first-child { border-right: 1px solid var(--border); }
  261. .nozzle-toggle button.active { background: var(--accent); color: white; }
  262. .movement-row {
  263. display: flex;
  264. gap: 24px;
  265. align-items: flex-start;
  266. }
  267. .jog-section { display: flex; flex-direction: column; align-items: center; }
  268. .jog-pad {
  269. position: relative;
  270. width: 120px;
  271. height: 120px;
  272. margin-bottom: 12px;
  273. }
  274. .jog-ring {
  275. width: 100%;
  276. height: 100%;
  277. border-radius: 50%;
  278. background: linear-gradient(135deg, #f8f8f8 0%, #ebebeb 100%);
  279. border: 1px solid var(--border);
  280. position: relative;
  281. }
  282. .jog-label {
  283. position: absolute;
  284. font-size: 11px;
  285. color: var(--text-muted);
  286. }
  287. .jog-label.top { top: 8px; left: 50%; transform: translateX(-50%); }
  288. .jog-label.bottom { bottom: 8px; left: 50%; transform: translateX(-50%); }
  289. .jog-label.left { left: 8px; top: 50%; transform: translateY(-50%); }
  290. .jog-label.right { right: 8px; top: 50%; transform: translateY(-50%); }
  291. .jog-btn {
  292. position: absolute;
  293. width: 24px;
  294. height: 24px;
  295. background: var(--bg-white);
  296. border: 1px solid var(--border);
  297. border-radius: 4px;
  298. cursor: pointer;
  299. font-size: 10px;
  300. color: var(--text-muted);
  301. display: flex;
  302. align-items: center;
  303. justify-content: center;
  304. }
  305. .jog-btn:hover { background: var(--bg-hover); }
  306. .jog-btn.up { top: 20px; left: 50%; transform: translateX(-50%); }
  307. .jog-btn.down { bottom: 20px; left: 50%; transform: translateX(-50%); }
  308. .jog-btn.left { left: 20px; top: 50%; transform: translateY(-50%); }
  309. .jog-btn.right { right: 20px; top: 50%; transform: translateY(-50%); }
  310. .jog-home {
  311. position: absolute;
  312. top: 50%;
  313. left: 50%;
  314. transform: translate(-50%, -50%);
  315. width: 40px;
  316. height: 40px;
  317. border-radius: 50%;
  318. background: var(--accent);
  319. border: none;
  320. cursor: pointer;
  321. display: flex;
  322. align-items: center;
  323. justify-content: center;
  324. }
  325. .jog-home:hover { background: #009938; }
  326. .jog-home img { width: 20px; filter: brightness(0) invert(1); }
  327. /* Bed Controls */
  328. .bed-controls {
  329. display: flex;
  330. align-items: center;
  331. gap: 8px;
  332. }
  333. .bed-btn {
  334. padding: 8px 14px;
  335. background: var(--bg-white);
  336. border: 1px solid var(--border);
  337. border-radius: 6px;
  338. cursor: pointer;
  339. font-size: 12px;
  340. color: var(--text-secondary);
  341. }
  342. .bed-btn:hover { background: var(--bg-hover); }
  343. .bed-label { font-size: 12px; color: var(--text-muted); padding: 0 8px; }
  344. /* Extruder Section */
  345. .extruder-section {
  346. display: flex;
  347. flex-direction: column;
  348. align-items: center;
  349. gap: 8px;
  350. }
  351. .extruder-btn {
  352. width: 36px;
  353. height: 36px;
  354. background: var(--bg-white);
  355. border: 1px solid var(--border);
  356. border-radius: 6px;
  357. cursor: pointer;
  358. font-size: 14px;
  359. color: var(--text-muted);
  360. display: flex;
  361. align-items: center;
  362. justify-content: center;
  363. }
  364. .extruder-btn:hover { background: var(--bg-hover); }
  365. .extruder-graphic {
  366. height: 80px;
  367. margin: 8px 0;
  368. }
  369. .extruder-graphic img { height: 100%; }
  370. .extruder-label { font-size: 12px; color: var(--text-muted); }
  371. /* ========== FILAMENT SELECTOR BOXES ========== */
  372. .filament-selector-row {
  373. display: flex;
  374. gap: 10px;
  375. margin-bottom: 8px;
  376. }
  377. .filament-box {
  378. display: flex;
  379. align-items: center;
  380. gap: 5px;
  381. padding: 10px 12px;
  382. background: var(--bg-white);
  383. border: 2px solid var(--border);
  384. border-radius: 8px;
  385. cursor: pointer;
  386. }
  387. .filament-box:hover { border-color: #ccc; }
  388. .filament-box.active { border-color: var(--accent); }
  389. .filament-dots { display: flex; gap: 4px; }
  390. .f-dot {
  391. width: 18px;
  392. height: 18px;
  393. border-radius: 4px;
  394. border: 1px solid rgba(0,0,0,0.1);
  395. }
  396. .f-dot.empty {
  397. background: #e8e8e8 !important;
  398. border: 1px solid #ccc;
  399. }
  400. .f-dot-sep {
  401. width: 1px;
  402. height: 18px;
  403. background: #ccc;
  404. margin: 0 2px;
  405. }
  406. .filament-count {
  407. font-size: 13px;
  408. color: var(--text-muted);
  409. margin-left: 6px;
  410. }
  411. /* AMS Tab Selector Row */
  412. .ams-tab-row {
  413. display: flex;
  414. gap: 8px;
  415. margin-bottom: 12px;
  416. flex-wrap: wrap;
  417. }
  418. .ams-tab {
  419. display: flex;
  420. align-items: center;
  421. gap: 6px;
  422. padding: 6px 10px;
  423. background: var(--bg-white);
  424. border: 1px solid var(--border);
  425. border-radius: 6px;
  426. cursor: pointer;
  427. font-size: 11px;
  428. color: var(--text-muted);
  429. }
  430. .ams-tab:hover { background: var(--bg-hover); }
  431. .ams-tab.active { border-color: var(--accent); background: #f0faf3; }
  432. .ams-tab .tab-dots {
  433. display: flex;
  434. gap: 2px;
  435. }
  436. .ams-tab .tab-dot {
  437. width: 10px;
  438. height: 10px;
  439. border-radius: 2px;
  440. border: 1px solid rgba(0,0,0,0.1);
  441. }
  442. .ams-tab .tab-dot.empty {
  443. background: #e0e0e0;
  444. }
  445. .ams-tab-label {
  446. font-size: 11px;
  447. color: var(--text-secondary);
  448. }
  449. /* ========== AMS DISPLAY SECTION ========== */
  450. .ams-display {
  451. display: flex;
  452. gap: 16px;
  453. background: var(--bg-panel);
  454. border-radius: 12px;
  455. padding: 16px;
  456. margin-bottom: 12px;
  457. }
  458. /* Left side: AMS unit */
  459. .ams-unit-panel {
  460. flex: 1;
  461. }
  462. /* AMS Header - humidity + sun only */
  463. .ams-header {
  464. display: flex;
  465. align-items: center;
  466. gap: 10px;
  467. margin-bottom: 12px;
  468. font-size: 13px;
  469. color: var(--text-secondary);
  470. }
  471. .ams-stat {
  472. display: flex;
  473. align-items: center;
  474. gap: 4px;
  475. }
  476. .ams-stat img { width: 16px; opacity: 0.5; }
  477. .ams-stat .sun { font-size: 16px; color: #f5a623; }
  478. /* Slot Labels */
  479. .slot-labels {
  480. display: flex;
  481. gap: 6px;
  482. margin-bottom: 8px;
  483. }
  484. .slot-label {
  485. flex: 1;
  486. text-align: center;
  487. font-size: 11px;
  488. color: var(--text-muted);
  489. padding: 4px 0;
  490. background: var(--bg-white);
  491. border: 1px solid var(--border);
  492. border-radius: 12px;
  493. }
  494. /* AMS Slots */
  495. .ams-slots {
  496. display: flex;
  497. gap: 6px;
  498. margin-bottom: 10px;
  499. }
  500. .ams-slot {
  501. flex: 1;
  502. height: 70px;
  503. border-radius: 10px;
  504. overflow: hidden;
  505. cursor: pointer;
  506. border: 2px solid var(--border);
  507. background: var(--bg-white);
  508. }
  509. .ams-slot:hover { border-color: #bbb; }
  510. .ams-slot.active { border-color: #d4a84b; }
  511. .ams-slot-fill {
  512. width: 100%;
  513. height: 100%;
  514. display: flex;
  515. flex-direction: column;
  516. align-items: center;
  517. justify-content: flex-end;
  518. padding-bottom: 8px;
  519. }
  520. .ams-slot-type {
  521. font-size: 11px;
  522. font-weight: 600;
  523. color: white;
  524. text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  525. margin-bottom: 4px;
  526. }
  527. .ams-slot-type.dark { color: #333; text-shadow: none; }
  528. .ams-slot-eye { width: 16px; height: 16px; }
  529. .ams-slot-eye img { width: 14px; height: 14px; opacity: 0.8; }
  530. .ams-slot-eye.invert img { filter: invert(1); }
  531. /* Connector Lines below slots */
  532. .ams-connectors {
  533. display: flex;
  534. justify-content: center;
  535. padding: 0 12px;
  536. position: relative;
  537. }
  538. .connector-group {
  539. flex: 1;
  540. display: flex;
  541. gap: 6px;
  542. position: relative;
  543. }
  544. .connector-line {
  545. flex: 1;
  546. display: flex;
  547. justify-content: center;
  548. }
  549. .connector-line .vline {
  550. width: 2px;
  551. height: 14px;
  552. background: #c0c0c0;
  553. }
  554. .connector-hbar {
  555. position: absolute;
  556. bottom: 0;
  557. left: 10%;
  558. right: 10%;
  559. height: 2px;
  560. background: #c0c0c0;
  561. }
  562. /* ========== EXTERNAL SPOOL SECTION ========== */
  563. .ext-section {
  564. display: flex;
  565. flex-direction: column;
  566. align-items: center;
  567. min-width: 140px;
  568. }
  569. .ext-label {
  570. font-size: 14px;
  571. font-weight: 500;
  572. color: var(--text-secondary);
  573. margin-bottom: 12px;
  574. }
  575. .ext-content {
  576. display: flex;
  577. gap: 12px;
  578. align-items: flex-start;
  579. }
  580. .ext-slot-wrapper {
  581. display: flex;
  582. flex-direction: column;
  583. align-items: center;
  584. }
  585. .ext-slot {
  586. width: 60px;
  587. height: 70px;
  588. border-radius: 10px;
  589. border: 2px solid var(--border);
  590. background: var(--bg-white);
  591. display: flex;
  592. flex-direction: column;
  593. align-items: center;
  594. justify-content: center;
  595. cursor: pointer;
  596. margin-bottom: 10px;
  597. }
  598. .ext-slot:hover { border-color: #bbb; }
  599. .ext-slot .question {
  600. font-size: 24px;
  601. color: var(--text-muted);
  602. margin-bottom: 4px;
  603. }
  604. .ext-slot .diagonal {
  605. font-size: 20px;
  606. color: var(--text-muted);
  607. }
  608. .ext-connector {
  609. width: 2px;
  610. height: 14px;
  611. background: #c0c0c0;
  612. }
  613. /* External Spool Holder Illustration */
  614. .ext-spool-holder {
  615. width: 100px;
  616. height: 90px;
  617. display: flex;
  618. align-items: center;
  619. justify-content: center;
  620. }
  621. .ext-spool-holder svg {
  622. width: 100%;
  623. height: 100%;
  624. }
  625. /* ========== HUB CONNECTOR SECTION ========== */
  626. .hub-connector-section {
  627. display: flex;
  628. align-items: center;
  629. justify-content: center;
  630. gap: 8px;
  631. padding: 12px 0;
  632. }
  633. .hub-line-left {
  634. flex: 1;
  635. height: 2px;
  636. background: #c0c0c0;
  637. margin-right: -4px;
  638. }
  639. .hub-graphic {
  640. display: flex;
  641. gap: 4px;
  642. padding: 8px 12px;
  643. background: #e8e8e8;
  644. border-radius: 4px;
  645. border: 1px solid var(--border);
  646. }
  647. .hub-port {
  648. width: 14px;
  649. height: 20px;
  650. background: var(--accent);
  651. border-radius: 2px;
  652. }
  653. .hub-line-right {
  654. flex: 1;
  655. height: 2px;
  656. background: #c0c0c0;
  657. margin-left: -4px;
  658. }
  659. /* AMS Actions */
  660. .ams-actions {
  661. display: flex;
  662. align-items: center;
  663. gap: 12px;
  664. margin-top: 8px;
  665. }
  666. .auto-refill-btn {
  667. display: flex;
  668. align-items: center;
  669. gap: 6px;
  670. padding: 10px 18px;
  671. background: var(--bg-white);
  672. border: 1px solid var(--border);
  673. border-radius: 8px;
  674. cursor: pointer;
  675. font-size: 13px;
  676. color: var(--text-secondary);
  677. }
  678. .auto-refill-btn:hover { background: var(--bg-hover); }
  679. .ams-settings-btn {
  680. width: 40px;
  681. height: 40px;
  682. background: var(--bg-white);
  683. border: 1px solid var(--border);
  684. border-radius: 8px;
  685. cursor: pointer;
  686. display: flex;
  687. align-items: center;
  688. justify-content: center;
  689. }
  690. .ams-settings-btn:hover { background: var(--bg-hover); }
  691. .ams-settings-btn img { width: 22px; opacity: 0.5; }
  692. .ams-spacer { flex: 1; }
  693. .ams-action-btn {
  694. padding: 10px 28px;
  695. border-radius: 8px;
  696. font-size: 13px;
  697. cursor: pointer;
  698. border: none;
  699. background: #e8e8e8;
  700. color: var(--text-secondary);
  701. }
  702. .ams-action-btn:hover { background: #ddd; }
  703. </style>
  704. </head>
  705. <body>
  706. <div class="main-layout">
  707. <!-- Left Panel - Camera -->
  708. <div class="left-panel">
  709. <div class="camera-header">
  710. <span class="camera-title">Camera</span>
  711. <button class="icon-btn"><img src="icons/video-camera.svg"></button>
  712. <button class="icon-btn"><img src="icons/webcam.svg"></button>
  713. <button class="icon-btn"><img src="icons/settings.svg"></button>
  714. </div>
  715. <div class="camera-feed">
  716. <div class="camera-overlay">
  717. <img src="icons/micro-sd.svg">
  718. </div>
  719. Camera Feed
  720. </div>
  721. <div class="status-bar"></div>
  722. <div class="print-progress">
  723. <div class="progress-label">Printing Progress</div>
  724. <div class="progress-row">
  725. <div class="progress-thumb">
  726. Bambu<br>Lab
  727. </div>
  728. <div class="progress-info">
  729. <div class="progress-name">N/A</div>
  730. <div class="progress-status">N/A</div>
  731. <div class="progress-bar-bg"><div class="progress-bar-fill"></div></div>
  732. <div class="progress-meta">Layer: N/A &nbsp;&nbsp; N/A</div>
  733. <div class="progress-meta">Estimated finish time: N/A</div>
  734. </div>
  735. <div class="progress-btns">
  736. <button class="progress-btn">&#8962;</button>
  737. <button class="progress-btn">&#9208;</button>
  738. <button class="progress-btn">&#9632;</button>
  739. </div>
  740. </div>
  741. </div>
  742. </div>
  743. <!-- Right Panel - Control -->
  744. <div class="right-panel">
  745. <div class="control-header">
  746. <span class="control-title">Control</span>
  747. <button class="header-btn">Printer Parts</button>
  748. <button class="header-btn">Print Options</button>
  749. <button class="header-btn">Calibration</button>
  750. </div>
  751. <div class="control-body">
  752. <!-- Top Section: Temp + Movement side by side -->
  753. <div class="top-section">
  754. <!-- Temperature Column -->
  755. <div class="temp-column">
  756. <div class="temp-row">
  757. <div class="temp-icon"><img src="icons/hotend.svg"></div>
  758. <span class="temp-badge">L</span>
  759. <span class="temp-value">24</span>
  760. <span class="temp-target">/0 °C</span>
  761. </div>
  762. <div class="temp-row">
  763. <div class="temp-icon"><img src="icons/hotend.svg"></div>
  764. <span class="temp-badge">R</span>
  765. <span class="temp-value">23</span>
  766. <span class="temp-target">/0 °C</span>
  767. </div>
  768. <div class="temp-row">
  769. <div class="temp-icon"><img src="icons/heatbed.svg"></div>
  770. <span class="temp-badge-spacer"></span>
  771. <span class="temp-value">23</span>
  772. <span class="temp-target">/0 °C</span>
  773. </div>
  774. <div class="temp-row">
  775. <div class="temp-icon"><img src="icons/chamber.svg"></div>
  776. <span class="temp-badge-spacer"></span>
  777. <span class="temp-value">23</span>
  778. <span class="temp-target">/0 °C</span>
  779. </div>
  780. <!-- Air Condition -->
  781. <div class="air-section">
  782. <div class="air-label"><img src="icons/ventilation.svg"> Air Condition</div>
  783. </div>
  784. <div class="air-values">
  785. <div class="air-value"><img src="icons/ventilation.svg"> 100%</div>
  786. <div class="lamp-section">Lamp <div class="lamp-dot"></div></div>
  787. </div>
  788. </div>
  789. <!-- Movement Column -->
  790. <div class="movement-column">
  791. <div class="nozzle-toggle">
  792. <button class="active">Left</button>
  793. <button>Right</button>
  794. </div>
  795. <div class="movement-row">
  796. <div class="jog-section">
  797. <div class="jog-pad">
  798. <div class="jog-ring">
  799. <span class="jog-label top">Y</span>
  800. <span class="jog-label bottom">-Y</span>
  801. <span class="jog-label left">-X</span>
  802. <span class="jog-label right">X</span>
  803. <button class="jog-btn up">&#9650;</button>
  804. <button class="jog-btn down">&#9660;</button>
  805. <button class="jog-btn left">&#9664;</button>
  806. <button class="jog-btn right">&#9654;</button>
  807. <button class="jog-home"><img src="icons/home.svg"></button>
  808. </div>
  809. </div>
  810. <div class="bed-controls">
  811. <button class="bed-btn">&#8593;10</button>
  812. <button class="bed-btn">&#8593;1</button>
  813. <span class="bed-label">Bed</span>
  814. <button class="bed-btn">&#8595;1</button>
  815. <button class="bed-btn">&#8595;10</button>
  816. </div>
  817. </div>
  818. <div class="extruder-section">
  819. <button class="extruder-btn">&#9650;</button>
  820. <div class="extruder-graphic"><img src="icons/dual-extruder.png"></div>
  821. <button class="extruder-btn">&#9660;</button>
  822. <span class="extruder-label">Extruder</span>
  823. </div>
  824. </div>
  825. </div>
  826. </div>
  827. <!-- Filament Selector Boxes (Top Row - Large) -->
  828. <div class="filament-selector-row">
  829. <div class="filament-box active">
  830. <div class="filament-dots">
  831. <div class="f-dot" style="background: #FFD700;"></div>
  832. <div class="f-dot" style="background: #333;"></div>
  833. <div class="f-dot" style="background: #8B4513;"></div>
  834. <div class="f-dot" style="background: #666;"></div>
  835. </div>
  836. </div>
  837. <div class="filament-box">
  838. <div class="filament-dots">
  839. <div class="f-dot" style="background: #FF6600;"></div>
  840. <div class="f-dot" style="background: #00AA00;"></div>
  841. <div class="f-dot" style="background: #0066FF;"></div>
  842. <div class="f-dot" style="background: #FF0000;"></div>
  843. </div>
  844. </div>
  845. <div class="filament-box">
  846. <div class="filament-dots">
  847. <div class="f-dot empty"></div>
  848. <div class="f-dot empty"></div>
  849. <div class="f-dot empty"></div>
  850. <div class="f-dot empty"></div>
  851. </div>
  852. <span class="filament-count">0</span>
  853. </div>
  854. </div>
  855. <!-- AMS Tab Selector Row -->
  856. <div class="ams-tab-row">
  857. <div class="ams-tab active">
  858. <div class="tab-dots">
  859. <div class="tab-dot" style="background: #FFD700;"></div>
  860. <div class="tab-dot" style="background: #333;"></div>
  861. <div class="tab-dot" style="background: #8B4513;"></div>
  862. <div class="tab-dot" style="background: #666;"></div>
  863. </div>
  864. <span class="ams-tab-label">AMS 1</span>
  865. </div>
  866. <div class="ams-tab">
  867. <div class="tab-dots">
  868. <div class="tab-dot" style="background: #FF6600;"></div>
  869. <div class="tab-dot" style="background: #00AA00;"></div>
  870. <div class="tab-dot" style="background: #0066FF;"></div>
  871. <div class="tab-dot" style="background: #FF0000;"></div>
  872. </div>
  873. <span class="ams-tab-label">AMS 2</span>
  874. </div>
  875. <div class="ams-tab">
  876. <div class="tab-dots">
  877. <div class="tab-dot empty"></div>
  878. <div class="tab-dot empty"></div>
  879. <div class="tab-dot empty"></div>
  880. <div class="tab-dot empty"></div>
  881. </div>
  882. <span class="ams-tab-label">AMS 3</span>
  883. </div>
  884. <div class="ams-tab">
  885. <div class="tab-dots">
  886. <div class="tab-dot" style="background: #8844AA;"></div>
  887. <div class="tab-dot" style="background: #8844AA;"></div>
  888. </div>
  889. <span class="ams-tab-label">HT 1</span>
  890. </div>
  891. <div class="ams-tab">
  892. <div class="tab-dots">
  893. <div class="tab-dot" style="background: #44AA88;"></div>
  894. <div class="tab-dot" style="background: #44AA88;"></div>
  895. </div>
  896. <span class="ams-tab-label">HT 2</span>
  897. </div>
  898. </div>
  899. <!-- AMS Display Panel -->
  900. <div class="ams-display">
  901. <!-- AMS Unit (shows currently selected AMS) -->
  902. <div class="ams-unit-panel">
  903. <!-- AMS Header: Humidity + Sun (NO temperature) -->
  904. <div class="ams-header">
  905. <div class="ams-stat"><img src="icons/water.svg"> 18 %</div>
  906. <div class="ams-stat"><span class="sun">&#9788;</span></div>
  907. </div>
  908. <!-- Slot Labels -->
  909. <div class="slot-labels">
  910. <div class="slot-label">A1↓</div>
  911. <div class="slot-label">A2↓</div>
  912. <div class="slot-label">A3↓</div>
  913. <div class="slot-label">A4↓</div>
  914. </div>
  915. <!-- AMS Slots -->
  916. <div class="ams-slots">
  917. <div class="ams-slot active">
  918. <div class="ams-slot-fill" style="background: #FFD700;">
  919. <span class="ams-slot-type dark">PLA</span>
  920. <div class="ams-slot-eye"><img src="icons/eye.svg"></div>
  921. </div>
  922. </div>
  923. <div class="ams-slot">
  924. <div class="ams-slot-fill" style="background: #333;">
  925. <span class="ams-slot-type">PETG</span>
  926. <div class="ams-slot-eye invert"><img src="icons/eye.svg"></div>
  927. </div>
  928. </div>
  929. <div class="ams-slot">
  930. <div class="ams-slot-fill" style="background: #8B4513;">
  931. <span class="ams-slot-type">PETG</span>
  932. <div class="ams-slot-eye invert"><img src="icons/eye.svg"></div>
  933. </div>
  934. </div>
  935. <div class="ams-slot">
  936. <div class="ams-slot-fill" style="background: #666;">
  937. <span class="ams-slot-type">PLA</span>
  938. <div class="ams-slot-eye invert"><img src="icons/eye.svg"></div>
  939. </div>
  940. </div>
  941. </div>
  942. <!-- Connector Lines -->
  943. <div class="ams-connectors">
  944. <div class="connector-group">
  945. <div class="connector-line"><div class="vline"></div></div>
  946. <div class="connector-line"><div class="vline"></div></div>
  947. <div class="connector-line"><div class="vline"></div></div>
  948. <div class="connector-line"><div class="vline"></div></div>
  949. <div class="connector-hbar"></div>
  950. </div>
  951. </div>
  952. </div>
  953. <!-- External Spool Section -->
  954. <div class="ext-section">
  955. <div class="ext-label">Ext</div>
  956. <div class="ext-content">
  957. <div class="ext-slot-wrapper">
  958. <div class="ext-slot">
  959. <span class="question">?</span>
  960. <span class="diagonal">⁄</span>
  961. </div>
  962. <div class="ext-connector"></div>
  963. </div>
  964. <!-- External Spool Holder Illustration -->
  965. <div class="ext-spool-holder">
  966. <svg viewBox="0 0 100 90" fill="none" xmlns="http://www.w3.org/2000/svg">
  967. <!-- Spool holder box -->
  968. <path d="M10 30 L60 15 L90 30 L90 75 L60 90 L10 75 Z" fill="#f0f0f0" stroke="#ccc" stroke-width="1.5"/>
  969. <path d="M10 30 L60 45 L90 30" fill="none" stroke="#ccc" stroke-width="1.5"/>
  970. <path d="M60 45 L60 90" fill="none" stroke="#ccc" stroke-width="1.5"/>
  971. <!-- Vent lines -->
  972. <line x1="70" y1="50" x2="85" y2="45" stroke="#ddd" stroke-width="1"/>
  973. <line x1="70" y1="58" x2="85" y2="53" stroke="#ddd" stroke-width="1"/>
  974. <line x1="70" y1="66" x2="85" y2="61" stroke="#ddd" stroke-width="1"/>
  975. <!-- Spool -->
  976. <ellipse cx="35" cy="35" rx="20" ry="8" fill="#00ae42" stroke="#008833" stroke-width="1.5"/>
  977. <rect x="15" y="35" width="40" height="12" fill="#00ae42"/>
  978. <ellipse cx="35" cy="47" rx="20" ry="8" fill="#009938" stroke="#008833" stroke-width="1.5"/>
  979. <!-- Spool center hole -->
  980. <ellipse cx="35" cy="35" rx="8" ry="3" fill="#e0e0e0"/>
  981. <ellipse cx="35" cy="47" rx="8" ry="3" fill="#ccc"/>
  982. <!-- PTFE tube -->
  983. <path d="M35 55 Q35 65 50 70 L55 68" fill="none" stroke="#00ae42" stroke-width="3"/>
  984. </svg>
  985. </div>
  986. </div>
  987. </div>
  988. </div>
  989. <!-- Hub Connector -->
  990. <div class="hub-connector-section">
  991. <div class="hub-line-left"></div>
  992. <div class="hub-graphic">
  993. <div class="hub-port"></div>
  994. <div class="hub-port"></div>
  995. </div>
  996. <div class="hub-line-right"></div>
  997. </div>
  998. <!-- AMS Actions -->
  999. <div class="ams-actions">
  1000. <button class="auto-refill-btn">Auto-refill</button>
  1001. <button class="ams-settings-btn"><img src="icons/ams-settings.svg"></button>
  1002. <div class="ams-spacer"></div>
  1003. <button class="ams-action-btn">Unload</button>
  1004. <button class="ams-action-btn">Load</button>
  1005. </div>
  1006. </div>
  1007. </div>
  1008. </div>
  1009. </body>
  1010. </html>