Monorepo for Tangled
1{{ define "repo/pipelines/fragments/pipelineSymbolLong" }}
2 {{ $pipeline := .Pipeline }}
3 {{ $repoinfo := .RepoInfo }}
4 {{ $popoverId := printf "pipeline-status-%d" $pipeline.Id }}
5
6 <div class="relative inline-block">
7 <button
8 type="button"
9 popovertarget="{{ $popoverId }}"
10 popovertargetaction="toggle"
11 class="cursor-pointer"
12 >
13 {{ template "repo/pipelines/fragments/pipelineSymbol" (dict "Pipeline" $pipeline "ShortSummary" true) }}
14 </button>
15
16 <div
17 id="{{ $popoverId }}"
18 popover
19 class="bg-white dark:bg-gray-900 text-black dark:text-white backdrop:bg-gray-400/50 dark:backdrop:bg-gray-800/50 w-80 rounded shadow-sm p-2 [position:fixed] [inset:0] [margin:auto] [max-height:fit-content]"
20 >
21 {{ template "repo/pipelines/fragments/tooltip" $ }}
22 </div>
23 </div>
24{{ end }}