S32: refactor danger-zone settings into the new shell
- SHA
fd19ea2c9bad067b18468e825fc4099e631e50e2- Parents
-
741419c - Tree
2d8220d
fd19ea2
fd19ea2c9bad067b18468e825fc4099e631e50e2741419c
2d8220d| Status | File | + | - |
|---|---|---|---|
| M |
internal/web/templates/repo/settings.html
|
73 | 72 |
internal/web/templates/repo/settings.htmlmodified@@ -1,9 +1,9 @@ | ||
| 1 | 1 | {{ 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> | |
| 7 | 7 | |
| 8 | 8 | <section class="shithub-danger-zone"> |
| 9 | 9 | <h2>Rename</h2> |
@@ -77,5 +77,6 @@ | ||
| 77 | 77 | <button type="submit" class="shithub-button shithub-button-danger">Delete</button> |
| 78 | 78 | </form> |
| 79 | 79 | </section> |
| 80 | -</section> | |
| 80 | + </div> | |
| 81 | +</div> | |
| 81 | 82 | {{- end }} |