forked from tangled.org/core
this repo has no description
1{{ define "title" }}issues | {{ .RepoInfo.FullName }}{{ end }} 2 3{{ define "repoContent" }} 4 <div class="flex justify-between items-center"> 5 <h1 class="m-0">issues</h1> 6 <div class="error" id="issues"></div> 7 <a 8 href="/{{ .RepoInfo.FullName }}/issues/new" 9 class="btn flex items-center gap-2 no-underline" 10 > 11 <i data-lucide="square-plus" class="w-5 h-5"></i> 12 <span>new issue</span> 13 </a> 14 </div> 15 16 <section id="issues" class="mt-8 space-y-4"> 17 {{ range .Issues }} 18 <div class="border border-gray-200 p-4"> 19 <time class="float-right text-sm"> 20 {{ .Created | timeFmt }} 21 </time> 22 <div class="flex items-center gap-2 py-2"> 23 {{ if .Open }} 24 <i 25 data-lucide="circle-dot" 26 class="w-4 h-4 text-green-600" 27 ></i> 28 {{ else }} 29 <i data-lucide="ban" class="w-4 h-4 text-red-600"></i> 30 {{ end }} 31 <a 32 href="/{{ $.RepoInfo.FullName }}/issues/{{ .IssueId }}" 33 class="no-underline hover:underline" 34 > 35 {{ .Title }} 36 </a> 37 </div> 38 <div class="text-sm flex gap-2 text-gray-400"> 39 <span>#{{ .IssueId }}</span> 40 <span class="before:content-['·']"> 41 opened by 42 {{ .OwnerDid }} 43 </span> 44 </div> 45 </div> 46 {{ end }} 47 </section> 48{{ end }}