CareerBot/templates/admin/skills.html
ln0422 96997daed0 Initial commit: CareerBot full-stack career showcase with AI chatbot
- FastAPI backend with SQLAlchemy ORM and SQLite
- AI chatbot with OpenAI-compatible LLM integration (SSE streaming)
- Admin panel for content management, LLM config, token management
- Anonymous access with 3-question limit, token-based access control
- Recruiter intent detection with admin notification
- Resume generator (JD-based, Markdown to Word export)
- Chinese localized public interface

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 20:36:38 +08:00

58 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CareerBot Admin - Skills</title>
<link rel="stylesheet" href="/static/css/style.css">
</head>
<body>
<div class="admin-layout">
<aside class="admin-sidebar">
<div class="logo">CareerBot Admin</div>
<nav>
<a href="/admin/dashboard"><span class="icon">&#9632;</span> Dashboard</a>
<a href="/admin/profile"><span class="icon">&#9786;</span> Profile</a>
<a href="/admin/education"><span class="icon">&#9734;</span> Education</a>
<a href="/admin/experience"><span class="icon">&#9998;</span> Experience</a>
<a href="/admin/skills"><span class="icon">&#9733;</span> Skills</a>
<a href="/admin/tokens"><span class="icon">&#9911;</span> Access Tokens</a>
<a href="/admin/messages"><span class="icon">&#9993;</span> Messages <span class="nav-badge" id="nav-badge" style="display:none;"></span></a>
<a href="/admin/llm-config"><span class="icon">&#9881;</span> LLM Config</a>
<a href="/admin/resume"><span class="icon">&#9997;</span> Resume Gen</a>
<a href="#" onclick="adminLogout()"><span class="icon">&#8594;</span> Logout</a>
</nav>
</aside>
<main class="admin-content">
<div class="admin-header">
<h2>Skills & Highlights</h2>
<button class="btn btn-primary" onclick="showSkillModal()">+ Add New</button>
</div>
<div class="admin-card">
<table class="data-table">
<thead><tr><th>Category</th><th>Content</th><th>Actions</th></tr></thead>
<tbody id="skills-tbody"></tbody>
</table>
</div>
</main>
</div>
<!-- Modal -->
<div class="modal-overlay" id="skill-modal">
<div class="modal">
<h3>Skill Entry</h3>
<input type="hidden" id="skill-id">
<div class="form-group"><label>Category</label><input type="text" id="skill-category" placeholder="e.g. AI, Management"></div>
<div class="form-group"><label>Content</label><textarea id="skill-content" rows="4"></textarea></div>
<div class="form-group"><label>Sort Order</label><input type="number" id="skill-sort_order" value="0"></div>
<div class="modal-actions">
<button class="btn" onclick="closeModal('skill-modal')">Cancel</button>
<button class="btn btn-primary" onclick="saveSkill()">Save</button>
</div>
</div>
</div>
<script src="/static/js/admin.js"></script>
</body>
</html>