diff options
author | Paul Donald <newtwen+github@gmail.com> | 2024-11-30 23:46:07 +0100 |
---|---|---|
committer | Paul Donald <newtwen+github@gmail.com> | 2024-11-30 23:48:13 +0100 |
commit | dfd802abdcd98100d509a6c84014f6854584b8b9 (patch) | |
tree | 2f1c6708c93a5de8520b83cdd796d53ed0baf8fb /modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include | |
parent | 523fcf48154e9b2abcc3fc78eb24fc1eda6f19f1 (diff) |
luci-mod-dashboard: partially invert the black SVG in dark mode
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
Diffstat (limited to 'modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include')
3 files changed, 4 insertions, 4 deletions
diff --git a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/10_router.js b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/10_router.js index 4cc671da52..639d372e1e 100644 --- a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/10_router.js +++ b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/10_router.js @@ -44,7 +44,7 @@ return baseclass.extend({ 'src': L.resource('view/dashboard/icons/' + icon + '.svg'), 'width': 'router' == type ? 64 : 54, 'title': title, - 'class': 'middle' + 'class': (type == 'router' || icon == 'not-internet') ? 'middle svgmonotone' : 'middle' }), E('h3', title) ])); @@ -320,7 +320,7 @@ return baseclass.extend({ release: { title: _('Firmware Version'), - value: boardinfo.release.description + value: boardinfo?.release?.description } }; diff --git a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/20_lan.js b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/20_lan.js index 9f4edce288..27ecc0f7bf 100644 --- a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/20_lan.js +++ b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/20_lan.js @@ -40,7 +40,7 @@ return baseclass.extend({ 'src': L.resource('view/dashboard/icons/devices.svg'), 'width': 55, 'title': this.title, - 'class': 'middle' + 'class': 'middle svgmonotone' }), E('h3', this.title) ])); diff --git a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js index f87131ceac..2872c6a3e8 100644 --- a/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js +++ b/modules/luci-mod-dashboard/htdocs/luci-static/resources/view/dashboard/include/30_wifi.js @@ -41,7 +41,7 @@ return baseclass.extend({ 'src': L.resource('view/dashboard/icons/wireless.svg'), 'width': 55, 'title': this.title, - 'class': 'middle' + 'class': 'middle svgmonotone' }), E('h3', this.title) ])); |