diff options
author | harry <harryzhxu@gmail.com> | 2017-10-02 22:27:48 -0500 |
---|---|---|
committer | Lauris BH <lauris@nix.lv> | 2017-10-03 06:27:48 +0300 |
commit | b3cfa5a77ecca54f873d9c477f052770206b3f55 (patch) | |
tree | d85f7203a5864b359f6694484754107417dafab9 /templates/repo | |
parent | a04718a2a6c2cfd46be17572b8220ee14b1bd1ac (diff) | |
download | gitea-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/repo')
-rw-r--r-- | templates/repo/settings/collaboration.tmpl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index 7d1f48340e..4c3c1a5d74 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -42,11 +42,10 @@ <form class="ui form" id="repo-collab-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="collaborator" 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 green button">{{.i18n.Tr "repo.settings.add_collaborator"}}</button> |