this repo has no description
1{{ define "fragments/pullCompareBranches" }}
2
3<div id="patch-upload">
4 <label for="targetBranch" class="dark:text-white">configure branches</label>
5 <div class="flex flex-wrap gap-2 items-center">
6 <select
7 required
8 name="targetBranch"
9 class="p-1 border border-gray-200 bg-white dark:bg-gray-700 dark:text-white dark:border-gray-600"
10 >
11 <option disabled selected>target branch</option>
12 {{ range .Branches }}
13 <option value="{{ .Reference.Name }}" class="py-1">
14 {{ .Reference.Name }}
15 </option>
16 {{ end }}
17 </select>
18
19 {{ i "move-left" "w-5 h-5" }}
20
21 <select
22 name="sourceBranch"
23 class="p-1 border border-gray-200 bg-white dark:bg-gray-700 dark:text-white dark:border-gray-600"
24 >
25 <option disabled selected>source branch</option>
26 {{ range .Branches }}
27 <option value="{{ .Reference.Name }}" class="py-1">
28 {{ .Reference.Name }}
29 </option>
30 {{ end }}
31 </select>
32 </div>
33
34</div>
35{{ end }}