mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-14 14:06:15 +01:00
7e160f8824
Same as https://github.com/go-gitea/gitea/pull/26026 but for the user settings page. It introduces a new `flex-container` class and shares it across both pages. Before and After: <img width="1264" alt="Screenshot 2023-07-21 at 19 35 57" src="https://github.com/go-gitea/gitea/assets/115237/1358dab4-55c0-40ce-a4d5-673099304f3d"> <img width="1269" alt="Screenshot 2023-07-21 at 19 35 42" src="https://github.com/go-gitea/gitea/assets/115237/34812f6d-dc65-4009-b977-90e03efdc6d1">
15 lines
473 B
Go HTML Template
15 lines
473 B
Go HTML Template
{{template "base/head" .ctxData}}
|
|
<div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}">
|
|
<div class="ui container">
|
|
{{template "base/alert" .ctxData}}
|
|
</div>
|
|
<div class="ui container flex-container">
|
|
{{template "admin/navbar" .ctxData}}
|
|
<div class="flex-container-main">
|
|
{{/* block: admin-setting-content */}}
|
|
|
|
{{if false}}{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{{end}}
|