diff options
author | silverwind <me@silverwind.io> | 2020-12-01 05:00:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-30 23:00:14 -0500 |
commit | b1cf7f4df11dfac879d65125880d18a03fef22c0 (patch) | |
tree | 79a9f65c922b4e247744d7fc8a96509f4a72caa1 /templates/admin | |
parent | 14e8ef9ecb7c79ba8adff6fee44fc9bfb669814c (diff) | |
download | gitea-b1cf7f4df11dfac879d65125880d18a03fef22c0.tar.gz gitea-b1cf7f4df11dfac879d65125880d18a03fef22c0.zip |
Add class to page content to unify top margin (#13766)
* Add class to page content to unify top margin
Previously pages would individually set this margin but some didn't so
content would stick to the header without any space. Resolve this by
adding a new class that is added on all pages. The only place where we
remove this margin again is on the pages with menu or wrapper in the
header.
* fix admin notices
* fix team pages
* fix loading segment on gitgraph for arc-green
* fix last missing case
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/auth/edit.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/auth/list.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/auth/new.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/config.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/dashboard.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/emails/list.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/hook_new.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/hooks.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/monitor.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/notice.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/org/list.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/queue.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/repo/list.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/repo/unadopted.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/user/edit.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/user/list.tmpl | 2 | ||||
-rw-r--r-- | templates/admin/user/new.tmpl | 2 |
17 files changed, 17 insertions, 17 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl index 24f6b37c81..3347a91bf6 100644 --- a/templates/admin/auth/edit.tmpl +++ b/templates/admin/auth/edit.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin edit authentication"> +<div class="page-content admin edit authentication"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl index 60b8f6fbe7..851254c09b 100644 --- a/templates/admin/auth/list.tmpl +++ b/templates/admin/auth/list.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin authentication"> +<div class="page-content admin authentication"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl index e72a82cbb3..c252f7d3f2 100644 --- a/templates/admin/auth/new.tmpl +++ b/templates/admin/auth/new.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin new authentication"> +<div class="page-content admin new authentication"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl index 4d88c59fea..00ad7a9a0e 100644 --- a/templates/admin/config.tmpl +++ b/templates/admin/config.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin config"> +<div class="page-content admin config"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl index 911cdb9fef..e6d9f57c2e 100644 --- a/templates/admin/dashboard.tmpl +++ b/templates/admin/dashboard.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin dashboard"> +<div class="page-content admin dashboard"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/emails/list.tmpl b/templates/admin/emails/list.tmpl index 8a60088f0a..752c010443 100644 --- a/templates/admin/emails/list.tmpl +++ b/templates/admin/emails/list.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin user"> +<div class="page-content admin user"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/hook_new.tmpl b/templates/admin/hook_new.tmpl index 26169acaa0..8eeb0e5264 100644 --- a/templates/admin/hook_new.tmpl +++ b/templates/admin/hook_new.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin new webhook"> +<div class="page-content admin new webhook"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/hooks.tmpl b/templates/admin/hooks.tmpl index 3265a1d69a..c09c6fcafe 100644 --- a/templates/admin/hooks.tmpl +++ b/templates/admin/hooks.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin hooks"> +<div class="page-content admin hooks"> {{template "admin/navbar" .}} <div class="ui container"> {{template "repo/settings/webhook/list" .}} diff --git a/templates/admin/monitor.tmpl b/templates/admin/monitor.tmpl index c3600fa996..5a38b92eef 100644 --- a/templates/admin/monitor.tmpl +++ b/templates/admin/monitor.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin monitor"> +<div class="page-content admin monitor"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/notice.tmpl b/templates/admin/notice.tmpl index d1d264c8c8..3320f5884c 100644 --- a/templates/admin/notice.tmpl +++ b/templates/admin/notice.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin notice"> +<div class="page-content admin notice"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/org/list.tmpl b/templates/admin/org/list.tmpl index 4a0fd16111..92b119d651 100644 --- a/templates/admin/org/list.tmpl +++ b/templates/admin/org/list.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin user"> +<div class="page-content admin user"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/queue.tmpl b/templates/admin/queue.tmpl index 567e72e03c..6524c9839f 100644 --- a/templates/admin/queue.tmpl +++ b/templates/admin/queue.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin monitor"> +<div class="page-content admin monitor"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/repo/list.tmpl b/templates/admin/repo/list.tmpl index df38831b6d..fbadfeea78 100644 --- a/templates/admin/repo/list.tmpl +++ b/templates/admin/repo/list.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin user"> +<div class="page-content admin user"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/repo/unadopted.tmpl b/templates/admin/repo/unadopted.tmpl index 7a046c6026..26c91c3155 100644 --- a/templates/admin/repo/unadopted.tmpl +++ b/templates/admin/repo/unadopted.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin user"> +<div class="page-content admin user"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/user/edit.tmpl b/templates/admin/user/edit.tmpl index e29b18f5be..7f1706e55a 100644 --- a/templates/admin/user/edit.tmpl +++ b/templates/admin/user/edit.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin edit user"> +<div class="page-content admin edit user"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/user/list.tmpl b/templates/admin/user/list.tmpl index d6dd7d5c03..dafeadaf96 100644 --- a/templates/admin/user/list.tmpl +++ b/templates/admin/user/list.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin user"> +<div class="page-content admin user"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/admin/user/new.tmpl b/templates/admin/user/new.tmpl index b05f81717f..885045dd02 100644 --- a/templates/admin/user/new.tmpl +++ b/templates/admin/user/new.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="admin new user"> +<div class="page-content admin new user"> {{template "admin/navbar" .}} <div class="ui container"> {{template "base/alert" .}} |