summaryrefslogtreecommitdiffstats
path: root/templates/repo
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-04-09 14:20:02 -0400
committerUnknown <joe2010xtmf@163.com>2014-04-09 14:20:02 -0400
commit9f7bd5007b256d25c387499606720dca461a181c (patch)
tree464bfc6301e51aee830df3cd2e63e7dd722cbfa8 /templates/repo
parent5f6bd323f530410c687b17b0251a5a2ffacb755b (diff)
downloadgitea-9f7bd5007b256d25c387499606720dca461a181c.tar.gz
gitea-9f7bd5007b256d25c387499606720dca461a181c.zip
Work on mirror repo
Diffstat (limited to 'templates/repo')
-rw-r--r--templates/repo/mirror.tmpl (renamed from templates/repo/import.tmpl)35
1 files changed, 2 insertions, 33 deletions
diff --git a/templates/repo/import.tmpl b/templates/repo/mirror.tmpl
index 75d928d138..c69f47a309 100644
--- a/templates/repo/import.tmpl
+++ b/templates/repo/mirror.tmpl
@@ -16,7 +16,7 @@
<div class="form-group">
<label class="col-md-2 control-label">URL<strong class="text-danger">*</strong></label>
<div class="col-md-8">
- <input name="url" type="text" class="form-control" placeholder="Type your imported repository url link" required="required">
+ <input name="url" type="text" class="form-control" placeholder="Type your mirror repository url link" required="required">
</div>
</div>
<div class="form-group">
@@ -71,39 +71,8 @@
</div>
<div class="form-group">
- <label class="col-md-2 control-label">Language</label>
- <div class="col-md-8">
- <select class="form-control" name="language">
- <option value="">Select a language</option>
- {{range .LanguageIgns}}<option value="{{.}}">{{.}}</option>{{end}}
- </select>
- </div>
- </div>
-
- <div class="form-group">
- <label class="col-md-2 control-label">License</label>
- <div class="col-md-8">
- <select class="form-control" name="license">
- <option value="">Select a license</option>
- {{range .Licenses}}<option value="{{.}}">{{.}}</option>{{end}}
- </select>
- </div>
- </div>
-
- <!--<div class="form-group">
- <div class="col-md-8 col-md-offset-2">
- <div class="checkbox">
- <label>
- <input type="checkbox" name="initReadme" {{if .initReadme}}checked{{end}}>
- <strong>Initialize this repository with a README</strong>
- </label>
- </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">Import repository</button>
+ <button type="submit" class="btn btn-lg btn-primary">Mirror repository</button>
<a href="/" class="text-danger">Cancel</a>
</div>
</div>