Closed jacksalssome closed 6 months ago
Would you like to put this into a merge request and I add it?
Ok. Il put some more work into it and get a quality fix for you.
Closing, I submitted a patch: https://github.com/Carve/qbittorrent-webui-cjratliff.com/pull/67
Hi, I got torrents from 0 to 800 ratio.
You probably didn't intend it, but when the ratio hits 10 to 20 it triggers "else if (string > "1.5" && string <= "2")", same with 100 to 200
I don't know JS, but here's my fix:
First i added 2 more purples
Core.css:
I think there's something wrong with the greater than and less than, so I put "Number()" around it and it fixed the colours. 🤷
dynamicTable.js:
It could probably do with re-doing to colors slightly. For example, split the blues into a light and dark up to ratio of 10, light purple to 100 and dark purple till 1000 and then gold after.