control-page-v2.html 28 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123
  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 - Bambu Studio Style</title>
  7. <style>
  8. * {
  9. margin: 0;
  10. padding: 0;
  11. box-sizing: border-box;
  12. }
  13. :root {
  14. --bg-primary: #1a1a1a;
  15. --bg-secondary: #2d2d2d;
  16. --bg-tertiary: #3d3d3d;
  17. --bg-card: #252525;
  18. --text-primary: #ffffff;
  19. --text-secondary: #888888;
  20. --text-muted: #666666;
  21. --accent: #00ae42;
  22. --accent-hover: #00c94b;
  23. --orange: #f5a623;
  24. --red: #e74c3c;
  25. --border: #404040;
  26. }
  27. body {
  28. font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  29. background: var(--bg-primary);
  30. color: var(--text-primary);
  31. min-height: 100vh;
  32. font-size: 13px;
  33. }
  34. /* Printer Tabs */
  35. .printer-tabs {
  36. display: flex;
  37. background: var(--bg-secondary);
  38. border-bottom: 1px solid var(--border);
  39. padding: 0 12px;
  40. }
  41. .printer-tab {
  42. display: flex;
  43. align-items: center;
  44. gap: 8px;
  45. padding: 10px 16px;
  46. border: none;
  47. background: none;
  48. color: var(--text-secondary);
  49. cursor: pointer;
  50. font-size: 13px;
  51. border-bottom: 2px solid transparent;
  52. margin-bottom: -1px;
  53. }
  54. .printer-tab:hover {
  55. color: var(--text-primary);
  56. }
  57. .printer-tab.active {
  58. color: var(--text-primary);
  59. border-bottom-color: var(--accent);
  60. }
  61. .status-dot {
  62. width: 8px;
  63. height: 8px;
  64. border-radius: 50%;
  65. background: var(--accent);
  66. }
  67. .status-dot.offline { background: var(--red); }
  68. .status-dot.printing { background: var(--orange); }
  69. .status-badge {
  70. font-size: 10px;
  71. padding: 2px 6px;
  72. background: var(--bg-tertiary);
  73. border-radius: 3px;
  74. color: var(--text-secondary);
  75. }
  76. /* Main Layout */
  77. .main-content {
  78. display: grid;
  79. grid-template-columns: 1fr 340px;
  80. height: calc(100vh - 41px);
  81. }
  82. /* Left Column */
  83. .left-column {
  84. display: flex;
  85. flex-direction: column;
  86. background: #000;
  87. }
  88. /* Camera */
  89. .camera-section {
  90. flex: 1;
  91. position: relative;
  92. display: flex;
  93. align-items: center;
  94. justify-content: center;
  95. background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  96. }
  97. .camera-placeholder {
  98. color: var(--text-muted);
  99. font-size: 14px;
  100. }
  101. .camera-controls {
  102. position: absolute;
  103. top: 8px;
  104. left: 8px;
  105. display: flex;
  106. gap: 4px;
  107. }
  108. .cam-btn {
  109. padding: 4px 10px;
  110. background: rgba(0,0,0,0.7);
  111. border: 1px solid var(--border);
  112. border-radius: 4px;
  113. color: var(--text-primary);
  114. font-size: 11px;
  115. cursor: pointer;
  116. }
  117. .cam-btn:hover {
  118. background: rgba(0,0,0,0.9);
  119. }
  120. /* Print Progress */
  121. .print-progress {
  122. background: var(--bg-secondary);
  123. padding: 12px 16px;
  124. display: flex;
  125. align-items: center;
  126. gap: 12px;
  127. border-top: 1px solid var(--border);
  128. }
  129. .print-thumb {
  130. width: 56px;
  131. height: 56px;
  132. background: var(--bg-tertiary);
  133. border-radius: 6px;
  134. display: flex;
  135. align-items: center;
  136. justify-content: center;
  137. font-size: 10px;
  138. color: var(--text-muted);
  139. }
  140. .print-info {
  141. flex: 1;
  142. }
  143. .print-name {
  144. font-weight: 500;
  145. margin-bottom: 6px;
  146. }
  147. .progress-bar {
  148. height: 4px;
  149. background: var(--bg-tertiary);
  150. border-radius: 2px;
  151. margin-bottom: 6px;
  152. }
  153. .progress-fill {
  154. height: 100%;
  155. background: var(--accent);
  156. border-radius: 2px;
  157. width: 0%;
  158. }
  159. .print-stats {
  160. display: flex;
  161. gap: 20px;
  162. font-size: 12px;
  163. color: var(--text-secondary);
  164. }
  165. .print-stats span { color: var(--text-primary); }
  166. .print-btns {
  167. display: flex;
  168. gap: 6px;
  169. }
  170. .print-btn {
  171. width: 36px;
  172. height: 36px;
  173. border: none;
  174. border-radius: 6px;
  175. cursor: pointer;
  176. font-size: 14px;
  177. display: flex;
  178. align-items: center;
  179. justify-content: center;
  180. }
  181. .print-btn.pause { background: var(--orange); color: white; }
  182. .print-btn.stop { background: var(--red); color: white; }
  183. .print-btn:disabled { opacity: 0.4; cursor: not-allowed; }
  184. /* Right Panel */
  185. .control-panel {
  186. background: var(--bg-secondary);
  187. overflow-y: auto;
  188. padding: 12px;
  189. display: flex;
  190. flex-direction: column;
  191. gap: 12px;
  192. }
  193. .section-label {
  194. font-size: 11px;
  195. color: var(--text-secondary);
  196. text-transform: uppercase;
  197. letter-spacing: 0.5px;
  198. margin-bottom: 8px;
  199. }
  200. /* Temperature Grid */
  201. .temp-grid {
  202. display: grid;
  203. grid-template-columns: 1fr 1fr;
  204. gap: 6px;
  205. }
  206. .temp-item {
  207. display: flex;
  208. align-items: center;
  209. gap: 6px;
  210. padding: 8px 10px;
  211. background: var(--bg-card);
  212. border-radius: 6px;
  213. cursor: pointer;
  214. }
  215. .temp-item:hover {
  216. background: var(--bg-tertiary);
  217. }
  218. .temp-icon {
  219. font-size: 14px;
  220. }
  221. .temp-value {
  222. font-size: 16px;
  223. font-weight: 500;
  224. }
  225. .temp-target {
  226. font-size: 11px;
  227. color: var(--text-secondary);
  228. }
  229. /* Quick Buttons */
  230. .quick-row {
  231. display: flex;
  232. gap: 6px;
  233. }
  234. .quick-btn {
  235. flex: 1;
  236. padding: 8px;
  237. background: var(--bg-card);
  238. border: none;
  239. border-radius: 6px;
  240. color: var(--text-secondary);
  241. cursor: pointer;
  242. font-size: 11px;
  243. display: flex;
  244. align-items: center;
  245. justify-content: center;
  246. gap: 4px;
  247. }
  248. .quick-btn:hover {
  249. background: var(--bg-tertiary);
  250. color: var(--text-primary);
  251. }
  252. .quick-btn.active {
  253. background: var(--accent);
  254. color: white;
  255. }
  256. /* Speed Control */
  257. .speed-row {
  258. display: flex;
  259. gap: 4px;
  260. }
  261. .speed-btn {
  262. flex: 1;
  263. padding: 8px 4px;
  264. background: var(--bg-card);
  265. border: none;
  266. border-radius: 6px;
  267. color: var(--text-secondary);
  268. cursor: pointer;
  269. font-size: 11px;
  270. }
  271. .speed-btn:hover {
  272. background: var(--bg-tertiary);
  273. }
  274. .speed-btn.active {
  275. background: var(--accent);
  276. color: white;
  277. }
  278. .speed-btn.ludicrous {
  279. color: var(--red);
  280. }
  281. .speed-btn.ludicrous.active {
  282. background: var(--red);
  283. color: white;
  284. }
  285. /* Movement Section */
  286. .movement-row {
  287. display: flex;
  288. gap: 12px;
  289. align-items: flex-start;
  290. }
  291. /* XY Jog Pad - Bambu Studio Style */
  292. .jog-container {
  293. position: relative;
  294. width: 110px;
  295. height: 110px;
  296. }
  297. .jog-ring {
  298. width: 100%;
  299. height: 100%;
  300. border-radius: 50%;
  301. background: var(--bg-card);
  302. position: relative;
  303. overflow: hidden;
  304. }
  305. .jog-quadrant {
  306. position: absolute;
  307. width: 50%;
  308. height: 50%;
  309. display: flex;
  310. align-items: center;
  311. justify-content: center;
  312. cursor: pointer;
  313. transition: background 0.15s;
  314. }
  315. .jog-quadrant:hover {
  316. background: rgba(255,255,255,0.1);
  317. }
  318. .jog-quadrant.top { top: 0; left: 25%; width: 50%; height: 35%; }
  319. .jog-quadrant.bottom { bottom: 0; left: 25%; width: 50%; height: 35%; }
  320. .jog-quadrant.left { left: 0; top: 25%; width: 35%; height: 50%; }
  321. .jog-quadrant.right { right: 0; top: 25%; width: 35%; height: 50%; }
  322. .jog-arrow {
  323. font-size: 16px;
  324. color: var(--text-secondary);
  325. }
  326. .jog-home {
  327. position: absolute;
  328. top: 50%;
  329. left: 50%;
  330. transform: translate(-50%, -50%);
  331. width: 40px;
  332. height: 40px;
  333. border-radius: 50%;
  334. background: var(--accent);
  335. border: none;
  336. cursor: pointer;
  337. display: flex;
  338. align-items: center;
  339. justify-content: center;
  340. }
  341. .jog-home:hover {
  342. background: var(--accent-hover);
  343. }
  344. .jog-home svg {
  345. width: 20px;
  346. height: 20px;
  347. fill: white;
  348. }
  349. /* Z Control */
  350. .z-control {
  351. display: flex;
  352. flex-direction: column;
  353. align-items: center;
  354. gap: 4px;
  355. }
  356. .z-btn {
  357. width: 36px;
  358. height: 32px;
  359. background: var(--bg-card);
  360. border: none;
  361. border-radius: 6px;
  362. color: var(--text-secondary);
  363. cursor: pointer;
  364. font-size: 12px;
  365. }
  366. .z-btn:hover {
  367. background: var(--bg-tertiary);
  368. color: var(--text-primary);
  369. }
  370. .z-label {
  371. font-size: 10px;
  372. color: var(--text-muted);
  373. }
  374. /* Step Sizes */
  375. .step-col {
  376. display: flex;
  377. flex-direction: column;
  378. gap: 3px;
  379. }
  380. .step-btn {
  381. padding: 6px 10px;
  382. background: var(--bg-card);
  383. border: none;
  384. border-radius: 4px;
  385. color: var(--text-secondary);
  386. cursor: pointer;
  387. font-size: 10px;
  388. }
  389. .step-btn:hover, .step-btn.active {
  390. background: var(--bg-tertiary);
  391. color: var(--text-primary);
  392. }
  393. /* Extruder Toggle */
  394. .extruder-col {
  395. display: flex;
  396. flex-direction: column;
  397. align-items: center;
  398. gap: 6px;
  399. }
  400. .extruder-toggle {
  401. display: flex;
  402. background: var(--bg-card);
  403. border-radius: 6px;
  404. overflow: hidden;
  405. }
  406. .extruder-toggle button {
  407. padding: 5px 12px;
  408. border: none;
  409. background: none;
  410. color: var(--text-secondary);
  411. cursor: pointer;
  412. font-size: 11px;
  413. }
  414. .extruder-toggle button.active {
  415. background: var(--accent);
  416. color: white;
  417. }
  418. /* Extruder Graphic */
  419. .extruder-graphic {
  420. width: 50px;
  421. height: 70px;
  422. position: relative;
  423. }
  424. .extruder-graphic svg {
  425. width: 100%;
  426. height: 100%;
  427. }
  428. .extruder-btns {
  429. display: flex;
  430. flex-direction: column;
  431. gap: 2px;
  432. }
  433. .ext-btn {
  434. width: 28px;
  435. height: 22px;
  436. background: var(--bg-card);
  437. border: none;
  438. border-radius: 4px;
  439. color: var(--text-secondary);
  440. cursor: pointer;
  441. font-size: 10px;
  442. }
  443. .ext-btn:hover {
  444. background: var(--bg-tertiary);
  445. }
  446. /* AMS Section */
  447. .ams-section {
  448. flex: 1;
  449. display: flex;
  450. flex-direction: column;
  451. }
  452. /* Nozzle Assignment (dual nozzle printers) */
  453. .nozzle-assignment {
  454. display: flex;
  455. gap: 8px;
  456. margin-bottom: 10px;
  457. align-items: center;
  458. }
  459. .nozzle-group {
  460. flex: 1;
  461. display: flex;
  462. align-items: center;
  463. padding: 6px 10px;
  464. background: var(--bg-card);
  465. border-radius: 6px;
  466. border: 2px solid transparent;
  467. }
  468. .nozzle-group.active {
  469. border-color: var(--accent);
  470. }
  471. .nozzle-colors {
  472. display: flex;
  473. gap: 3px;
  474. }
  475. .nozzle-dot {
  476. width: 14px;
  477. height: 14px;
  478. border-radius: 3px;
  479. border: 1px solid rgba(255,255,255,0.2);
  480. }
  481. .nozzle-dot.empty {
  482. background: var(--bg-tertiary);
  483. border-style: dashed;
  484. }
  485. .nozzle-separator {
  486. display: flex;
  487. align-items: center;
  488. gap: 4px;
  489. color: var(--text-muted);
  490. font-size: 12px;
  491. }
  492. .ams-tabs {
  493. display: flex;
  494. gap: 6px;
  495. margin-bottom: 10px;
  496. }
  497. .ams-tab {
  498. display: flex;
  499. align-items: center;
  500. gap: 3px;
  501. padding: 5px 8px;
  502. background: var(--bg-card);
  503. border: 2px solid transparent;
  504. border-radius: 6px;
  505. cursor: pointer;
  506. }
  507. .ams-tab:hover {
  508. background: var(--bg-tertiary);
  509. }
  510. .ams-tab.active {
  511. border-color: var(--accent);
  512. }
  513. .ams-tab-dot {
  514. width: 10px;
  515. height: 10px;
  516. border-radius: 2px;
  517. border: 1px solid rgba(255,255,255,0.2);
  518. }
  519. .ams-tab-num {
  520. font-size: 10px;
  521. color: var(--text-secondary);
  522. margin-left: 2px;
  523. }
  524. /* AMS Slots Container */
  525. .ams-content {
  526. background: var(--bg-card);
  527. border-radius: 8px;
  528. padding: 10px;
  529. }
  530. .ams-header {
  531. display: flex;
  532. justify-content: space-between;
  533. align-items: center;
  534. margin-bottom: 10px;
  535. font-size: 11px;
  536. color: var(--text-secondary);
  537. }
  538. .ams-slots {
  539. display: flex;
  540. gap: 6px;
  541. justify-content: center;
  542. }
  543. /* AMS Slot - Bambu Studio Style */
  544. .ams-slot {
  545. width: 52px;
  546. cursor: pointer;
  547. border: 2px solid transparent;
  548. border-radius: 8px;
  549. overflow: hidden;
  550. transition: all 0.15s;
  551. background: var(--bg-secondary);
  552. }
  553. .ams-slot:hover {
  554. border-color: var(--text-muted);
  555. }
  556. .ams-slot.active {
  557. border-color: var(--accent);
  558. box-shadow: 0 0 0 1px var(--accent);
  559. }
  560. .ams-slot.empty {
  561. opacity: 0.4;
  562. }
  563. .ams-slot-color {
  564. height: 38px;
  565. position: relative;
  566. display: flex;
  567. align-items: flex-end;
  568. justify-content: center;
  569. padding-bottom: 4px;
  570. }
  571. .ams-slot-icon {
  572. width: 14px;
  573. height: 14px;
  574. opacity: 0.8;
  575. }
  576. .ams-slot-info {
  577. background: var(--bg-tertiary);
  578. padding: 4px;
  579. text-align: center;
  580. }
  581. .ams-slot-type {
  582. font-size: 10px;
  583. font-weight: 600;
  584. color: var(--text-primary);
  585. }
  586. .ams-slot-num {
  587. font-size: 8px;
  588. color: var(--text-muted);
  589. }
  590. /* External Spool Row */
  591. .ext-row {
  592. display: flex;
  593. align-items: center;
  594. gap: 8px;
  595. margin-top: 10px;
  596. }
  597. .ext-label {
  598. font-size: 11px;
  599. color: var(--text-secondary);
  600. width: 24px;
  601. }
  602. .ext-slot {
  603. width: 52px;
  604. height: 58px;
  605. background: var(--bg-secondary);
  606. border-radius: 8px;
  607. border: 2px solid transparent;
  608. display: flex;
  609. flex-direction: column;
  610. align-items: center;
  611. justify-content: center;
  612. cursor: pointer;
  613. font-size: 16px;
  614. color: var(--text-muted);
  615. }
  616. .ext-slot:hover {
  617. border-color: var(--text-muted);
  618. }
  619. .ext-slot-label {
  620. font-size: 8px;
  621. margin-top: 2px;
  622. }
  623. /* Spool Holder Graphic */
  624. .spool-holder {
  625. flex: 1;
  626. height: 58px;
  627. background: var(--bg-secondary);
  628. border-radius: 8px;
  629. display: flex;
  630. align-items: center;
  631. justify-content: center;
  632. position: relative;
  633. }
  634. .spool-holder svg {
  635. width: 80px;
  636. height: 50px;
  637. }
  638. /* AMS Buttons */
  639. .ams-buttons {
  640. display: flex;
  641. gap: 6px;
  642. margin-top: 10px;
  643. }
  644. .ams-btn {
  645. flex: 1;
  646. padding: 10px;
  647. border: none;
  648. border-radius: 6px;
  649. cursor: pointer;
  650. font-size: 12px;
  651. font-weight: 500;
  652. }
  653. .ams-btn.secondary {
  654. background: var(--bg-card);
  655. color: var(--text-primary);
  656. }
  657. .ams-btn.secondary:hover {
  658. background: var(--bg-tertiary);
  659. }
  660. .ams-btn.primary {
  661. background: var(--accent);
  662. color: white;
  663. }
  664. .ams-btn.primary:hover {
  665. background: var(--accent-hover);
  666. }
  667. /* AMS Animation Area */
  668. .ams-animation {
  669. flex: 1;
  670. min-height: 80px;
  671. margin-top: 10px;
  672. background: var(--bg-card);
  673. border-radius: 8px;
  674. display: flex;
  675. flex-direction: column;
  676. align-items: center;
  677. justify-content: center;
  678. gap: 8px;
  679. }
  680. .hub-graphic {
  681. display: flex;
  682. align-items: center;
  683. gap: 4px;
  684. }
  685. .hub-connector {
  686. width: 30px;
  687. height: 2px;
  688. background: var(--text-muted);
  689. }
  690. .hub-box {
  691. width: 50px;
  692. height: 20px;
  693. background: var(--bg-tertiary);
  694. border-radius: 3px;
  695. display: flex;
  696. align-items: center;
  697. justify-content: center;
  698. font-size: 9px;
  699. color: var(--text-muted);
  700. }
  701. .ams-status {
  702. font-size: 11px;
  703. color: var(--text-muted);
  704. }
  705. </style>
  706. </head>
  707. <body>
  708. <!-- Printer Tabs -->
  709. <div class="printer-tabs">
  710. <button class="printer-tab active">
  711. <span class="status-dot"></span>
  712. H2D-1
  713. <span class="status-badge">IDLE</span>
  714. </button>
  715. <button class="printer-tab">
  716. <span class="status-dot printing"></span>
  717. X1C-2
  718. </button>
  719. <button class="printer-tab">
  720. <span class="status-dot offline"></span>
  721. P1S-3
  722. </button>
  723. </div>
  724. <div class="main-content">
  725. <!-- Left: Camera + Progress -->
  726. <div class="left-column">
  727. <div class="camera-section">
  728. <div class="camera-controls">
  729. <button class="cam-btn">▶ Start</button>
  730. <button class="cam-btn">⛶ Fullscreen</button>
  731. </div>
  732. <span class="camera-placeholder">📷 Camera Feed</span>
  733. </div>
  734. <div class="print-progress">
  735. <div class="print-thumb">No Print</div>
  736. <div class="print-info">
  737. <div class="print-name">Idle</div>
  738. <div class="progress-bar"><div class="progress-fill"></div></div>
  739. <div class="print-stats">
  740. Layer: <span>--/--</span>
  741. Time: <span>--:--</span>
  742. Remaining: <span>--:--</span>
  743. </div>
  744. </div>
  745. <div class="print-btns">
  746. <button class="print-btn pause" disabled>⏸</button>
  747. <button class="print-btn stop" disabled>⏹</button>
  748. </div>
  749. </div>
  750. </div>
  751. <!-- Right: Control Panel -->
  752. <div class="control-panel">
  753. <!-- Temperature -->
  754. <div>
  755. <div class="section-label">Temperature</div>
  756. <div class="temp-grid">
  757. <div class="temp-item">
  758. <span class="temp-icon">🔥</span>
  759. <span style="font-size: 11px; color: var(--accent); margin-right: 2px;">L</span>
  760. <span class="temp-value">22</span>
  761. <span class="temp-target">/0°C</span>
  762. </div>
  763. <div class="temp-item">
  764. <span class="temp-icon">🔥</span>
  765. <span style="font-size: 11px; color: var(--accent); margin-right: 2px;">R</span>
  766. <span class="temp-value">21</span>
  767. <span class="temp-target">/0°C</span>
  768. </div>
  769. <div class="temp-item">
  770. <span class="temp-icon">🛏️</span>
  771. <span class="temp-value">21</span>
  772. <span class="temp-target">/0°C</span>
  773. </div>
  774. <div class="temp-item">
  775. <span class="temp-icon">📦</span>
  776. <span class="temp-value">21</span>
  777. <span class="temp-target">/0°C</span>
  778. </div>
  779. </div>
  780. <div class="quick-row" style="margin-top: 8px;">
  781. <button class="quick-btn">❄️ Fans</button>
  782. <button class="quick-btn active">💡 Lamp</button>
  783. <button class="quick-btn">🌀 Cool</button>
  784. </div>
  785. </div>
  786. <!-- Speed -->
  787. <div>
  788. <div class="section-label">Print Speed</div>
  789. <div class="speed-row">
  790. <button class="speed-btn">Silent</button>
  791. <button class="speed-btn active">Standard</button>
  792. <button class="speed-btn">Sport</button>
  793. <button class="speed-btn ludicrous">Ludicrous</button>
  794. </div>
  795. </div>
  796. <!-- Movement -->
  797. <div>
  798. <div class="section-label">Movement</div>
  799. <div class="movement-row">
  800. <!-- XY Jog -->
  801. <div class="jog-container">
  802. <div class="jog-ring">
  803. <div class="jog-quadrant top"><span class="jog-arrow">▲</span></div>
  804. <div class="jog-quadrant bottom"><span class="jog-arrow">▼</span></div>
  805. <div class="jog-quadrant left"><span class="jog-arrow">◀</span></div>
  806. <div class="jog-quadrant right"><span class="jog-arrow">▶</span></div>
  807. <button class="jog-home">
  808. <svg viewBox="0 0 24 24"><path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/></svg>
  809. </button>
  810. </div>
  811. </div>
  812. <!-- Z -->
  813. <div class="z-control">
  814. <button class="z-btn">▲</button>
  815. <span class="z-label">Z</span>
  816. <button class="z-btn">▼</button>
  817. </div>
  818. <!-- Steps -->
  819. <div class="step-col">
  820. <button class="step-btn">10mm</button>
  821. <button class="step-btn active">1mm</button>
  822. <button class="step-btn">0.1mm</button>
  823. </div>
  824. <!-- Extruder -->
  825. <div class="extruder-col">
  826. <div class="extruder-toggle">
  827. <button class="active">Left</button>
  828. <button>Right</button>
  829. </div>
  830. <div class="extruder-graphic">
  831. <svg viewBox="0 0 60 80">
  832. <!-- Filament tubes -->
  833. <path d="M20 0 L20 25 Q20 30 25 35 L25 50" stroke="#00ae42" stroke-width="3" fill="none"/>
  834. <path d="M40 0 L40 25 Q40 30 35 35 L35 50" stroke="#00ae42" stroke-width="3" fill="none"/>
  835. <!-- Extruder body -->
  836. <rect x="10" y="45" width="40" height="30" rx="4" fill="#4a4a4a"/>
  837. <!-- Nozzles -->
  838. <rect x="18" y="75" width="8" height="5" fill="#666"/>
  839. <rect x="34" y="75" width="8" height="5" fill="#666"/>
  840. <!-- Gears -->
  841. <circle cx="20" cy="55" r="6" fill="#555"/>
  842. <circle cx="40" cy="55" r="6" fill="#555"/>
  843. </svg>
  844. </div>
  845. <div class="extruder-btns">
  846. <button class="ext-btn">▲</button>
  847. <button class="ext-btn">▼</button>
  848. </div>
  849. </div>
  850. </div>
  851. </div>
  852. <!-- AMS -->
  853. <div class="ams-section">
  854. <div class="section-label">AMS</div>
  855. <!-- Nozzle Assignment Row (for dual nozzle printers) -->
  856. <div class="nozzle-assignment">
  857. <div class="nozzle-group">
  858. <div class="nozzle-colors">
  859. <div class="nozzle-dot" style="background: #FFD700;"></div>
  860. <div class="nozzle-dot" style="background: #8B4513;"></div>
  861. <div class="nozzle-dot" style="background: #1a1a1a;"></div>
  862. <div class="nozzle-dot" style="background: #222;"></div>
  863. </div>
  864. </div>
  865. <div class="nozzle-separator">
  866. <div class="nozzle-dot" style="background: #0066FF;"></div>
  867. <span>/</span>
  868. <div class="nozzle-dot" style="background: #FF0000;"></div>
  869. </div>
  870. <div class="nozzle-group right">
  871. <div class="nozzle-colors">
  872. <div class="nozzle-dot empty"></div>
  873. </div>
  874. </div>
  875. </div>
  876. <div class="ams-tabs">
  877. <div class="ams-tab active">
  878. <div class="ams-tab-dot" style="background: #FFD700;"></div>
  879. <div class="ams-tab-dot" style="background: #1a1a1a;"></div>
  880. <div class="ams-tab-dot" style="background: #8B4513;"></div>
  881. <div class="ams-tab-dot" style="background: #222;"></div>
  882. <span class="ams-tab-num">1</span>
  883. </div>
  884. <div class="ams-tab">
  885. <div class="ams-tab-dot" style="background: #FF0000;"></div>
  886. <div class="ams-tab-dot" style="background: #0066FF;"></div>
  887. <div class="ams-tab-dot" style="background: #3d3d3d;"></div>
  888. <div class="ams-tab-dot" style="background: #3d3d3d;"></div>
  889. <span class="ams-tab-num">2</span>
  890. </div>
  891. <div class="ams-tab">
  892. <div class="ams-tab-dot" style="background: #00FF00;"></div>
  893. <div class="ams-tab-dot" style="background: #FFF;"></div>
  894. <div class="ams-tab-dot" style="background: #FF69B4;"></div>
  895. <div class="ams-tab-dot" style="background: #9932CC;"></div>
  896. <span class="ams-tab-num">3</span>
  897. </div>
  898. </div>
  899. <div class="ams-content">
  900. <div class="ams-header">
  901. <span>AMS 1</span>
  902. <span>💧 18% · 🌡 24°C</span>
  903. </div>
  904. <div class="ams-slots">
  905. <div class="ams-slot active">
  906. <div class="ams-slot-color" style="background: linear-gradient(180deg, #FFD700 0%, #E6C200 100%);">
  907. <svg class="ams-slot-icon" viewBox="0 0 24 24" fill="rgba(0,0,0,0.5)">
  908. <circle cx="12" cy="12" r="8" stroke-width="2" fill="none" stroke="currentColor"/>
  909. <circle cx="12" cy="12" r="3"/>
  910. </svg>
  911. </div>
  912. <div class="ams-slot-info">
  913. <div class="ams-slot-type">PLA</div>
  914. <div class="ams-slot-num">A1</div>
  915. </div>
  916. </div>
  917. <div class="ams-slot">
  918. <div class="ams-slot-color" style="background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);">
  919. <svg class="ams-slot-icon" viewBox="0 0 24 24" fill="rgba(255,255,255,0.5)">
  920. <circle cx="12" cy="12" r="8" stroke-width="2" fill="none" stroke="currentColor"/>
  921. <circle cx="12" cy="12" r="3"/>
  922. </svg>
  923. </div>
  924. <div class="ams-slot-info">
  925. <div class="ams-slot-type">PETG</div>
  926. <div class="ams-slot-num">A2</div>
  927. </div>
  928. </div>
  929. <div class="ams-slot">
  930. <div class="ams-slot-color" style="background: linear-gradient(180deg, #8B4513 0%, #6B3510 100%);">
  931. <svg class="ams-slot-icon" viewBox="0 0 24 24" fill="rgba(255,255,255,0.5)">
  932. <circle cx="12" cy="12" r="8" stroke-width="2" fill="none" stroke="currentColor"/>
  933. <circle cx="12" cy="12" r="3"/>
  934. </svg>
  935. </div>
  936. <div class="ams-slot-info">
  937. <div class="ams-slot-type">PETG</div>
  938. <div class="ams-slot-num">A3</div>
  939. </div>
  940. </div>
  941. <div class="ams-slot">
  942. <div class="ams-slot-color" style="background: linear-gradient(180deg, #222 0%, #111 100%);">
  943. <svg class="ams-slot-icon" viewBox="0 0 24 24" fill="rgba(255,255,255,0.5)">
  944. <circle cx="12" cy="12" r="8" stroke-width="2" fill="none" stroke="currentColor"/>
  945. <circle cx="12" cy="12" r="3"/>
  946. </svg>
  947. </div>
  948. <div class="ams-slot-info">
  949. <div class="ams-slot-type">PLA</div>
  950. <div class="ams-slot-num">A4</div>
  951. </div>
  952. </div>
  953. </div>
  954. </div>
  955. <!-- External -->
  956. <div class="ext-row">
  957. <span class="ext-label">Ext</span>
  958. <div class="ext-slot">
  959. ?
  960. <span class="ext-slot-label">Spool</span>
  961. </div>
  962. <div class="spool-holder">
  963. <svg viewBox="0 0 100 60">
  964. <!-- Spool holder base -->
  965. <rect x="10" y="40" width="80" height="15" rx="3" fill="#4a4a4a"/>
  966. <!-- Spool -->
  967. <ellipse cx="50" cy="30" rx="25" ry="25" fill="#3a3a3a" stroke="#555" stroke-width="2"/>
  968. <ellipse cx="50" cy="30" rx="10" ry="10" fill="#2a2a2a"/>
  969. <ellipse cx="50" cy="30" rx="5" ry="5" fill="#00ae42"/>
  970. <!-- Filament coming out -->
  971. <path d="M75 30 Q85 30 90 25" stroke="#00ae42" stroke-width="2" fill="none"/>
  972. </svg>
  973. </div>
  974. </div>
  975. <!-- Buttons -->
  976. <div class="ams-buttons">
  977. <button class="ams-btn secondary">Unload</button>
  978. <button class="ams-btn primary">Load</button>
  979. </div>
  980. <!-- Animation Area -->
  981. <div class="ams-animation">
  982. <div class="hub-graphic">
  983. <div class="hub-connector"></div>
  984. <div class="hub-box">HUB</div>
  985. <div class="hub-connector"></div>
  986. </div>
  987. <div class="ams-status">Ready - Select a slot to load</div>
  988. </div>
  989. </div>
  990. </div>
  991. </div>
  992. </body>
  993. </html>