1
0
mirror of https://github.com/ceph/ceph synced 2025-04-01 23:02:17 +00:00

mgr/dashboard_v2: Let the pagination input field look nicer

Signed-off-by: Volker Theile <vtheile@suse.com>
This commit is contained in:
Volker Theile 2018-02-07 17:53:44 +01:00 committed by Ricardo Dias
parent 7457e39482
commit f307d93392
No known key found for this signature in database
GPG Key ID: 74390C579BD37B68
2 changed files with 7 additions and 4 deletions
src/pybind/mgr/dashboard_v2/frontend/src/app/shared/components/table

View File

@ -12,8 +12,7 @@
<span class="input-group-addon">
<i class="glyphicon glyphicon-search"></i>
</span>
<input
class="form-control"
<input class="form-control"
type="text"
[(ngModel)]="search"
(keyup)='updateFilter($event)'>
@ -28,8 +27,9 @@
<!-- end search -->
<!-- pagination limit -->
<div class="dataTables_length widget-toolbar">
<input type="number"
<div class="input-group dataTables_paginate">
<input class="form-control"
type="number"
min="1"
max="9999"
[value]="limit"

View File

@ -74,6 +74,9 @@
}
}
}
.input-group.dataTables_paginate {
width: 8%;
}
}
::ng-deep .oadatatable {