From 069c0c93e1045188c9e86c8e7204b0647d2fdb19 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 7 Jul 2018 15:02:37 +0200 Subject: luci-mod-admin-full: use sans-serif fonts for realtime graph legends Signed-off-by: Jo-Philipp Wich --- .../htdocs/luci-static/resources/bandwidth.svg | 12 ++++++------ .../htdocs/luci-static/resources/connections.svg | 14 +++++++------- .../htdocs/luci-static/resources/load.svg | 14 +++++++------- .../htdocs/luci-static/resources/wifirate.svg | 10 +++++----- .../htdocs/luci-static/resources/wireless.svg | 12 ++++++------ .../luasrc/view/admin_status/connections.htm | 2 +- .../luci-mod-admin-full/luasrc/view/admin_status/load.htm | 2 +- .../luasrc/view/admin_status/wireless.htm | 4 ++-- 8 files changed, 35 insertions(+), 35 deletions(-) diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/bandwidth.svg b/modules/luci-mod-admin-full/htdocs/luci-static/resources/bandwidth.svg index 4f9148833..d7f0eeef3 100644 --- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/bandwidth.svg +++ b/modules/luci-mod-admin-full/htdocs/luci-static/resources/bandwidth.svg @@ -2,15 +2,15 @@ + + + - + - + - - - - + diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/connections.svg b/modules/luci-mod-admin-full/htdocs/luci-static/resources/connections.svg index 816f7e6a7..40ee6c409 100644 --- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/connections.svg +++ b/modules/luci-mod-admin-full/htdocs/luci-static/resources/connections.svg @@ -2,16 +2,16 @@ + + + + - + - + - - - - - + diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/load.svg b/modules/luci-mod-admin-full/htdocs/luci-static/resources/load.svg index d6817027a..e705d5261 100644 --- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/load.svg +++ b/modules/luci-mod-admin-full/htdocs/luci-static/resources/load.svg @@ -2,16 +2,16 @@ + + + + - + - + - - - - - + diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/wifirate.svg b/modules/luci-mod-admin-full/htdocs/luci-static/resources/wifirate.svg index d3e848b93..7184cbb03 100644 --- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/wifirate.svg +++ b/modules/luci-mod-admin-full/htdocs/luci-static/resources/wifirate.svg @@ -2,14 +2,14 @@ + + - + - + - - - + diff --git a/modules/luci-mod-admin-full/htdocs/luci-static/resources/wireless.svg b/modules/luci-mod-admin-full/htdocs/luci-static/resources/wireless.svg index 99d9840f6..aa1f63f10 100644 --- a/modules/luci-mod-admin-full/htdocs/luci-static/resources/wireless.svg +++ b/modules/luci-mod-admin-full/htdocs/luci-static/resources/wireless.svg @@ -2,15 +2,15 @@ + + + - + - + - - - - + diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm index ae8a6bb7c..152167424 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/connections.htm @@ -124,7 +124,7 @@ var text = G.createElementNS('http://www.w3.org/2000/svg', 'text'); text.setAttribute('x', i + 5); text.setAttribute('y', 15); - text.setAttribute('style', 'fill:#999999; font-size:9pt'); + text.setAttribute('style', 'fill:#999999; font-size:9pt; font-family:sans-serif'); text.appendChild(G.createTextNode(Math.round((width - i) / step / 60) + 'm')); label_25.parentNode.appendChild(line); diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm index dc7d927de..8cd36a308 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/load.htm @@ -119,7 +119,7 @@ var text = G.createElementNS('http://www.w3.org/2000/svg', 'text'); text.setAttribute('x', i + 5); text.setAttribute('y', 15); - text.setAttribute('style', 'fill:#999999; font-size:9pt'); + text.setAttribute('style', 'fill:#999999; font-size:9pt; font-family:sans-serif'); text.appendChild(G.createTextNode(Math.round((width - i) / step / 60) + 'm')); label_25.parentNode.appendChild(line); diff --git a/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm b/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm index 1806f4a6c..a19a1235b 100644 --- a/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm +++ b/modules/luci-mod-admin-full/luasrc/view/admin_status/wireless.htm @@ -141,7 +141,7 @@ var text = G.createElementNS('http://www.w3.org/2000/svg', 'text'); text.setAttribute('x', i + 5); text.setAttribute('y', 15); - text.setAttribute('style', 'fill:#999999; font-size:9pt'); + text.setAttribute('style', 'fill:#999999; font-size:9pt; font-family:sans-serif'); text.appendChild(G.createTextNode(Math.round((width - i) / step / 60) + 'm')); label_25.parentNode.appendChild(line); @@ -158,7 +158,7 @@ var text2 = G2.createElementNS('http://www.w3.org/2000/svg', 'text'); text2.setAttribute('x', i + 5); text2.setAttribute('y', 15); - text2.setAttribute('style', 'fill:#999999; font-size:9pt'); + text2.setAttribute('style', 'fill:#999999; font-size:9pt; font-family:sans-serif'); text2.appendChild(G.createTextNode(Math.round((width - i) / step / 60) + 'm')); label_25_2.parentNode.appendChild(line2); -- cgit v1.2.3