control-page-v6.html 29 KB

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