change checkbox ui

tokarchuk/v1.17
Unknwon 9 years ago
parent ea454c21f7
commit 9ef063cbb0
  1. 2
      templates/repo/create.tmpl
  2. 4
      templates/repo/migrate.tmpl

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

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

Loading…
Cancel
Save