Преглед изворни кода

[templates/repo/create] Add "Initial Files" header

Restyle the form a little to emphasise the initial files section with a
header, drawing attention to the options.
Achilleas Koutsou пре 5 година
родитељ
комит
b0ad72f43b
1 измењених фајлова са 7 додато и 2 уклоњено
  1. 7 2
      templates/repo/create.tmpl

+ 7 - 2
templates/repo/create.tmpl

@@ -56,9 +56,12 @@
 						<span class="help">{{.i18n.Tr "repo.repo_description_helper" | Safe}}</span>
 						<span class="help">{{.i18n.Tr "repo.repo_description_length"}}: <span id="descLength"></span></span>
 					</div>
+				</div>
 
-					<div class="ui divider"></div>
-
+				<h3 class="ui attached header">
+					Initial Files
+				</h3>
+				<div class="ui attached segment">
 					<div class="inline field" data-tooltip="In the case of data repositories you probably don't need this">
 						<label>.gitignore</label>
 						<a target="_blank" href="https://git-scm.com/docs/gitignore"><span class="octicon octicon-question"></span></a>
@@ -105,7 +108,9 @@
 							<label>{{.i18n.Tr "repo.auto_init"}}</label>
 						</div>
 					</div>
+				</div>
 
+				<div class="ui attached segment">
 					<div class="inline field">
 						<label></label>
 						<button class="ui green button">