summaryrefslogtreecommitdiffstats
path: root/templates/repo/single_bare.tmpl
diff options
context:
space:
mode:
authorslene <vslene@gmail.com>2014-03-30 13:30:17 +0800
committerslene <vslene@gmail.com>2014-03-30 13:30:17 +0800
commitd6c9e3413a982fd64a74e774d4a2b8157f39f299 (patch)
tree60ec4e94acdb6925c612deb49871f57c75b64584 /templates/repo/single_bare.tmpl
parente2f63d81d3528c191e85fe228a37b5f0d58a405f (diff)
downloadgitea-d6c9e3413a982fd64a74e774d4a2b8157f39f299.tar.gz
gitea-d6c9e3413a982fd64a74e774d4a2b8157f39f299.zip
fix display bare repo
Diffstat (limited to 'templates/repo/single_bare.tmpl')
-rw-r--r--templates/repo/single_bare.tmpl13
1 files changed, 7 insertions, 6 deletions
diff --git a/templates/repo/single_bare.tmpl b/templates/repo/single_bare.tmpl
index fe0e3aa355..035e78e8b0 100644
--- a/templates/repo/single_bare.tmpl
+++ b/templates/repo/single_bare.tmpl
@@ -1,6 +1,7 @@
{{template "base/head" .}}
{{template "base/navbar" .}}
{{template "repo/nav" .}}
+{{template "repo/toolbar" .}}
<div id="body" class="container">
<div id="source">
<div class="panel panel-default guide-box clone-group-btn">
@@ -23,15 +24,15 @@
<hr/>
<h3>Create a new repository on the command line</h3>
<pre class="text-left"><code>touch README.md
- git init
- git add README.md
- git commit -m "first commit"
- git remote add origin <span class="clone-url"></span>
- git push -u origin master</code></pre>
+git init
+git add README.md
+git commit -m "first commit"
+git remote add origin <span class="clone-url"></span>
+git push -u origin master</code></pre>
<hr/>
<h3>Push an existing repository from the command line</h3>
<pre class="text-left"><code>git remote add origin <span class="clone-url"></span>
- git push -u origin master</code></pre>
+git push -u origin master</code></pre>
</div>
</div>
</div>