diff --git a/public/css/gogs.css b/public/css/gogs.css
index cd27a674..eba8454a 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1815,6 +1815,17 @@ footer .container .links > *:first-child {
margin: 1px;
padding-right: 0;
}
+.repository .ui.tabs.container {
+ margin-top: 14px;
+ margin-bottom: 0px;
+}
+.repository .ui.tabs.container .ui.menu {
+ border-bottom: none;
+}
+.repository .ui.tabs.divider {
+ margin-top: 0;
+ margin-bottom: 20px;
+}
.repository #clone-panel {
margin-top: -8px;
width: 100%;
diff --git a/public/less/_repository.less b/public/less/_repository.less
index ffd432db..7f66948c 100644
--- a/public/less/_repository.less
+++ b/public/less/_repository.less
@@ -91,6 +91,20 @@
}
}
+ .ui.tabs {
+ &.container {
+ margin-top: 14px;
+ margin-bottom: 0px;
+ .ui.menu {
+ border-bottom: none;
+ }
+ }
+ &.divider {
+ margin-top: 0;
+ margin-bottom: 20px;
+ }
+ }
+
#clone-panel {
margin-top: -8px;
width: 100%;
diff --git a/templates/repo/commits.tmpl b/templates/repo/commits.tmpl
index 769841de..03a07935 100644
--- a/templates/repo/commits.tmpl
+++ b/templates/repo/commits.tmpl
@@ -1,9 +1,9 @@
{{template "base/head" .}}
- {{template "repo/header" .}}
+ {{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
- {{template "repo/commits_table" .}}
-
+ {{template "repo/commits_table" .}}
+
{{template "base/footer" .}}
diff --git a/templates/repo/forks.tmpl b/templates/repo/forks.tmpl
index e3fd90c6..f541cd0a 100644
--- a/templates/repo/forks.tmpl
+++ b/templates/repo/forks.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl
index 06bd49b9..10455db5 100644
--- a/templates/repo/header.tmpl
+++ b/templates/repo/header.tmpl
@@ -44,5 +44,4 @@
-
{{end}}
diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 260f6375..61387f8e 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl
index f622d1a2..f955973c 100644
--- a/templates/repo/issue/labels.tmpl
+++ b/templates/repo/issue/labels.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
{{template "repo/issue/navbar" .}}
{{if .IsRepositoryAdmin}}
diff --git a/templates/repo/issue/list.tmpl b/templates/repo/issue/list.tmpl
index 479de75b..b927d800 100644
--- a/templates/repo/issue/list.tmpl
+++ b/templates/repo/issue/list.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
{{template "repo/issue/navbar" .}}
diff --git a/templates/repo/issue/milestones.tmpl b/templates/repo/issue/milestones.tmpl
index 7a626065..527a90b4 100644
--- a/templates/repo/issue/milestones.tmpl
+++ b/templates/repo/issue/milestones.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
{{template "repo/issue/navbar" .}}
{{if .IsRepositoryAdmin}}
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl
index b8a8dff2..5c3aaae7 100644
--- a/templates/repo/release/list.tmpl
+++ b/templates/repo/release/list.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
- {{template "repo/sidebar" .}}
{{template "base/alert" .}}