Browse Source

change checkbox ui

for-closed-social
Unknwon 9 years ago
parent
commit
9ef063cbb0
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      templates/repo/create.tmpl
  2. +2
    -2
      templates/repo/migrate.tmpl

+ 1
- 1
templates/repo/create.tmpl View File

@ -42,7 +42,7 @@
</div> </div>
<div class="inline field"> <div class="inline field">
<label>{{.i18n.Tr "repo.visibility"}}</label> <label>{{.i18n.Tr "repo.visibility"}}</label>
<div class="ui toggle checkbox">
<div class="ui checkbox">
<input name="private" type="checkbox" {{if .private}}checked{{end}}> <input name="private" type="checkbox" {{if .private}}checked{{end}}>
<label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label> <label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label>
</div> </div>

+ 2
- 2
templates/repo/migrate.tmpl View File

@ -66,14 +66,14 @@
</div> </div>
<div class="inline field"> <div class="inline field">
<label>{{.i18n.Tr "repo.visibility"}}</label> <label>{{.i18n.Tr "repo.visibility"}}</label>
<div class="ui toggle checkbox">
<div class="ui checkbox">
<input name="private" type="checkbox" {{if .private}}checked{{end}}> <input name="private" type="checkbox" {{if .private}}checked{{end}}>
<label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label> <label>{{.i18n.Tr "repo.visiblity_helper" | Safe}}</label>
</div> </div>
</div> </div>
<div class="inline field"> <div class="inline field">
<label>{{.i18n.Tr "repo.migrate_type"}}</label> <label>{{.i18n.Tr "repo.migrate_type"}}</label>
<div class="ui toggle checkbox">
<div class="ui checkbox">
<input name="mirror" type="checkbox" {{if .mirror}}checked{{end}}> <input name="mirror" type="checkbox" {{if .mirror}}checked{{end}}>
<label>{{.i18n.Tr "repo.migrate_type_helper" | Safe}}</label> <label>{{.i18n.Tr "repo.migrate_type_helper" | Safe}}</label>
</div> </div>

Loading…
Cancel
Save