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>
This commit is contained in:
Ansuel Smith 2020-11-17 23:14:47 +01:00
parent 1da9df8376
commit 4429594a43
No known key found for this signature in database
GPG key ID: AC001D09ADBFEAD7
9 changed files with 5 additions and 5 deletions

View file

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

Before

Width:  |  Height:  |  Size: 973 B

After

Width:  |  Height:  |  Size: 973 B

View file

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 1 KiB

View file

@ -27,7 +27,7 @@ function rate(n, br) {
return view.extend({ return view.extend({
load: function() { load: function() {
return Promise.all([ return Promise.all([
this.loadSVG(L.resource('bandwidth.svg')), this.loadSVG(L.resource('svg/bandwidth.svg')),
network.getDevices() network.getDevices()
]); ]);
}, },

View file

@ -36,7 +36,7 @@ Math.log2 = Math.log2 || function(x) { return Math.log(x) * Math.LOG2E; };
return view.extend({ return view.extend({
load: function() { load: function() {
return Promise.all([ return Promise.all([
this.loadSVG(L.resource('connections.svg')) this.loadSVG(L.resource('svg/connections.svg'))
]); ]);
}, },

View file

@ -19,7 +19,7 @@ Math.log2 = Math.log2 || function(x) { return Math.log(x) * Math.LOG2E; };
return view.extend({ return view.extend({
load: function() { load: function() {
return Promise.all([ return Promise.all([
this.loadSVG(L.resource('load.svg')) this.loadSVG(L.resource('svg/load.svg'))
]); ]);
}, },

View file

@ -21,8 +21,8 @@ Math.log2 = Math.log2 || function(x) { return Math.log(x) * Math.LOG2E; };
return view.extend({ return view.extend({
load: function() { load: function() {
return Promise.all([ return Promise.all([
this.loadSVG(L.resource('wireless.svg')), this.loadSVG(L.resource('svg/wireless.svg')),
this.loadSVG(L.resource('wifirate.svg')), this.loadSVG(L.resource('svg/wifirate.svg')),
network.getWifiDevices().then(function(radios) { network.getWifiDevices().then(function(radios) {
var tasks = [], all_networks = []; var tasks = [], all_networks = [];