summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-03-07 16:05:18 -0500
committerUnknown <joe2010xtmf@163.com>2014-03-07 16:05:18 -0500
commitba5c7ea7719abbef792e8b9897dcfadf4d54bbab (patch)
treee1986ff36562366278fd134e7ce1793193828dcb /templates/repo
parent8e821c75d7432ffe7eb7d72ba479f6f68e620ad1 (diff)
downloadgitea-ba5c7ea7719abbef792e8b9897dcfadf4d54bbab.tar.gz
gitea-ba5c7ea7719abbef792e8b9897dcfadf4d54bbab.zip
Add SignInRequire and SignOutRequire middleware
Diffstat (limited to 'templates/repo')
-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 809637c4eb..ffcffb09e3 100644
--- a/templates/repo/create.tmpl
+++ b/templates/repo/create.tmpl
@@ -10,6 +10,7 @@
<input type="hidden" value="{{.UserId}}" name="userId"/>
</div>
</div>
+
<div class="form-group">
<label class="col-md-2 control-label">Repository<strong class="text-danger">*</strong></label>
<div class="col-md-8">
@@ -17,12 +18,21 @@
<span class="help-block">Great repository names are short and memorable. </span>
</div>
</div>
+
+ <div class="form-group">
+ <label class="col-md-2 control-label">Visibility<strong class="text-danger">*</strong></label>
+ <div class="col-md-8">
+ <p class="form-control-static">Public</p>
+ </div>
+ </div>
+
<div class="form-group">
<label class="col-md-2 control-label">Description</label>
<div class="col-md-8">
<textarea name="desc" class="form-control" placeholder="Type your repository name"></textarea>
</div>
</div>
+
<div class="form-group">
<label class="col-md-2 control-label">Language</label>
<div class="col-md-8">
@@ -36,6 +46,7 @@
</select>
</div>
</div>
+
<div class="form-group">
<div class="col-md-8 col-md-offset-2">
<div class="checkbox">
@@ -46,6 +57,7 @@
</div>
</div>
</div>
+
<div class="form-group">
<div class="col-md-offset-2 col-md-8">
<button type="submit" class="btn btn-lg btn-primary">Create repository</button>