80 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			80 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!-- head --><!DOCTYPE html>
 | |
| <html lang="en">
 | |
| <head>
 | |
|     <meta charset="UTF-8">
 | |
|     <meta name="viewport" content="width=device-width, initial-scale=1.0">
 | |
|     <title>FilaMan - Filament Management Tool</title>
 | |
|     <link rel="icon" type="image/png" href="/favicon.ico">
 | |
|     <link rel="stylesheet" href="style.css">
 | |
|     <script>
 | |
|         fetch('/api/version')
 | |
|             .then(response => response.json())
 | |
|             .then(data => {
 | |
|                 const versionSpan = document.querySelector('.version');
 | |
|                 if (versionSpan) {
 | |
|                     versionSpan.textContent = 'v' + data.version;
 | |
|                 }
 | |
|             })
 | |
|             .catch(error => console.error('Error fetching version:', error));
 | |
|     </script>
 | |
| </head>
 | |
| <body>
 | |
|     <div class="navbar">
 | |
|         <div style="display: flex; align-items: center; gap: 2rem;">
 | |
|             <img src="/logo.png" alt="FilaMan Logo" class="logo">
 | |
|             <div class="logo-text">
 | |
|                 <h1>FilaMan<span class="version"></span></h1>
 | |
|                 <h4>Filament Management Tool</h4>
 | |
|             </div>
 | |
|         </div>
 | |
|         <nav style="display: flex; gap: 1rem;">
 | |
|             <a href="/">Start</a>
 | |
|             <a href="/waage">Scale</a>
 | |
|             <a href="/spoolman">Spoolman/Bambu</a>
 | |
|             <a href="/about">About</a>
 | |
|             <a href="/upgrade">Upgrade</a>
 | |
|         </nav>
 | |
|         <div class="status-container">
 | |
|             <div class="status-item">
 | |
|                 <span class="status-dot" id="bambuDot"></span>B
 | |
|             </div>
 | |
|             <div class="status-item">
 | |
|                 <span class="status-dot" id="spoolmanDot"></span>S
 | |
|             </div>
 | |
|             <div class="ram-status" id="ramStatus"></div>
 | |
|         </div>
 | |
|     </div>
 | |
| 
 | |
| <!-- head -->
 | |
| 
 | |
|     <div class="content">
 | |
|         <h1>FilaMan</h1>
 | |
|         <p>Filament Management Tool</p>
 | |
|         <p>Your smart solution for <strong>Filament Management</strong> in 3D printing.</p>
 | |
| 
 | |
|         <h2>About FilaMan</h2>
 | |
|         <p>
 | |
|             FilaMan is a tool designed to simplify filament spool management. It allows you to identify and weigh filament spools, 
 | |
|             automatically sync data with the self-hosted <a href="https://github.com/Donkie/Spoolman" target="_blank">Spoolman</a> platform.
 | |
|         </p>
 | |
| 
 | |
|         <p>Get more information at <a href="https://www.filaman.app" target="_blank">https://www.filaman.app</a> and <a href="https://github.com/ManuelW77/Filaman" target="_blank">https://github.com/ManuelW77/Filaman</a>.</p>
 | |
| 
 | |
|         <div class="features">
 | |
|             <div class="feature">
 | |
|                 <h3>Spool Identification</h3>
 | |
|                 <p>Easily identify filament spools using NFC tags (NTag215 or larger).</p>
 | |
|             </div>
 | |
|             <div class="feature">
 | |
|                 <h3>Automatic Syncing</h3>
 | |
|                 <p>Seamlessly update spool data with Spoolman for accurate tracking.</p>
 | |
|             </div>
 | |
|             <div class="feature">
 | |
|                 <h3>OpenSpool Compatibility</h3>
 | |
|                 <p>Works with OpenSpool to recognize and activate spools on Bambu printers.</p>
 | |
|             </div>
 | |
|         </div>
 | |
|     </div>
 | |
| </body>
 | |
| </html>
 |