summaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-12-02 22:40:22 +0100
committerAdam Strzelecki <ono@java.pl>2015-12-02 22:40:22 +0100
commit3eae4ecde76d3196b8fb5c7d4482c74e438d5a87 (patch)
tree85cad176988cc716a9a5e7ca4f0daa6ec3d6ee29 /templates/repo/wiki
parentec98deeb8cc6727a01ac8510805d66acd2c7d152 (diff)
downloadgitea-3eae4ecde76d3196b8fb5c7d4482c74e438d5a87.tar.gz
gitea-3eae4ecde76d3196b8fb5c7d4482c74e438d5a87.zip
UI: Make repository menu divide header and content
This is more inline with way GitHub looks like and feels much more natural and in style with rest of the interface.
Diffstat (limited to 'templates/repo/wiki')
-rw-r--r--templates/repo/wiki/new.tmpl4
-rw-r--r--templates/repo/wiki/pages.tmpl2
-rw-r--r--templates/repo/wiki/start.tmpl2
-rw-r--r--templates/repo/wiki/view.tmpl2
4 files changed, 5 insertions, 5 deletions
diff --git a/templates/repo/wiki/new.tmpl b/templates/repo/wiki/new.tmpl
index 6a2ce43a58..be7a357fe1 100644
--- a/templates/repo/wiki/new.tmpl
+++ b/templates/repo/wiki/new.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
<div class="repository wiki new">
- {{template "repo/header" .}}
+ {{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
<div class="ui container">
- {{template "repo/sidebar" .}}
{{template "base/alert" .}}
<div class="ui header">
{{.i18n.Tr "repo.wiki.new_page"}}
diff --git a/templates/repo/wiki/pages.tmpl b/templates/repo/wiki/pages.tmpl
index f99f6a4ecf..f8bff23221 100644
--- a/templates/repo/wiki/pages.tmpl
+++ b/templates/repo/wiki/pages.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
<div class="repository wiki pages">
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
<div class="ui container">
- {{template "repo/sidebar" .}}
<div class="ui header">
{{.i18n.Tr "repo.wiki.pages"}}
<div class="ui right">
diff --git a/templates/repo/wiki/start.tmpl b/templates/repo/wiki/start.tmpl
index 757ab9bce0..641822ddf3 100644
--- a/templates/repo/wiki/start.tmpl
+++ b/templates/repo/wiki/start.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
<div class="repository wiki start">
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
<div class="ui container">
- {{template "repo/sidebar" .}}
<div class="ui center segment">
<span class="mega-octicon octicon-book"></span>
<h2>{{.i18n.Tr "repo.wiki.welcome"}}</h2>
diff --git a/templates/repo/wiki/view.tmpl b/templates/repo/wiki/view.tmpl
index fe8b5b3b36..bfd0a8b601 100644
--- a/templates/repo/wiki/view.tmpl
+++ b/templates/repo/wiki/view.tmpl
@@ -1,8 +1,8 @@
{{template "base/head" .}}
<div class="repository wiki view">
{{template "repo/header" .}}
+ {{template "repo/sidebar" .}}
<div class="ui container">
- {{template "repo/sidebar" .}}
<div class="ui grid">
<div class="ui ten wide column">
<div class="choose page">