aurask/protal/index.html

50 lines
1.8 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Aurask User Protal</title>
<link rel="stylesheet" href="./styles.css" />
</head>
<body>
<main class="shell">
<section class="hero">
<p class="eyebrow">Aurask User Protal</p>
<h1>Launch safe AI employee workflows</h1>
<p>Bootstrap a tenant, create a knowledge workspace, and run an approved template through the Aurask gateway.</p>
</section>
<section class="card">
<h2>Connection</h2>
<label>API Base URL <input id="apiBase" value="http://127.0.0.1:8080" /></label>
<label>API Key <input id="apiKey" placeholder="Bootstrap to fill automatically" /></label>
<button id="bootstrapBtn">Bootstrap Demo</button>
</section>
<section class="grid">
<div class="card">
<h2>Quota</h2>
<button id="quotaBtn">Load Quota</button>
<pre id="quotaOutput"></pre>
</div>
<div class="card">
<h2>Workspace</h2>
<label>Name <input id="workspaceName" value="Support KB" /></label>
<button id="workspaceBtn">Create Workspace</button>
<pre id="workspaceOutput"></pre>
</div>
</section>
<section class="card">
<h2>Run Template</h2>
<label>Template ID <input id="templateId" value="tpl_email_assistant" /></label>
<label>Workspace ID <input id="workspaceId" placeholder="Required for RAG templates" /></label>
<label>Prompt <textarea id="prompt">Draft a friendly refund policy reply.</textarea></label>
<button id="runBtn">Run Workflow</button>
<pre id="runOutput"></pre>
</section>
</main>
<script src="./main.js"></script>
</body>
</html>