Merge pull request #4599 from Ansuel/move-svg
luci-mod-status: move svg to dedicated dir
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 973 B After Width: | Height: | Size: 973 B |
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 1 KiB |
|
@ -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()
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -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'))
|
||||
]);
|
||||
},
|
||||
|
||||
|
|
|
@ -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'))
|
||||
]);
|
||||
},
|
||||
|
||||
|
|
|
@ -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 = [];
|
||||
|
||||
|
|