···11{{ define "banner" }}
22-<div class="px-6 py-2">
33- The following services that you administer will have to be upgraded to be compatible with the latest version of Tangled:
44- {{ if .Registrations }}
55- <ul class="list-disc mx-12 my-2">
66- {{range .Registrations}}
77- <li>{{ .Domain }}</li>
88- {{ end }}
99- </ul>
1010- Repositories hosted on these knots may not be accessible until upgraded.
1111- {{ end }}
22+<div class="flex items-center justify-center mx-auto w-full bg-red-100 dark:bg-red-900 border border-red-200 dark:border-red-800 rounded-b drop-shadow-sm text-red-800 dark:text-red-200">
33+ <details class="group p-2">
44+ <summary class="list-none cursor-pointer">
55+ <div class="flex gap-4 items-center">
66+ <span class="group-open:hidden inline">{{ i "triangle-alert" "w-4 h-4" }}</span>
77+ <span class="hidden group-open:inline">{{ i "x" "w-4 h-4" }}</span>
88+99+ <span class="group-open:hidden inline">Some services that you administer require an update. Click to show more.</span>
1010+ <span class="hidden group-open:inline">Some services that you administer will have to be updated to be compatible with Tangled.</span>
1111+ </div>
1212+ </summary>
1313+1414+ {{ if .Registrations }}
1515+ <ul class="list-disc mx-12 my-2">
1616+ {{range .Registrations}}
1717+ <li>Knot: {{ .Domain }}</li>
1818+ {{ end }}
1919+ </ul>
2020+ {{ end }}
2121+2222+ {{ if .Spindles }}
2323+ <ul class="list-disc mx-12 my-2">
2424+ {{range .Spindles}}
2525+ <li>Spindle: {{ .Instance }}</li>
2626+ {{ end }}
2727+ </ul>
2828+ {{ end }}
12291313- {{ if .Spindles }}
1414- <ul class="list-disc mx-12 my-2">
1515- {{range .Spindles}}
1616- <li>{{ .Instance }}</li>
1717- {{ end }}
1818- </ul>
1919- Pipelines may not be executed on these spindles until upgraded.
2020- {{ end }}
2121- <a href="https://tangled.sh/@tangled.sh/core/tree/master/docs/migrations/">Click to read the upgrade guide</a>.
3030+ <div class="mx-6">
3131+ These services may not be fully accessible until upgraded.
3232+ <a class="underline text-red-800 dark:text-red-200"
3333+ href="https://tangled.sh/@tangled.sh/core/tree/master/docs/migrations/">
3434+ Click to read the upgrade guide</a>.
3535+ </div>
3636+ </details>
2237</div>
2338{{ end }}