aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/settings
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-12-01 05:00:14 +0100
committerGitHub <noreply@github.com>2020-11-30 23:00:14 -0500
commitb1cf7f4df11dfac879d65125880d18a03fef22c0 (patch)
tree79a9f65c922b4e247744d7fc8a96509f4a72caa1 /templates/repo/settings
parent14e8ef9ecb7c79ba8adff6fee44fc9bfb669814c (diff)
downloadgitea-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/repo/settings')
-rw-r--r--templates/repo/settings/branches.tmpl2
-rw-r--r--templates/repo/settings/collaboration.tmpl2
-rw-r--r--templates/repo/settings/deploy_keys.tmpl2
-rw-r--r--templates/repo/settings/githook_edit.tmpl2
-rw-r--r--templates/repo/settings/githooks.tmpl2
-rw-r--r--templates/repo/settings/lfs.tmpl2
-rw-r--r--templates/repo/settings/lfs_file.tmpl2
-rw-r--r--templates/repo/settings/lfs_file_find.tmpl2
-rw-r--r--templates/repo/settings/lfs_locks.tmpl2
-rw-r--r--templates/repo/settings/lfs_pointers.tmpl2
-rw-r--r--templates/repo/settings/options.tmpl2
-rw-r--r--templates/repo/settings/protected_branch.tmpl2
-rw-r--r--templates/repo/settings/webhook/base.tmpl2
-rw-r--r--templates/repo/settings/webhook/new.tmpl2
14 files changed, 14 insertions, 14 deletions
diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl
index be68e9bcbc..81e80215c5 100644
--- a/templates/repo/settings/branches.tmpl
+++ b/templates/repo/settings/branches.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings edit">
+<div class="page-content repository settings edit">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl
index 1d49fc54dc..b6e659d592 100644
--- a/templates/repo/settings/collaboration.tmpl
+++ b/templates/repo/settings/collaboration.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings collaboration">
+<div class="page-content repository settings collaboration">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl
index d6fb87bb83..8a75903bce 100644
--- a/templates/repo/settings/deploy_keys.tmpl
+++ b/templates/repo/settings/deploy_keys.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings">
+<div class="page-content repository settings">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/githook_edit.tmpl b/templates/repo/settings/githook_edit.tmpl
index 4d68d9bfb1..70a67554dd 100644
--- a/templates/repo/settings/githook_edit.tmpl
+++ b/templates/repo/settings/githook_edit.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings edit githook">
+<div class="page-content repository settings edit githook">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/githooks.tmpl b/templates/repo/settings/githooks.tmpl
index 522ec75e83..40bc787c8d 100644
--- a/templates/repo/settings/githooks.tmpl
+++ b/templates/repo/settings/githooks.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings githooks">
+<div class="page-content repository settings githooks">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/lfs.tmpl b/templates/repo/settings/lfs.tmpl
index 38dd547468..b6a0581583 100644
--- a/templates/repo/settings/lfs.tmpl
+++ b/templates/repo/settings/lfs.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings lfs">
+<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/lfs_file.tmpl b/templates/repo/settings/lfs_file.tmpl
index e5736a059f..09eeb3f27f 100644
--- a/templates/repo/settings/lfs_file.tmpl
+++ b/templates/repo/settings/lfs_file.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings lfs">
+<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container repository file list">
diff --git a/templates/repo/settings/lfs_file_find.tmpl b/templates/repo/settings/lfs_file_find.tmpl
index cfef51b3cc..83a2e317d5 100644
--- a/templates/repo/settings/lfs_file_find.tmpl
+++ b/templates/repo/settings/lfs_file_find.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings lfs">
+<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container repository file list">
diff --git a/templates/repo/settings/lfs_locks.tmpl b/templates/repo/settings/lfs_locks.tmpl
index c895896bcd..674c2b6450 100644
--- a/templates/repo/settings/lfs_locks.tmpl
+++ b/templates/repo/settings/lfs_locks.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings lfs">
+<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container repository file list">
diff --git a/templates/repo/settings/lfs_pointers.tmpl b/templates/repo/settings/lfs_pointers.tmpl
index 1bd48de157..8a50c1bdf8 100644
--- a/templates/repo/settings/lfs_pointers.tmpl
+++ b/templates/repo/settings/lfs_pointers.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings lfs">
+<div class="page-content repository settings lfs">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl
index 96414731bc..0894ecbec2 100644
--- a/templates/repo/settings/options.tmpl
+++ b/templates/repo/settings/options.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings options">
+<div class="page-content repository settings options">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl
index 1fbd28d8bd..35d6d4ab11 100644
--- a/templates/repo/settings/protected_branch.tmpl
+++ b/templates/repo/settings/protected_branch.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings branches">
+<div class="page-content repository settings branches">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/webhook/base.tmpl b/templates/repo/settings/webhook/base.tmpl
index 6f486131f7..a9404790dc 100644
--- a/templates/repo/settings/webhook/base.tmpl
+++ b/templates/repo/settings/webhook/base.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings webhooks">
+<div class="page-content repository settings webhooks">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">
diff --git a/templates/repo/settings/webhook/new.tmpl b/templates/repo/settings/webhook/new.tmpl
index cf4c541bb0..fc78db8648 100644
--- a/templates/repo/settings/webhook/new.tmpl
+++ b/templates/repo/settings/webhook/new.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="repository settings new webhook">
+<div class="page-content repository settings new webhook">
{{template "repo/header" .}}
{{template "repo/settings/navbar" .}}
<div class="ui container">