diff options
author | Unknown <joe2010xtmf@163.com> | 2014-04-09 14:20:02 -0400 |
---|---|---|
committer | Unknown <joe2010xtmf@163.com> | 2014-04-09 14:20:02 -0400 |
commit | 9f7bd5007b256d25c387499606720dca461a181c (patch) | |
tree | 464bfc6301e51aee830df3cd2e63e7dd722cbfa8 /templates/repo | |
parent | 5f6bd323f530410c687b17b0251a5a2ffacb755b (diff) | |
download | gitea-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> |