Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions src/components/dash/Tables.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,4 +213,30 @@ module.exports = {
</script>

<style>
/* Using the bootstrap style, but overriding the font to not draw in
the Glyphicons Halflings font as an additional requirement for sorting icons.

An alternative to the solution active below is to use the jquery style
which uses images, but the color on the images does not match adminlte.

@import url('/static/js/plugins/datatables/jquery.dataTables.min.css');
*/

@import url('/static/js/plugins/datatables/dataTables.bootstrap.css');

table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after {
font-family: 'FontAwesome';
}

table.dataTable thead .sorting:after {
content: "\f0dc";
}

table.dataTable thead .sorting_asc:after {
content: "\f0dd";
}

table.dataTable thead .sorting_desc:after {
content: "\f0de";
}
</style>