Browse Source

change checkbox ui

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

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

+ 2 - 2
templates/repo/migrate.tmpl

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