| 12345678910111213141516171819202122232425 |
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Instant BOM Assistant — Category Inference Test</title>
- <script src="https://unpkg.com/htmx.org@1.9.12"></script>
- <style>
- body { font-family: system-ui, sans-serif; max-width: 960px; margin: 2rem auto; padding: 0 1rem; }
- table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
- th, td { text-align: left; padding: 0.4rem 0.6rem; border-bottom: 1px solid #ddd; vertical-align: top; }
- button { cursor: pointer; }
- .candidates { list-style: none; padding: 0; margin: 0; }
- .candidates li { font-size: 0.85rem; }
- .state { font-size: 0.75rem; color: #666; text-transform: uppercase; }
- </style>
- </head>
- <body>
- <h1>Category Inference Test</h1>
- <form hx-post="/upload" hx-target="#rows" hx-encoding="multipart/form-data">
- <input type="file" name="file" accept=".csv,.xlsx,.xls" required>
- <button type="submit">Upload BOM</button>
- </form>
- <div id="rows"></div>
- </body>
- </html>
|