35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
<!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>
|
|
<a class="btn" href="/auth/logout">Logout</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>
|