1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<template>
<form class="login">
<input name="handle" placeholder="you.bsky.social" required>
<button>Sign in</button>
</form>
<section class="signed-in">
<p><span class="who"></span> <button type="button" class="logout secondary outline">Sign out</button></p>
<form class="create">
<h2>Create a repository</h2>
<input name="name" placeholder="name" required>
<input name="description" placeholder="description">
<input name="defaultBranch" placeholder="default branch (main)">
<button>Create</button>
</form>
<form class="commit">
<h2>Commit</h2>
<input name="name" placeholder="repository" required>
<input name="branch" value="main" required>
<input name="parent" placeholder="parent branch, for a new branch">
<input name="message" placeholder="message" required>
<input name="author" placeholder="Name <email> (optional)">
<textarea name="changes" rows="8" required>[{"path": "README.md", "content": "# hello\n"}]</textarea>
<small>A JSON list of {"path", "content"}, {"path", "patch"} (a unified diff of that file) or {"path", "delete": true}.</small>
<button>Commit</button>
</form>
</section>
<pre class="out"></pre>
</template>