diff options
Diffstat (limited to 'templates/repo/create.tmpl')
-rw-r--r-- | templates/repo/create.tmpl | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/repo/create.tmpl b/templates/repo/create.tmpl index a144ccbc36..a4b54fef2e 100644 --- a/templates/repo/create.tmpl +++ b/templates/repo/create.tmpl @@ -36,20 +36,20 @@ </div> <div class="field"> <label class="req" for="repo-name">{{.i18n.Tr "repo.repo_name"}}</label> - <input class="ipt ipt-radius {{if .Err_RepoName}}ipt-error{{end}}" id="repo-name" name="repo_name" type="text" value="{{.repo_name}}" required /> + <input class="ipt ipt-large ipt-radius {{if .Err_RepoName}}ipt-error{{end}}" id="repo-name" name="repo_name" type="text" value="{{.repo_name}}" required /> <span class="form-label"></span> <span class="help">{{.i18n.Tr "repo.repo_name_helper" | Str2html}}</span> </div> - <p class="field"> + <div class="field"> <label for="visibility">{{.i18n.Tr "repo.visibility"}}</label> <input class="ipt-chk" id="visibility" name="private" type="checkbox" {{if .private}}checked{{end}} /> <span>{{.i18n.Tr "repo.visiblity_helper" | Str2html}}</span> - </p> + </div> <div class="field clear"> <label class="left" for="desc">{{.i18n.Tr "repo.repo_desc"}}</label> - <textarea class="ipt ipt-radius {{if .Err_Description}}ipt-error{{end}}" id="desc" name="desc">{{.desc}}</textarea> + <textarea class="ipt ipt-large ipt-radius {{if .Err_Description}}ipt-error{{end}}" id="desc" name="desc">{{.desc}}</textarea> </div> - <p class="field"> + <div class="field"> <label for="lang">{{.i18n.Tr "repo.repo_lang"}}</label> <select id="lang" name="gitignore"> <option>{{.i18n.Tr "repo.repo_lang_helper"}}</option> @@ -64,17 +64,17 @@ <option value="{{.}}" {{if eq . $.license}}selected{{end}}>{{.}}</option> {{end}} </select> - </p> - <p class="field"> + </div> + <div class="field"> <label for="init-readme"></label> <input class="ipt-chk" id="init-readme" name="init_readme" type="checkbox" {{if .init_readme}}checked{{end}} /> <strong>{{.i18n.Tr "repo.init_readme"}}</strong> - </p> - <p class="field"> + </div> + <div class="field"> <label for="repo-create-submit"></label> <button class="btn btn-large btn-blue btn-radius" id="repo-create-submit">{{.i18n.Tr "repo.create_repo"}}</button> <a class="btn btn-small btn-gray btn-radius" id="repo-create-cancel" href="/"><strong>{{.i18n.Tr "cancel"}}</strong></a> - </p> + </div> </div> </form> </div> |