this repo has no description
1{{ define "title" }}fork · {{ .RepoInfo.FullName }}{{ end }}
2
3{{ define "content" }}
4 <div class="p-6">
5 <p class="text-xl font-bold dark:text-white">
6 Fork {{ .RepoInfo.FullName }}
7 </p>
8 </div>
9 <div class="p-6 bg-white dark:bg-gray-800 drop-shadow-sm rounded">
10 <form
11 hx-post="/{{ .RepoInfo.FullName }}/fork"
12 class="space-y-12"
13 hx-swap="none">
14 <fieldset class="space-y-3">
15 <legend class="dark:text-white">Select a knot to fork into</legend>
16 <div class="space-y-2">
17 <div class="flex flex-col">
18 {{ range .Knots }}
19 <div class="flex items-center">
20 <input
21 type="radio"
22 name="knot"
23 value="{{ . }}"
24 class="mr-2"
25 id="domain-{{ . }}" />
26 <span class="dark:text-white">{{ . }}</span>
27 </div>
28 {{ else }}
29 <p class="dark:text-white">No knots available.</p>
30 {{ end }}
31 </div>
32 </div>
33 <p class="text-sm text-gray-500 dark:text-gray-400">
34 A knot hosts repository data.
35 <a href="/knots" class="underline">
36 Learn how to register your own knot.
37 </a>
38 </p>
39 </fieldset>
40
41 <div class="space-y-2">
42 <button type="submit" class="btn">fork repo</button>
43 <div id="repo" class="error"></div>
44 </div>
45 </form>
46 </div>
47{{ end }}