53 lines
2.1 KiB
HTML
53 lines
2.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>TraderAI</title>
|
|
<link rel="stylesheet" href="/static/styles.css">
|
|
</head>
|
|
<body>
|
|
<main class="shell">
|
|
<section class="workspace">
|
|
<header class="topbar">
|
|
<div>
|
|
<h1>TraderAI</h1>
|
|
<p>Local Ollama chat for UEX marketplace work</p>
|
|
</div>
|
|
<div class="status" id="status">Ready</div>
|
|
</header>
|
|
<div class="warning" id="warning" hidden></div>
|
|
<div class="messages" id="messages"></div>
|
|
<div class="composer-wrap">
|
|
<form class="composer" id="chat-form">
|
|
<textarea id="message-input" rows="2" placeholder="Search listings, draft a reply, prepare an offer..."></textarea>
|
|
<button type="submit">Send</button>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
<aside class="actions">
|
|
<section class="side-section">
|
|
<h2>Pending Approval</h2>
|
|
<div id="pending-actions" class="pending-empty">No pending actions</div>
|
|
</section>
|
|
<section class="side-section">
|
|
<div class="section-title-row">
|
|
<h2>Memory</h2>
|
|
<button class="secondary small-button" id="memory-refresh" type="button">Refresh</button>
|
|
</div>
|
|
<div class="memory-controls">
|
|
<label><input type="checkbox" id="clear-memories" checked> Memories</label>
|
|
<label><input type="checkbox" id="clear-conversations" checked> Chat</label>
|
|
<label><input type="checkbox" id="clear-outbox" checked> Notices</label>
|
|
<label><input type="checkbox" id="clear-profile"> Profile</label>
|
|
<label><input type="checkbox" id="clear-jobs"> Jobs</label>
|
|
</div>
|
|
<button class="danger-button" id="memory-clear" type="button">Clear Selected</button>
|
|
<div id="memory-inspector" class="memory-inspector"></div>
|
|
</section>
|
|
</aside>
|
|
</main>
|
|
<script src="/static/app.js"></script>
|
|
</body>
|
|
</html>
|