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