ui: use fontawesome icons in bootgrid (https://github.com/opnsense/core/issues/8101)

This commit is contained in:
Ad Schellevis 2024-12-02 16:56:15 +01:00
parent 622e03ffc0
commit 8a32434b4e
2 changed files with 11 additions and 9 deletions

View File

@ -18,12 +18,14 @@
vertical-align: middle;
width: 180px;
}
.bootgrid-header .search .glyphicon,
.bootgrid-footer .search .glyphicon {
.bootgrid-header .search .fa-solid,
.bootgrid-footer .search .fa-solid {
top: 0;
}
.bootgrid-header .search .fa,
.bootgrid-footer .search .fa {
.bootgrid-header .search .fa-solid,
.bootgrid-footer .search .fa,
.bootgrid-footer .search .fa-solid {
display: table-cell;
}
.bootgrid-header .search.search-field::-ms-clear,

View File

@ -1302,12 +1302,12 @@ Grid.defaults = {
dropDownMenuText: "dropdown-text", // must be a unique class name or constellation of class names within the actionDropDown
footer: "bootgrid-footer container-fluid",
header: "bootgrid-header container-fluid",
icon: "icon glyphicon",
iconColumns: "glyphicon-th-list",
iconDown: "glyphicon-chevron-down",
iconRefresh: "glyphicon-refresh",
iconSearch: "glyphicon-search",
iconUp: "glyphicon-chevron-up",
icon: "icon fa-solid",
iconColumns: "fa-list",
iconDown: "fa-chevron-down",
iconRefresh: "fa-arrows-rotate",
iconSearch: "fa-magnifying-glass",
iconUp: "fa-chevron-up",
infos: "infos", // must be a unique class name or constellation of class names within the header and footer,
left: "text-left",
pagination: "pagination", // must be a unique class name or constellation of class names within the header and footer