Merge pull request #4599 from Ansuel/move-svg

luci-mod-status: move svg to dedicated dir
This commit is contained in:
Jo-Philipp Wich 2020-11-18 00:48:43 +01:00 committed by GitHub
commit 5a0a7cfa74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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({
load: function() {
return Promise.all([
this.loadSVG(L.resource('bandwidth.svg')),
this.loadSVG(L.resource('svg/bandwidth.svg')),
network.getDevices()
]);
},

View file

@ -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'))
]);
},

View file

@ -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'))
]);
},

View file

@ -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 = [];