init
This commit is contained in:
commit
4f6d7cfe60
16 changed files with 1341 additions and 0 deletions
35
templates/dashboard.html
Normal file
35
templates/dashboard.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">
|
||||
<title>{{.Title}}</title>
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<section class="hero compact">
|
||||
<p class="badge">Account</p>
|
||||
<h1>Welcome {{.UserEmail}}</h1>
|
||||
<p class="lead">Manage your listed skills and purchased skills.</p>
|
||||
<div class="actions">
|
||||
<a class="btn primary" href="/skills">Browse Skills</a>
|
||||
<a class="btn" href="/my-skills">My Purchases</a>
|
||||
</div>
|
||||
</section>
|
||||
<section class="panel">
|
||||
<h2>Upload a skill</h2>
|
||||
<form id="upload-form" class="form-grid">
|
||||
<label>Title<input name="title" required></label>
|
||||
<label>Price (cents)<input name="price_cents" type="number" min="0" required></label>
|
||||
<label class="full">Description<textarea name="description" rows="4" required></textarea></label>
|
||||
<label class="full">Skill file<input name="skill_file" type="file" required></label>
|
||||
<button class="btn primary" type="submit">Publish Skill</button>
|
||||
</form>
|
||||
<p id="upload-status" class="hint"></p>
|
||||
</section>
|
||||
</main>
|
||||
<script src="/static/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
23
templates/home.html
Normal file
23
templates/home.html
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{.Title}}</title>
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<section class="hero">
|
||||
<p class="badge">LLM Skill Marketplace</p>
|
||||
<h1>Sell, buy, and reuse high quality LLM skills</h1>
|
||||
<p class="lead">Upload your prompt packages, automations, and reusable skill bundles. Other users can purchase them and copy directly into their own workspace.</p>
|
||||
<div class="actions">
|
||||
<a class="btn primary" href="/dashboard">Open Dashboard</a>
|
||||
</div>
|
||||
<p class="hint">Authentication uses your external OIDC provider token via Authorization header.</p>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
26
templates/my_skills.html
Normal file
26
templates/my_skills.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{.Title}}</title>
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<section class="hero compact">
|
||||
<p class="badge">Library</p>
|
||||
<h1>Your purchased skills</h1>
|
||||
<div class="actions">
|
||||
<a class="btn" href="/dashboard">Back to Dashboard</a>
|
||||
<a class="btn" href="/skills">Browse More Skills</a>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<div id="my-skill-grid" class="card-grid"></div>
|
||||
</section>
|
||||
</main>
|
||||
<script src="/static/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
22
templates/purchase.html
Normal file
22
templates/purchase.html
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{.Title}}</title>
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<section class="hero compact">
|
||||
<p class="badge">Purchase</p>
|
||||
<h1>Purchase completed</h1>
|
||||
<p class="lead">Your skill is now saved in your account. You can copy or download it from your purchased skills page.</p>
|
||||
<div class="actions">
|
||||
<a class="btn primary" href="/my-skills">Open My Purchases</a>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
26
templates/skills.html
Normal file
26
templates/skills.html
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{.Title}}</title>
|
||||
<link rel="stylesheet" href="/static/styles.css">
|
||||
</head>
|
||||
<body>
|
||||
<main class="shell">
|
||||
<section class="hero compact">
|
||||
<p class="badge">Marketplace</p>
|
||||
<h1>Browse LLM skills</h1>
|
||||
<div class="actions">
|
||||
<a class="btn" href="/dashboard">Back to Dashboard</a>
|
||||
<a class="btn" href="/my-skills">My Purchases</a>
|
||||
</div>
|
||||
</section>
|
||||
<section>
|
||||
<div id="skill-grid" class="card-grid"></div>
|
||||
</section>
|
||||
</main>
|
||||
<script src="/static/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue