Commit search appearence fixes (#1254)

* Fix button text to be consisstent with rest of UI

* Make all commits checkbox look nicer
release/v1.2
Patrick G 7 years ago committed by Lunny Xiao
parent 0cee52e0d3
commit d800305b34

@ -546,8 +546,8 @@ editor.upload_files_to_dir = Upload files to '%s'
commits.commits = Commits
commits.search = Search commits
commits.find = Search
commits.search_all = All branches
commits.find = Find
commits.author = Author
commits.message = Message
commits.date = Date

@ -6,7 +6,11 @@
<div class="ui tiny search input">
<input name="q" placeholder="{{.i18n.Tr "repo.commits.search"}}" value="{{.Keyword}}" autofocus>
</div>
<input type="checkbox" name="all" id="all" value="true" {{.All}}><label for="all">{{.i18n.Tr "repo.commits.search_all"}}</label>
&nbsp;
<div class="ui checkbox">
<input type="checkbox" name="all" id="all" value="true" {{.All}}>
<label for="all">{{.i18n.Tr "repo.commits.search_all"}} &nbsp;&nbsp;</label>
</div>
<button class="ui black tiny button" data-panel="#add-deploy-key-panel">{{.i18n.Tr "repo.commits.find"}}</button>
</form>
</div>

Loading…
Cancel
Save