Browse Source

change checkbox ui

pull/1551/head
Unknwon 9 years ago
parent
commit
9ef063cbb0
  1. 2
      templates/repo/create.tmpl
  2. 4
      templates/repo/migrate.tmpl

2
templates/repo/create.tmpl

@ -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>

4
templates/repo/migrate.tmpl

@ -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