summaryrefslogtreecommitdiffstats
path: root/templates/repo/create.tmpl
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2014-02-25 15:11:54 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2014-02-25 15:11:54 +0800
commitf7826d4ed780c29058a0825a9d821523980777de (patch)
tree161b43aca41ebbb12039f47967fb275eb6102491 /templates/repo/create.tmpl
parent3b8657d9177ad2f3dca5ecf0e1f8f62c20e776f7 (diff)
downloadgitea-f7826d4ed780c29058a0825a9d821523980777de.tar.gz
gitea-f7826d4ed780c29058a0825a9d821523980777de.zip
create repository from web
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r--templates/repo/create.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl
index 4ec4f6f1e8..c93f9386df 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -3,7 +3,19 @@
<div class="container">
<form action="/repo/create" method="post" class="form-horizontal">
<div class="form-group">
+<div class="col-md-offset-4 col-md-3">
+ Owner: <input name="userId" type="hidden" value="1"/>lunny
+ </div>
+ <div class="col-md-offset-4 col-md-3">
+ repo name: <input name="name" type="text"/>
+ </div>
<div class="col-md-offset-4 col-md-3">
+ description(optional): <input name="desc" type="text"/>
+ </div>
+ <div class="col-md-offset-4 col-md-3">
+
+ </div>
+ <div class="col-md-offset-4 col-md-3">
<button type="submit" class="btn btn-info">Create repository</button>
</div>
</div>