msramalho / SigTools

📆 Sigarra Tools | An extension that makes the information system of the University of Porto slightly better.
https://chrome.google.com/webstore/detail/sigarra-to-calendar/piefgbacnljenipiifjopkfifeljjkme
Apache License 2.0
37 stars 0 forks source link

CSS for DataTables library is apparently not loading #79

Closed fabiodrg closed 2 years ago

fabiodrg commented 3 years ago

Now: image image

Expected results: image

Basically, the sorting buttons are there and I click on them, but they are not styled.

fabiodrg commented 3 years ago

Actually, the problem is that DataTable library uses images for the sorting icons, although they don't seem to provide them on the downloads section :shrug: I could extract the images from the live demos and fix the CSS rules to point to the correct location, but I think I will just simply use Unicode characters to present the arrows. That's enough to indicate that columns are sortable and whether a column is sorted ascendingly or descendingly.

msramalho commented 3 years ago

Yeah, keeping it simple sounds the way to go here

fabiodrg commented 3 years ago

Thanks for your input! I have some work ready locally, I just need a few minutes to organize the commits and prepare a PR. Preview: image