feat: Implement AI classification and Web UI, refactor to IMAP
This commit is contained in:
35
web/index.html
Normal file
35
web/index.html
Normal file
@@ -0,0 +1,35 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>AI Mail Manager - Rule Editor</title>
|
||||
<link rel="stylesheet" href="/static/style.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1>Mail Processing Rule Editor</h1>
|
||||
<p>Edit the rules in JSON format below. Click 'Save Rules' to apply them.</p>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="editor-container">
|
||||
<textarea id="rules-editor" spellcheck="false"></textarea>
|
||||
</div>
|
||||
<div class="actions">
|
||||
<button id="save-button">Save Rules</button>
|
||||
<button id="run-button">Run Processing Now</button>
|
||||
</div>
|
||||
<div id="status-message"></div>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>AI Mail Server</p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="/static/script.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user