aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/wiki/start.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-11-25 20:10:25 -0500
committerUnknwon <u@gogs.io>2015-11-25 20:10:25 -0500
commit2b10fdc4dcb987b347b031f460cf4f02fd48a31a (patch)
treef3f723c75684c4213a58d57a2ce0b6afdc597d25 /templates/repo/wiki/start.tmpl
parent2f28a0310b0f391dd74bb3a2ab0ae06379a4fb1a (diff)
downloadgitea-2b10fdc4dcb987b347b031f460cf4f02fd48a31a.tar.gz
gitea-2b10fdc4dcb987b347b031f460cf4f02fd48a31a.zip
Wiki: UI for page new
Diffstat (limited to 'templates/repo/wiki/start.tmpl')
-rw-r--r--templates/repo/wiki/start.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/templates/repo/wiki/start.tmpl b/templates/repo/wiki/start.tmpl
new file mode 100644
index 0000000000..757ab9bce0
--- /dev/null
+++ b/templates/repo/wiki/start.tmpl
@@ -0,0 +1,16 @@
+{{template "base/head" .}}
+<div class="repository wiki start">
+ {{template "repo/header" .}}
+ <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>
+ <p>{{.i18n.Tr "repo.wiki.welcome_desc"}}</p>
+ {{if .IsSigned}}
+ <a class="ui green button" href="{{.RepoLink}}/wiki/_new">{{.i18n.Tr "repo.wiki.create_first_page"}}</a>
+ {{end}}
+ </div>
+ </div>
+</div>
+{{template "base/footer" .}} \ No newline at end of file