File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -213,4 +213,30 @@ module.exports = {
213213 </script >
214214
215215<style >
216+ /* Using the bootstrap style, but overriding the font to not draw in
217+ the Glyphicons Halflings font as an additional requirement for sorting icons.
218+
219+ An alternative to the solution active below is to use the jquery style
220+ which uses images, but the color on the images does not match adminlte.
221+
222+ @import url('/static/js/plugins/datatables/jquery.dataTables.min.css');
223+ */
224+
225+ @import url (' /static/js/plugins/datatables/dataTables.bootstrap.css' );
226+
227+ table .dataTable thead .sorting :after , table .dataTable thead .sorting_asc :after , table .dataTable thead .sorting_desc :after {
228+ font-family : ' FontAwesome' ;
229+ }
230+
231+ table .dataTable thead .sorting :after {
232+ content : " \f0dc " ;
233+ }
234+
235+ table .dataTable thead .sorting_asc :after {
236+ content : " \f0dd " ;
237+ }
238+
239+ table .dataTable thead .sorting_desc :after {
240+ content : " \f0de " ;
241+ }
216242 </style >
You can’t perform that action at this time.
0 commit comments