this repo has no description
1{{ define "title" }} 2 interdiff of round #{{ .Round }} and #{{ sub .Round 1 }} &middot; pull 3 #{{ .Pull.PullId }} &middot; 4 {{ .RepoInfo.FullName }} 5{{ end }} 6 7{{ define "extrameta" }} 8 {{ $title := printf "interdiff of %d and %d &middot; %s &middot; pull #%d &middot; %s" .Round (sub .Round 1) .Pull.Title .Pull.PullId .RepoInfo.FullName }} 9 {{ $url := printf "https://tangled.sh/%s/pulls/%d/round/%d" .RepoInfo.FullName .Pull.PullId .Round }} 10 11 {{ template "repo/fragments/og" (dict "RepoInfo" .RepoInfo "Title" (unescapeHtml $title) "Url" $url) }} 12{{ end }} 13 14{{ define "content" }} 15 <section 16 class="rounded drop-shadow-sm bg-white dark:bg-gray-800 py-4 px-6 dark:text-white"> 17 <header class="pb-2"> 18 <div class="flex gap-3 items-center mb-3"> 19 <a 20 href="/{{ .RepoInfo.FullName }}/pulls/{{ .Pull.PullId }}/" 21 class="flex items-center gap-2 font-medium"> 22 {{ i "arrow-left" "w-5 h-5" }} 23 back 24 </a> 25 <span class="select-none before:content-['\00B7']"></span> 26 interdiff of round #{{ .Round }} and 27 #{{ sub .Round 1 }} 28 </div> 29 <div class="border-t border-gray-200 dark:border-gray-700 my-2"></div> 30 {{ template "repo/pulls/fragments/pullHeader" . }} 31 </header> 32 </section> 33{{ end }} 34 35{{ define "topbarLayout" }} 36 <header class="px-1 col-span-full" style="z-index: 20;"> 37 {{ template "layouts/topbar" . }} 38 </header> 39{{ end }} 40 41{{ define "mainLayout" }} 42 <div class="px-1 col-span-full flex flex-col gap-4"> 43 {{ block "contentLayout" . }} 44 {{ block "content" . }}{{ end }} 45 {{ end }} 46 47 {{ block "contentAfterLayout" . }} 48 <div class="flex-grow grid grid-cols-1 md:grid-cols-12 gap-4"> 49 <div class="flex flex-col gap-4 col-span-1 md:col-span-2"> 50 {{ block "contentAfterLeft" . }}{{ end }} 51 </div> 52 <main class="col-span-1 md:col-span-10"> 53 {{ block "contentAfter" . }}{{ end }} 54 </main> 55 </div> 56 {{ end }} 57 </div> 58{{ end }} 59 60{{ define "footerLayout" }} 61 <footer class="px-1 col-span-full mt-12"> 62 {{ template "layouts/footer" . }} 63 </footer> 64{{ end }} 65 66{{ define "contentAfter" }} 67 {{ template "repo/fragments/interdiff" (list .RepoInfo.FullName .Interdiff .DiffOpts) }} 68{{ end }} 69 70{{ define "contentAfterLeft" }} 71 <div class="flex flex-col gap-4 col-span-1 md:col-span-2"> 72 {{ template "repo/fragments/diffOpts" .DiffOpts }} 73 </div> 74 <div class="sticky top-0 flex-grow max-h-screen"> 75 {{ template "repo/fragments/interdiffFiles" .Interdiff }} 76 </div> 77{{ end }}