this repo has no description
1<html>
2 {{ template "layouts/head" . }}
3
4 <body>
5 <main>
6 <form>
7 <p>
8 Give your key a name and paste your
9 <strong>public</strong> key here. This is what you'll use to
10 push to your Git repository.
11 </p>
12 <div id="keys"></div>
13 <div>
14 <input
15 type="text"
16 id="name"
17 name="name"
18 placeholder="my laptop"
19 />
20 <input
21 type="text"
22 id="public_key"
23 name="key"
24 placeholder="ssh-ed25519 AAABBBHUNTER2..."
25 />
26 </div>
27 <button hx-put="/settings/keys" hx-swap="none" type="submit">
28 Submit
29 </button>
30 </form>
31 <table>
32 <thead>
33 <tr>
34 <th>Key</th>
35 <th>Name</th>
36 <th>Created</th>
37 </tr>
38 </thead>
39 <tbody>
40 {{ range .keys }}
41 <tr>
42 <td>{{ .Name }}</td>
43 <td>{{ .Created }}</td>
44 <td>{{ .Key }}</td>
45 </tr>
46 {{ end }}
47 </tbody>
48 </table>
49 </main>
50 </body>
51</html>