55 lines
1.7 KiB
HTML
55 lines
1.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>WWCompanion Settings</title>
|
|
<link rel="stylesheet" href="settings.css" />
|
|
</head>
|
|
<body>
|
|
<header class="title-block">
|
|
<div class="title">WWCompanion Settings</div>
|
|
<div class="subtitle">Configure prompts, resume, and API access</div>
|
|
</header>
|
|
|
|
<section class="panel">
|
|
<div class="row">
|
|
<h2>OpenAI</h2>
|
|
<button id="saveBtn" class="accent">Save Settings</button>
|
|
</div>
|
|
<div class="field">
|
|
<label for="apiKey">API Key</label>
|
|
<div class="inline">
|
|
<input id="apiKey" type="password" autocomplete="off" placeholder="sk-..." />
|
|
<button id="toggleKey" class="ghost" type="button">Show</button>
|
|
</div>
|
|
</div>
|
|
<div class="field">
|
|
<label for="model">Model name</label>
|
|
<input id="model" type="text" placeholder="gpt-4o-mini" />
|
|
</div>
|
|
<div id="status" class="status"></div>
|
|
</section>
|
|
|
|
<section class="panel">
|
|
<h2>System Prompt</h2>
|
|
<textarea id="systemPrompt" rows="8" placeholder="Define tone and standards..."></textarea>
|
|
</section>
|
|
|
|
<section class="panel">
|
|
<h2>Resume</h2>
|
|
<textarea id="resume" rows="10" placeholder="Paste your resume text..."></textarea>
|
|
</section>
|
|
|
|
<section class="panel">
|
|
<div class="row">
|
|
<h2>Task Presets</h2>
|
|
<button id="addTaskBtn" class="ghost" type="button">Add Task</button>
|
|
</div>
|
|
<div id="tasks" class="tasks"></div>
|
|
</section>
|
|
|
|
<script src="settings.js"></script>
|
|
</body>
|
|
</html>
|