diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-01-24 21:43:02 -0500 |
---|---|---|
committer | Lunny Xiao <xiaolunwen@gmail.com> | 2017-01-25 10:43:02 +0800 |
commit | 833f8b94c2cd88277eba32984594aad2b7b2b05d (patch) | |
tree | ad197af65043b654f0c64702db707b9335568bd7 /templates/repo/issue/search.tmpl | |
parent | 8bc431952f4ae76559054c3a9f41804b145d9230 (diff) | |
download | gitea-833f8b94c2cd88277eba32984594aad2b7b2b05d.tar.gz gitea-833f8b94c2cd88277eba32984594aad2b7b2b05d.zip |
Search bar for issues/pulls (#530)
Diffstat (limited to 'templates/repo/issue/search.tmpl')
-rw-r--r-- | templates/repo/issue/search.tmpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/templates/repo/issue/search.tmpl b/templates/repo/issue/search.tmpl new file mode 100644 index 0000000000..5e0f9a562d --- /dev/null +++ b/templates/repo/issue/search.tmpl @@ -0,0 +1,13 @@ +<form class="ui form"> + <div class="ui fluid action input"> + <input type="hidden" name="type" value="{{$.ViewType}}"/> + <input type="hidden" name="state" value="{{$.State}}"/> + <input type="hidden" name="labels" value="{{.SelectLabels}}"/> + <input type="hidden" name="milestone" value="{{$.MilestoneID}}"/> + <input type="hidden" name="assignee" value="{{$.AssigneeID}}"/> + <div class="ui search action input"> + <input name="q" value="{{.Keyword}}" placeholder="{{.i18n.Tr "explore.search"}}..." autofocus> + </div> + <button class="ui blue button" type="submit">{{.i18n.Tr "explore.search"}}</button> + </div> +</form> |