87 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			87 lines
		
	
	
		
			3.2 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>Hollo Lollo Trollo</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>
 | 
						|
</body>
 | 
						|
</html>
 | 
						|
 | 
						|
<!-- head -->
 | 
						|
 | 
						|
    <div class="container">
 | 
						|
        <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, 
 | 
						|
            and ensure compatibility with <a href="https://github.com/spuder/OpenSpool" target="_blank">OpenSpool</a> for Bambu printers.
 | 
						|
        </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>
 | 
						|
 | 
						|
        <h2>Future Plans</h2>
 | 
						|
        <p>
 | 
						|
            We are working on expanding compatibility to support smaller NFC tags like NTag213 
 | 
						|
            and developing custom software to enhance the OpenSpool experience.
 | 
						|
        </p>
 | 
						|
    </div>
 | 
						|
</body>
 | 
						|
</html>
 |