diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-18 00:48:43 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-18 00:48:43 +0100 |
commit | 5a0a7cfa74bb4377f4994efc5b6c4abb3d6c94a9 (patch) | |
tree | 123fc34f0b914c57dd6afbfe178246df2e1ad81d /modules/luci-mod-status/htdocs/luci-static/resources | |
parent | 4dc1fab1be7e83719d2161ec5d05259d9de44c97 (diff) | |
parent | 4429594a43cdabf6889c123b54ac4bfae0a1e407 (diff) |
Merge pull request #4599 from Ansuel/move-svg
luci-mod-status: move svg to dedicated dir
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources')
9 files changed, 5 insertions, 5 deletions
diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/bandwidth.svg b/modules/luci-mod-status/htdocs/luci-static/resources/svg/bandwidth.svg index 5a121b85c6..5a121b85c6 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/bandwidth.svg +++ b/modules/luci-mod-status/htdocs/luci-static/resources/svg/bandwidth.svg diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/connections.svg b/modules/luci-mod-status/htdocs/luci-static/resources/svg/connections.svg index 5794e79426..5794e79426 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/connections.svg +++ b/modules/luci-mod-status/htdocs/luci-static/resources/svg/connections.svg diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/load.svg b/modules/luci-mod-status/htdocs/luci-static/resources/svg/load.svg index 716d37617f..716d37617f 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/load.svg +++ b/modules/luci-mod-status/htdocs/luci-static/resources/svg/load.svg diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/wifirate.svg b/modules/luci-mod-status/htdocs/luci-static/resources/svg/wifirate.svg index e75ea614c9..e75ea614c9 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/wifirate.svg +++ b/modules/luci-mod-status/htdocs/luci-static/resources/svg/wifirate.svg diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/wireless.svg b/modules/luci-mod-status/htdocs/luci-static/resources/svg/wireless.svg index 00cc2a12f1..00cc2a12f1 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/wireless.svg +++ b/modules/luci-mod-status/htdocs/luci-static/resources/svg/wireless.svg diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js index edb934ed93..7953d8dbf5 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js @@ -27,7 +27,7 @@ function rate(n, br) { return view.extend({ load: function() { return Promise.all([ - this.loadSVG(L.resource('bandwidth.svg')), + this.loadSVG(L.resource('svg/bandwidth.svg')), network.getDevices() ]); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js index 4c1b097f2b..cc89811428 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js @@ -36,7 +36,7 @@ Math.log2 = Math.log2 || function(x) { return Math.log(x) * Math.LOG2E; }; return view.extend({ load: function() { return Promise.all([ - this.loadSVG(L.resource('connections.svg')) + this.loadSVG(L.resource('svg/connections.svg')) ]); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js index 3b302dc509..cfb7a96b08 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js @@ -19,7 +19,7 @@ Math.log2 = Math.log2 || function(x) { return Math.log(x) * Math.LOG2E; }; return view.extend({ load: function() { return Promise.all([ - this.loadSVG(L.resource('load.svg')) + this.loadSVG(L.resource('svg/load.svg')) ]); }, diff --git a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js index 171899262a..95077bc10a 100644 --- a/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js +++ b/modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js @@ -21,8 +21,8 @@ Math.log2 = Math.log2 || function(x) { return Math.log(x) * Math.LOG2E; }; return view.extend({ load: function() { return Promise.all([ - this.loadSVG(L.resource('wireless.svg')), - this.loadSVG(L.resource('wifirate.svg')), + this.loadSVG(L.resource('svg/wireless.svg')), + this.loadSVG(L.resource('svg/wifirate.svg')), network.getWifiDevices().then(function(radios) { var tasks = [], all_networks = []; |