+2
-2
appview/pages/templates/layouts/base.html
+2
-2
appview/pages/templates/layouts/base.html
···
26
</head>
27
<body class="min-h-screen flex flex-col gap-4 bg-slate-100 dark:bg-gray-900 dark:text-white transition-colors duration-200">
28
{{ block "topbarLayout" . }}
29
-
<header class="w-full bg-white dark:bg-gray-800 col-span-full md:col-span-1 md:col-start-2" style="z-index: 20;">
30
31
{{ if .LoggedInUser }}
32
<div id="upgrade-banner"
···
58
{{ end }}
59
60
{{ block "footerLayout" . }}
61
-
<footer class="bg-white dark:bg-gray-800 mt-12">
62
{{ template "layouts/fragments/footer" . }}
63
</footer>
64
{{ end }}
···
26
</head>
27
<body class="min-h-screen flex flex-col gap-4 bg-slate-100 dark:bg-gray-900 dark:text-white transition-colors duration-200">
28
{{ block "topbarLayout" . }}
29
+
<header class="w-full col-span-full md:col-span-1 md:col-start-2" style="z-index: 20;">
30
31
{{ if .LoggedInUser }}
32
<div id="upgrade-banner"
···
58
{{ end }}
59
60
{{ block "footerLayout" . }}
61
+
<footer class="mt-12">
62
{{ template "layouts/fragments/footer" . }}
63
</footer>
64
{{ end }}
+1
-1
appview/pages/templates/layouts/fragments/topbar.html
+1
-1
appview/pages/templates/layouts/fragments/topbar.html
···
1
{{ define "layouts/fragments/topbar" }}
2
-
<nav class="mx-auto space-x-4 px-6 py-2 rounded-b dark:text-white drop-shadow-sm">
3
<div class="flex justify-between p-0 items-center">
4
<div id="left-items">
5
<a href="/" hx-boost="true" class="text-2xl no-underline hover:no-underline flex items-center gap-2">
···
1
{{ define "layouts/fragments/topbar" }}
2
+
<nav class="mx-auto space-x-4 px-6 py-2 rounded-b dark:text-white drop-shadow-sm bg-white dark:bg-gray-800">
3
<div class="flex justify-between p-0 items-center">
4
<div id="left-items">
5
<a href="/" hx-boost="true" class="text-2xl no-underline hover:no-underline flex items-center gap-2">
+3
-3
appview/pages/templates/repo/commit.html
+3
-3
appview/pages/templates/repo/commit.html
···
80
{{end}}
81
82
{{ define "topbarLayout" }}
83
-
<header class="px-1 col-span-full" style="z-index: 20;">
84
{{ template "layouts/fragments/topbar" . }}
85
</header>
86
{{ end }}
87
88
{{ define "mainLayout" }}
89
-
<div class="px-1 col-span-full flex flex-col gap-4">
90
{{ block "contentLayout" . }}
91
{{ block "content" . }}{{ end }}
92
{{ end }}
···
105
{{ end }}
106
107
{{ define "footerLayout" }}
108
-
<footer class="px-1 col-span-full mt-12">
109
{{ template "layouts/fragments/footer" . }}
110
</footer>
111
{{ end }}
···
80
{{end}}
81
82
{{ define "topbarLayout" }}
83
+
<header class="col-span-full" style="z-index: 20;">
84
{{ template "layouts/fragments/topbar" . }}
85
</header>
86
{{ end }}
87
88
{{ define "mainLayout" }}
89
+
<div class="px-1 flex-grow col-span-full flex flex-col gap-4">
90
{{ block "contentLayout" . }}
91
{{ block "content" . }}{{ end }}
92
{{ end }}
···
105
{{ end }}
106
107
{{ define "footerLayout" }}
108
+
<footer class="col-span-full mt-12">
109
{{ template "layouts/fragments/footer" . }}
110
</footer>
111
{{ end }}
+1
-14
appview/pages/templates/repo/pulls/interdiff.html
+1
-14
appview/pages/templates/repo/pulls/interdiff.html
···
28
29
{{ end }}
30
31
-
{{ define "topbarLayout" }}
32
-
<header class="px-1 col-span-full" style="z-index: 20;">
33
-
{{ template "layouts/fragments/topbar" . }}
34
-
</header>
35
-
{{ end }}
36
-
37
{{ define "mainLayout" }}
38
-
<div class="px-1 col-span-full flex flex-col gap-4">
39
{{ block "contentLayout" . }}
40
{{ block "content" . }}{{ end }}
41
{{ end }}
···
52
{{ end }}
53
</div>
54
{{ end }}
55
-
56
-
{{ define "footerLayout" }}
57
-
<footer class="px-1 col-span-full mt-12">
58
-
{{ template "layouts/fragments/footer" . }}
59
-
</footer>
60
-
{{ end }}
61
-
62
63
{{ define "contentAfter" }}
64
{{ template "repo/fragments/interdiff" (list .RepoInfo.FullName .Interdiff .DiffOpts) }}
···
28
29
{{ end }}
30
31
{{ define "mainLayout" }}
32
+
<div class="px-1 col-span-full flex-grow flex flex-col gap-4">
33
{{ block "contentLayout" . }}
34
{{ block "content" . }}{{ end }}
35
{{ end }}
···
46
{{ end }}
47
</div>
48
{{ end }}
49
50
{{ define "contentAfter" }}
51
{{ template "repo/fragments/interdiff" (list .RepoInfo.FullName .Interdiff .DiffOpts) }}
+1
-13
appview/pages/templates/repo/pulls/patch.html
+1
-13
appview/pages/templates/repo/pulls/patch.html
···
34
</section>
35
{{ end }}
36
37
-
{{ define "topbarLayout" }}
38
-
<header class="px-1 col-span-full" style="z-index: 20;">
39
-
{{ template "layouts/fragments/topbar" . }}
40
-
</header>
41
-
{{ end }}
42
-
43
{{ define "mainLayout" }}
44
-
<div class="px-1 col-span-full flex flex-col gap-4">
45
{{ block "contentLayout" . }}
46
{{ block "content" . }}{{ end }}
47
{{ end }}
···
57
</div>
58
{{ end }}
59
</div>
60
-
{{ end }}
61
-
62
-
{{ define "footerLayout" }}
63
-
<footer class="px-1 col-span-full mt-12">
64
-
{{ template "layouts/fragments/footer" . }}
65
-
</footer>
66
{{ end }}
67
68
{{ define "contentAfter" }}