diff options
Diffstat (limited to 'templates/repo/migrate.tmpl')
-rw-r--r-- | templates/repo/migrate.tmpl | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/templates/repo/migrate.tmpl b/templates/repo/migrate.tmpl index 7215960714..45465178bd 100644 --- a/templates/repo/migrate.tmpl +++ b/templates/repo/migrate.tmpl @@ -8,7 +8,7 @@ {{template "ng/base/alert" .}} <div class="field"> <label class="req" for="url">HTTPS URL</label> - <input class="ipt ipt-radius {{if .Err_HttpsUrl}}ipt-error{{end}}" id="url" name="url" type="text" value="{{.url}}" required /> + <input class="ipt ipt-large ipt-radius {{if .Err_HttpsUrl}}ipt-error{{end}}" id="url" name="url" type="text" value="{{.url}}" required /> </div> <div class="field"> <span class="form-label"></span> @@ -16,11 +16,11 @@ <div id="repo-migrate-auth" {{if not .Err_Auth}}class="hide"{{end}}> <div class="field"> <label for="auth_username">{{.i18n.Tr "username"}}</label> - <input class="ipt ipt-radius {{if .Err_Auth}}ipt-error{{end}}" id="auth_username" name="auth_username" type="text" value="{{.auth_username}}" /> + <input class="ipt ipt-large ipt-radius {{if .Err_Auth}}ipt-error{{end}}" id="auth_username" name="auth_username" type="text" value="{{.auth_username}}" /> </div> <div class="field"> <label for="auth_password">{{.i18n.Tr "password"}}</label> - <input class="ipt ipt-radius {{if .Err_Auth}}ipt-error{{end}}" id="auth_password" name="auth_password" type="text" value="{{.auth_password}}" /> + <input class="ipt ipt-large ipt-radius {{if .Err_Auth}}ipt-error{{end}}" id="auth_password" name="auth_password" type="text" value="{{.auth_password}}" /> </div> </div> </div> @@ -55,27 +55,27 @@ </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 /> </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> - <p class="field"> - <label for="visibility">{{.i18n.Tr "repo.migrate_type"}}</label> - <input class="ipt-chk" id="visibility" name="mirror" type="checkbox" {{if .mirror}}checked{{end}} /> + </div> + <div class="field"> + <label for="migrate_type">{{.i18n.Tr "repo.migrate_type"}}</label> + <input class="ipt-chk" id="migrate_type" name="mirror" type="checkbox" {{if .mirror}}checked{{end}} /> <span>{{.i18n.Tr "repo.migrate_type_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="repo-create-submit"></label> <button class="btn btn-large btn-blue btn-radius" id="repo-create-submit">{{.i18n.Tr "repo.migrate_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> |