[BUG] Fix admin layout
- Fix the layout of admin pages, it previously was full-width and had the alert at the incorrect place and within an container. - Make the placement of the alert consistent with other pages, inside `flex-container-main` and not wrapped around a container. - We have to revert145bebc829
, as this expected that the page contain provided padding, this was provided by the incorrect placement of the alert. As well isn't consistent with how other pages are being shown, non-full width. The solution to the described problem isn't optimal and should rather be fixed with the tables. - Reverts145bebc829
- Resolves #3082 (cherry picked from commitc2d0f64340
)
This commit is contained in:
parent
572019129e
commit
7bbb93b3b1
1 changed files with 2 additions and 4 deletions
|
@ -1,11 +1,9 @@
|
||||||
{{template "base/head" .ctxData}}
|
{{template "base/head" .ctxData}}
|
||||||
<div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}">
|
<div role="main" aria-label="{{.ctxData.Title}}" class="page-content {{.pageClass}}">
|
||||||
<div class="ui container">
|
<div class="ui container flex-container">
|
||||||
{{template "base/alert" .ctxData}}
|
|
||||||
</div>
|
|
||||||
<div class="ui container fluid padded flex-container">
|
|
||||||
{{template "admin/navbar" .ctxData}}
|
{{template "admin/navbar" .ctxData}}
|
||||||
<div class="flex-container-main">
|
<div class="flex-container-main">
|
||||||
|
{{template "base/alert" .ctxData}}
|
||||||
{{/* block: admin-setting-content */}}
|
{{/* block: admin-setting-content */}}
|
||||||
|
|
||||||
{{if false}}{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
{{if false}}{{/* to make html structure "likely" complete to prevent IDE warnings */}}
|
||||||
|
|
Loading…
Reference in a new issue