forked from tangled.org/core
this repo has no description

*.html: format with prettier (again)

I guess it's not idempotent in some cases? Looks like it's happy with
these, though, as rerunning it after this commit produces no changes.

Hopefully this is a one time thing...

Signed-off-by: Winter <winter@winter.cafe>

Changed files
+36 -18
appview
+2 -1
appview/pages/templates/repo/blob.html
···
{{ define "title" }}
-
{{ .Path }} at {{ .Ref }} &middot; {{ .RepoInfo.FullName }}
{{ end }}
{{ define "extrameta" }}
···
{{ define "title" }}
+
{{ .Path }} at {{ .Ref }} &middot;
+
{{ .RepoInfo.FullName }}
{{ end }}
{{ define "extrameta" }}
+2 -1
appview/pages/templates/repo/commit.html
···
{{ define "title" }}
-
commit {{ .Diff.Commit.This }} &middot; {{ .RepoInfo.FullName }}
{{ end }}
{{ define "extrameta" }}
···
{{ define "title" }}
+
commit {{ .Diff.Commit.This }} &middot;
+
{{ .RepoInfo.FullName }}
{{ end }}
{{ define "extrameta" }}
+2 -1
appview/pages/templates/repo/fork.html
···
{{ define "content" }}
<div class="p-6">
<p class="text-xl font-bold dark:text-white">
-
Fork {{ .RepoInfo.FullName }}
</p>
</div>
<div class="p-6 bg-white dark:bg-gray-800 drop-shadow-sm rounded">
···
{{ define "content" }}
<div class="p-6">
<p class="text-xl font-bold dark:text-white">
+
Fork
+
{{ .RepoInfo.FullName }}
</p>
</div>
<div class="p-6 bg-white dark:bg-gray-800 drop-shadow-sm rounded">
+2 -1
appview/pages/templates/repo/issues/issues.html
···
<a
href="/{{ $.RepoInfo.FullName }}/issues/{{ .IssueId }}"
class="text-gray-500 dark:text-gray-400">
-
{{ .Metadata.CommentCount }} comment{{ $s }}
</a>
</span>
</p>
···
<a
href="/{{ $.RepoInfo.FullName }}/issues/{{ .IssueId }}"
class="text-gray-500 dark:text-gray-400">
+
{{ .Metadata.CommentCount }}
+
comment{{ $s }}
</a>
</span>
</p>
+2 -1
appview/pages/templates/repo/log.html
···
class="btn flex items-center gap-2 no-underline hover:no-underline dark:text-white dark:hover:bg-gray-700"
hx-boost="true"
onclick="window.location.href = window.location.pathname + '?page={{ add .Page 1 }}'">
-
next {{ i "chevron-right" "w-4 h-4" }}
</a>
{{ end }}
</div>
···
class="btn flex items-center gap-2 no-underline hover:no-underline dark:text-white dark:hover:bg-gray-700"
hx-boost="true"
onclick="window.location.href = window.location.pathname + '?page={{ add .Page 1 }}'">
+
next
+
{{ i "chevron-right" "w-4 h-4" }}
</a>
{{ end }}
</div>
+4 -2
appview/pages/templates/repo/pulls/pull.html
···
{{ $s = "" }}
{{ end }}
<div class="group-open:hidden flex items-center gap-2 ml-2">
-
{{ i "chevrons-up-down" "w-4 h-4" }} expand {{ len $patches }}
commit{{ $s }}
</div>
<div class="hidden group-open:flex items-center gap-2 ml-2">
-
{{ i "chevrons-down-up" "w-4 h-4" }} hide {{ len $patches }}
commit{{ $s }}
</div>
</summary>
···
{{ $s = "" }}
{{ end }}
<div class="group-open:hidden flex items-center gap-2 ml-2">
+
{{ i "chevrons-up-down" "w-4 h-4" }} expand
+
{{ len $patches }}
commit{{ $s }}
</div>
<div class="hidden group-open:flex items-center gap-2 ml-2">
+
{{ i "chevrons-down-up" "w-4 h-4" }} hide
+
{{ len $patches }}
commit{{ $s }}
</div>
</summary>
+2 -1
appview/pages/templates/repo/settings/access.html
···
{{ define "title" }}
-
{{ .Tab }} settings &middot; {{ .RepoInfo.FullName }}
{{ end }}
{{ define "repoContent" }}
···
{{ define "title" }}
+
{{ .Tab }} settings &middot;
+
{{ .RepoInfo.FullName }}
{{ end }}
{{ define "repoContent" }}
+2 -1
appview/pages/templates/repo/settings/general.html
···
{{ define "title" }}
-
{{ .Tab }} settings &middot; {{ .RepoInfo.FullName }}
{{ end }}
{{ define "repoContent" }}
···
{{ define "title" }}
+
{{ .Tab }} settings &middot;
+
{{ .RepoInfo.FullName }}
{{ end }}
{{ define "repoContent" }}
+2 -1
appview/pages/templates/repo/settings/pipelines.html
···
{{ define "title" }}
-
{{ .Tab }} settings &middot; {{ .RepoInfo.FullName }}
{{ end }}
{{ define "repoContent" }}
···
{{ define "title" }}
+
{{ .Tab }} settings &middot;
+
{{ .RepoInfo.FullName }}
{{ end }}
{{ define "repoContent" }}
+4 -2
appview/pages/templates/repo/tree.html
···
{{ define "title" }}
-
{{ range .BreadCrumbs }}{{ pathUnescape (index . 0) }}/{{ end }} at {{ .Ref }}
-
&middot; {{ .RepoInfo.FullName }}
{{ end }}
{{ define "extrameta" }}
···
{{ define "title" }}
+
{{ range .BreadCrumbs }}{{ pathUnescape (index . 0) }}/{{ end }} at
+
{{ .Ref }}
+
&middot;
+
{{ .RepoInfo.FullName }}
{{ end }}
{{ define "extrameta" }}
+4 -2
appview/pages/templates/settings.html
···
<p class="font-bold dark:text-white">{{ .Name }}</p>
</div>
<p class="text-sm text-gray-500 dark:text-gray-400">
-
added {{ template "repo/fragments/time" .Created }}
</p>
<div class="overflow-x-auto whitespace-nowrap flex-1 max-w-full">
<code class="text-sm text-gray-500 dark:text-gray-400">
···
</div>
</div>
<p class="text-sm text-gray-500 dark:text-gray-400">
-
added {{ template "repo/fragments/time" .CreatedAt }}
</p>
</div>
<div class="flex gap-2 items-center">
···
<p class="font-bold dark:text-white">{{ .Name }}</p>
</div>
<p class="text-sm text-gray-500 dark:text-gray-400">
+
added
+
{{ template "repo/fragments/time" .Created }}
</p>
<div class="overflow-x-auto whitespace-nowrap flex-1 max-w-full">
<code class="text-sm text-gray-500 dark:text-gray-400">
···
</div>
</div>
<p class="text-sm text-gray-500 dark:text-gray-400">
+
added
+
{{ template "repo/fragments/time" .CreatedAt }}
</p>
</div>
<div class="flex gap-2 items-center">
+2 -1
appview/pages/templates/strings/dashboard.html
···
{{ $stat := $s.Stats }}
<div class="text-gray-400 pt-4 text-sm font-mono inline-flex gap-2 mt-auto">
<span>
-
{{ $stat.LineCount }} line{{ if ne $stat.LineCount 1 }}s{{ end }}
</span>
<span class="select-none [&:before]:content-['·']"></span>
{{ with $s.Edited }}
···
{{ $stat := $s.Stats }}
<div class="text-gray-400 pt-4 text-sm font-mono inline-flex gap-2 mt-auto">
<span>
+
{{ $stat.LineCount }}
+
line{{ if ne $stat.LineCount 1 }}s{{ end }}
</span>
<span class="select-none [&:before]:content-['·']"></span>
{{ with $s.Edited }}
+6 -3
appview/pages/templates/user/profile.html
···
class="list-none cursor-pointer hover:text-gray-500 hover:dark:text-gray-400">
<div class="flex flex-wrap items-center gap-2">
{{ i "book-plus" "w-4 h-4" }}
-
created {{ len . }}
{{ if eq (len .) 1 }}repository{{ else }}repositories{{ end }}
</div>
</summary>
···
<div>
-
created {{ len $items }}
{{ if eq (len $items) 1 }}issue{{ else }}issues{{ end }}
</div>
···
<div>
-
created {{ len $items }}
{{ if eq (len $items) 1 }}
pull request
{{ else }}
···
class="list-none cursor-pointer hover:text-gray-500 hover:dark:text-gray-400">
<div class="flex flex-wrap items-center gap-2">
{{ i "book-plus" "w-4 h-4" }}
+
created
+
{{ len . }}
{{ if eq (len .) 1 }}repository{{ else }}repositories{{ end }}
</div>
</summary>
···
<div>
+
created
+
{{ len $items }}
{{ if eq (len $items) 1 }}issue{{ else }}issues{{ end }}
</div>
···
<div>
+
created
+
{{ len $items }}
{{ if eq (len $items) 1 }}
pull request
{{ else }}