-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datatables Loading Icon #1406
Datatables Loading Icon #1406
Conversation
- Added html loading icon and behavior for datatables.
if you use webassets for these files instead then then they will be given cache-busting urls automatically so we don't have to do the silly hack like we have for the canada1.css file |
Are you adding this to the ckanext-canada extension because of a BS/WET compatibility issue that would be more complicated to fix in ckan? |
@wardi I did it in the Canada Ext because we had to change the colors, and I personally wanted to reposition the spinner. I also wanted to have the spinner visible on first initialization of the datatable. I can fix this upstream however if you would want. I just assumed that the behavior was intended, as the open-data/ckan@b08efcb <- the note in the commit is We would still probably want to keep the code in this PR for the positioning of it. But in the upstream, I would be adding new datat attributes to the |
Sure, this makes sense here if it's for matching our theme. |
- Used webassets.
@wardi okay it is using webassets now. I think I did it right-ish |
try moving webassets to an |
- Moved datatables assets to `assets` directory.
@wardi okay they are now in an |
feat(templates): loading icon for datatables;