summaryrefslogtreecommitdiffstats
path: root/templates/org/member
diff options
context:
space:
mode:
authorharry <harryzhxu@gmail.com>2017-10-02 22:27:48 -0500
committerLauris BH <lauris@nix.lv>2017-10-03 06:27:48 +0300
commitb3cfa5a77ecca54f873d9c477f052770206b3f55 (patch)
treed85f7203a5864b359f6694484754107417dafab9 /templates/org/member
parenta04718a2a6c2cfd46be17572b8220ee14b1bd1ac (diff)
downloadgitea-b3cfa5a77ecca54f873d9c477f052770206b3f55.tar.gz
gitea-b3cfa5a77ecca54f873d9c477f052770206b3f55.zip
Use Semantic UI's Search component for user and repo search (#2636)
* Use search component on org invitation user input. * Search component for collaboration and members. * Search component for repo search. * minCharacters for search input * Display full_name for user search. * Fixed missing uid query parameter for repo search. * Removed unused comment.
Diffstat (limited to 'templates/org/member')
-rw-r--r--templates/org/member/invite.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/org/member/invite.tmpl b/templates/org/member/invite.tmpl
index 29e7928f0c..e5d1575939 100644
--- a/templates/org/member/invite.tmpl
+++ b/templates/org/member/invite.tmpl
@@ -8,11 +8,10 @@
<form class="ui form" action="{{.Link}}" method="post">
{{.CsrfTokenHtml}}
<div class="inline field ui left">
- <div id="search-user-box">
+ <div id="search-user-box" class="ui search">
<div class="ui input">
<input class="prompt" name="uname" placeholder="{{.i18n.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off" autofocus required>
</div>
- <div class="ui segment results hide"></div>
</div>
</div>
<button class="ui blue button">{{.i18n.Tr "org.members.invite_now"}}</button>