fix dropdown style

pull/197/head
Unknwon 9 years ago
parent e885d34aa6
commit 1c2dbd7183
  1. 2
      templates/install.tmpl
  2. 2
      templates/repo/settings/options.tmpl

@ -16,7 +16,7 @@
<label>{{.i18n.Tr "install.db_type"}}</label> <label>{{.i18n.Tr "install.db_type"}}</label>
<div class="ui selection database type dropdown"> <div class="ui selection database type dropdown">
<input type="hidden" id="db_type" name="db_type" value="{{.CurDbOption}}"> <input type="hidden" id="db_type" name="db_type" value="{{.CurDbOption}}">
<div class="default text">{{.CurDbOption}}</div> <div class="text">{{.CurDbOption}}</div>
<i class="dropdown icon"></i> <i class="dropdown icon"></i>
<div class="menu"> <div class="menu">
{{range .DbOptions}} {{range .DbOptions}}

@ -32,7 +32,7 @@
<label>{{.i18n.Tr "repo.default_branch"}}</label> <label>{{.i18n.Tr "repo.default_branch"}}</label>
<div class="ui selection dropdown"> <div class="ui selection dropdown">
<input type="hidden" id="branch" name="branch" value="{{.Repository.DefaultBranch}}"> <input type="hidden" id="branch" name="branch" value="{{.Repository.DefaultBranch}}">
<div class="default text">{{.Repository.DefaultBranch}}</div> <div class="text">{{.Repository.DefaultBranch}}</div>
<i class="dropdown icon"></i> <i class="dropdown icon"></i>
<div class="menu"> <div class="menu">
{{range .Branches}} {{range .Branches}}

Loading…
Cancel
Save