mirror of https://github.com/apache/cloudstack.git
Search bar: add placeholder text
This commit is contained in:
parent
8978f8cd8a
commit
f0cec55fea
|
|
@ -853,7 +853,12 @@
|
|||
var createSearchBar = function($toolbar, listViewData) {
|
||||
var $search = $('<div></div>').addClass('text-search reduced-hide');
|
||||
var $searchBar = $('<div></div>').addClass('search-bar reduced hide').appendTo($search);
|
||||
$searchBar.append('<input type="text" />');
|
||||
$searchBar.append($(
|
||||
$('<input>').attr({
|
||||
type: 'text',
|
||||
placeholder: _l('label.search')
|
||||
})
|
||||
));
|
||||
$search.append('<div id="basic_search" class="button search"></div>');
|
||||
|
||||
if (listViewData.advSearchFields != null) {
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@
|
|||
// specific language governing permissions and limitations
|
||||
// under the License.
|
||||
@mixin csui-list {
|
||||
margin: 20px;
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue