summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-status/htdocs/luci-static/resources/view
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2020-11-17 23:14:47 +0100
committerAnsuel Smith <ansuelsmth@gmail.com>2020-11-18 00:43:44 +0100
commit4429594a43cdabf6889c123b54ac4bfae0a1e407 (patch)
tree6fa068613b25467ae72da5c4bc09c3c238605e55 /modules/luci-mod-status/htdocs/luci-static/resources/view
parent1da9df837685b3a2afc80125d056e37198933533 (diff)
luci-mod-status: move svg to dedicated dir
Move svgs from top dir to a dedicated svgs dir. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'modules/luci-mod-status/htdocs/luci-static/resources/view')
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/bandwidth.js2
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/connections.js2
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/load.js2
-rw-r--r--modules/luci-mod-status/htdocs/luci-static/resources/view/status/wireless.js4
4 files changed, 5 insertions, 5 deletions
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 = [];