missing icons

Kalle Kilpinen7 years ago

Hi, now I have lost all icons of the units?? I havent done anything...perhaps its a chrome issue. I think so couse we havent done anything to TS....nope I tried also Opera. Same issue ie missing icons of the units.

Anton Tananaev7 years ago

Check browser console.

Haim Rodrik5 years ago

Anton, I check the console, I find an error on load.js line 9 => document.head.appendChild(link);

line 168:
GET https://cdnjs.cloudflare.com/ajax/libs/extjs/6.2.0/packages/charts/classic/aria/resources/charts-all.css  net :: ERR_ABORTED 404 

That's why the icons disappeared. I don't know what to do next.

Anton Tananaev5 years ago

Can you please provide some evidence of your claim that it causes the icons to disappear.

Haim Rodrik5 years ago

As same here in picture https://uploaddeimagens.com.br/imagens/traccar-theme-aria-png
I followed all the relevant topics and your solutions before writing here.

Tried also your link https://github.com/traccar/traccar-web/commit/af6be7f7dbdcdc8870393204b527f1fbea008498

Something missing or skipped for sure

henry beltran5 years ago

Seeing the posted image, apparently you did it a modification to the "aria" package, when making that change, the "fontawesome" package should be added, that is done by adding it in the load.js file

...
    extjsVersion = '6.2.0';
   fontAwesomeVersion = '4.7.0';
    olVersion = '5.3.0';
    proj4jsVersion = '2.5.0';
...
addStyleFile('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/' + fontAwesomeVersion + '/css/font-awesome.min.css');
...
Haim Rodrik5 years ago

Thank you. It's works