Hi
I’m adding angular-datatables component for a project based in GN 3.0.
I have done the changes to integrate it, but I have some issues with CSS styling referencing images.
The css style files is mapped in WRO to /static/jquery.dataTables.css, but this CSS has these definitions:
table.dataTable thead .sorting {
background-image: url(“…/images/sort_both.png”);
}
table.dataTable thead .sorting_asc {
background-image: url(“…/images/sort_asc.png”);
}
The problem is caused by the relative path in the CSS styles and the “change” of the CSS url to /static/, causing the images not to be found. For sure, I can copy the images to the GeoNetwork images folder, but looks a really bad good solution.
I guess that similar stuff has happen with other angular components already integrated? Is there any way to map the images also?
Any feedback is welcome. Thanks.
Regards,
Jose García