Adds a user search field with autocompleter on project members screen.
User selection with checkboxes is disabled if there are more than 300 users available (#2993). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2638 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -327,7 +327,7 @@ a.atom { background: url(../images/feed.png) no-repeat 1px 50%; padding: 2px 0px
|
||||
/* Project members tab */
|
||||
div#tab-content-members .splitcontentleft { width: 64% }
|
||||
div#tab-content-members .splitcontentright { width: 34% }
|
||||
div#tab-content-members fieldset { margin-top: -8px; padding-top:0.6em; margin-bottom: 1em; }
|
||||
div#tab-content-members fieldset { padding:1em; margin-bottom: 1em; }
|
||||
div#tab-content-members fieldset legend { font-weight: bold; }
|
||||
div#tab-content-members fieldset label { display: block; }
|
||||
div#tab-content-members fieldset div { max-height: 400px; overflow:auto; }
|
||||
@@ -486,6 +486,36 @@ border-bottom: 1px solid #fff;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
/***** Auto-complete *****/
|
||||
div.autocomplete {
|
||||
position:absolute;
|
||||
width:250px;
|
||||
background-color:white;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
div.autocomplete ul {
|
||||
list-style-type:none;
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
div.autocomplete ul li.selected { background-color: #ffb;}
|
||||
div.autocomplete ul li {
|
||||
list-style-type:none;
|
||||
display:block;
|
||||
margin:0;
|
||||
padding:2px;
|
||||
cursor:pointer;
|
||||
font-size: 90%;
|
||||
border-bottom: 1px solid #ccc;
|
||||
border-left: 1px solid #ccc;
|
||||
border-right: 1px solid #ccc;
|
||||
}
|
||||
div.autocomplete ul li span.informal {
|
||||
font-size: 80%;
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
/***** Diff *****/
|
||||
.diff_out { background: #fcc; }
|
||||
.diff_in { background: #cfc; }
|
||||
|
||||
Reference in New Issue
Block a user