gbowne1 / RadioLogger

A Radio Logging application build with NodeJS and ExpressJS
GNU General Public License v3.0
6 stars 6 forks source link

[TODO] Fix image links in /dashboard #20

Closed gbowne1 closed 1 year ago

gbowne1 commented 1 year ago

Fix the images links in the dashboard to the images in /src/client/public/img instead of the image placeholder link.

the path to dashboard is /src/client/public/dashboard/dashboard.html

Phil94comp commented 1 year ago

For the image links on lines 45, 92, 100, 108, 116, 124, 132, and 140 in the dashboard.html file does it matter which images from the img file are used? If so can you please tell me which images from the img folder you want to replace the image placeholder links?

gbowne1 commented 1 year ago

the image should be sized to 200x200.

@Phil94comp

There should be cards labeled:

I have not decided on images or names of the last 2 cards.

jzunigarce commented 1 year ago

Consider using static route for images in html templates

gbowne1 commented 1 year ago

Yeah, CORS is blocking all the assets now though. Try /dashboard and look at the console.

jzunigarce commented 1 year ago

I can fix the link of assets in the dashboard, can you assign me the bug?

gbowne1 commented 1 year ago

I fixed some of it with helmet. Did some reading on CORS and Will push some changes.