forked from gitea/gitea
1
0
Fork 0

Commit search appearence fixes (#1254)

* Fix button text to be consisstent with rest of UI

* Make all commits checkbox look nicer
This commit is contained in:
Patrick G 2017-04-05 21:32:59 -04:00 committed by Lunny Xiao
parent 0cee52e0d3
commit d800305b34
2 changed files with 6 additions and 2 deletions

View File

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

View File

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