index.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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>Email Drop Parser</title>
  7. <link rel="stylesheet" href="./styles.css" />
  8. </head>
  9. <body>
  10. <main class="container">
  11. <h1>Email Drop Parser</h1>
  12. <p class="subtitle">
  13. Drag an email file from Thunderbird onto the drop zone. This page expects
  14. a saved <code>.eml</code> message.
  15. </p>
  16. <section id="dropZone" class="drop-zone" aria-label="Email drop zone">
  17. <p><strong>Drop email here</strong></p>
  18. <p class="hint">Supports .eml files</p>
  19. </section>
  20. <section class="fields">
  21. <h2>Parsed Fields</h2>
  22. <dl id="fieldList"></dl>
  23. </section>
  24. <section class="body-grid">
  25. <article>
  26. <h3>Text Body</h3>
  27. <pre id="textBody" class="body-box empty">No text body parsed yet.</pre>
  28. </article>
  29. <article>
  30. <h3>HTML Body (raw)</h3>
  31. <pre id="htmlBody" class="body-box empty">No HTML body parsed yet.</pre>
  32. </article>
  33. </section>
  34. <section class="raw-message">
  35. <h3>Raw Message</h3>
  36. <pre id="rawPreview" class="body-box empty">Drop an email to preview raw content.</pre>
  37. </section>
  38. </main>
  39. <script type="module" src="./app.js"></script>
  40. </body>
  41. </html>