tenseleyflow/shithub / fd19ea2

Browse files

S32: refactor danger-zone settings into the new shell

Authored by espadonne
SHA
fd19ea2c9bad067b18468e825fc4099e631e50e2
Parents
741419c
Tree
2d8220d

1 changed file

StatusFile+-
M internal/web/templates/repo/settings.html 73 72
internal/web/templates/repo/settings.htmlmodified
@@ -1,9 +1,9 @@
11
 {{ define "page" -}}
2
-<section class="shithub-repo-settings">
3
-  <header>
4
-    <h1>Settings · <a href="/{{ .Owner }}/{{ .Repo.Name }}">{{ .Owner }}/{{ .Repo.Name }}</a></h1>
5
-    <p class="shithub-repo-settings-note">Danger-zone actions only. Full settings UI ships in a later sprint.</p>
6
-  </header>
2
+<div class="shithub-settings-page">
3
+  {{ template "repo-settings-nav" . }}
4
+  <div class="shithub-settings-content">
5
+    <h1>Danger zone</h1>
6
+    <p class="shithub-repo-settings-note">Repo-wide actions that change ownership, visibility, or destroy data.</p>
77
 
88
     <section class="shithub-danger-zone">
99
       <h2>Rename</h2>
@@ -77,5 +77,6 @@
7777
         <button type="submit" class="shithub-button shithub-button-danger">Delete</button>
7878
       </form>
7979
     </section>
80
-</section>
80
+  </div>
81
+</div>
8182
 {{- end }}