mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-26 01:51:40 +00:00
fixed var names in website
This commit is contained in:
@@ -196,8 +196,9 @@ class SettingsManager(metaclass=Singleton):
|
||||
self.save_settings()
|
||||
|
||||
# after all values has been set change settings
|
||||
ChangeIP(connection_type=self.general_settings['connection_type'] ,hostname=self.general_settings['hostname'], ip=self.general_settings['ip'],
|
||||
netmask=self.general_settings['netmask'], gateway=self.general_settings['gateway'])
|
||||
ChangeIP(connection_type=self.general_settings['connection_type'] ,hostname=self.general_settings['hostname'],
|
||||
ip=self.general_settings['ip'], netmask=self.general_settings['netmask'],
|
||||
gateway=self.general_settings['gateway'])
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>Chameleon Vision</title><link href=/css/app.bd8aa8d9.css rel=preload as=style><link href=/js/app.5bd5cd15.js rel=preload as=script><link href=/js/chunk-vendors.a3ecb371.js rel=preload as=script><link href=/css/app.bd8aa8d9.css rel=stylesheet></head><body><noscript><strong>We're sorry but Chameleon Vision doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.a3ecb371.js></script><script src=/js/app.5bd5cd15.js></script></body></html>
|
||||
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><link rel=icon href=/favicon.ico><title>Chameleon Vision</title><link href=/css/app.bd8aa8d9.css rel=preload as=style><link href=/js/app.10bc1021.js rel=preload as=script><link href=/js/chunk-vendors.a3ecb371.js rel=preload as=script><link href=/css/app.bd8aa8d9.css rel=stylesheet></head><body><noscript><strong>We're sorry but Chameleon Vision doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.a3ecb371.js></script><script src=/js/app.10bc1021.js></script></body></html>
|
||||
2
backend/app/site/js/app.10bc1021.js
Normal file
2
backend/app/site/js/app.10bc1021.js
Normal file
File diff suppressed because one or more lines are too long
1
backend/app/site/js/app.10bc1021.js.map
Normal file
1
backend/app/site/js/app.10bc1021.js.map
Normal file
File diff suppressed because one or more lines are too long
@@ -82,6 +82,7 @@
|
||||
'team_number':this.team_number,
|
||||
'connection_type':this.connection_type,
|
||||
'ip':this.ip,
|
||||
'netmask':this.netmask,
|
||||
'gateway':this.gateway,
|
||||
'hostname':this.hostname}});
|
||||
}
|
||||
@@ -115,7 +116,7 @@
|
||||
get: function(){
|
||||
return this.$store.state.netmask;
|
||||
},
|
||||
set: function(){
|
||||
set: function(value){
|
||||
this.$store.commit('netmask',value);
|
||||
}
|
||||
},
|
||||
@@ -136,7 +137,7 @@
|
||||
}
|
||||
},
|
||||
isConnection: function(){
|
||||
if(this.connectionType == "DHCP"){
|
||||
if(this.connection_type == "DHCP"){
|
||||
return true
|
||||
} else{
|
||||
return false
|
||||
|
||||
@@ -70,7 +70,7 @@ export const store = new Vuex.Store({
|
||||
connection_type: set('connection_type'),
|
||||
ip: set('ip'),
|
||||
netmask: set('netmask'),
|
||||
gateWay : set('gateway'),
|
||||
gateway : set('gateway'),
|
||||
hostname : set('hostname'),
|
||||
is_binary: set('is_binary'),
|
||||
cameraList : set('cameraList'),
|
||||
@@ -102,7 +102,7 @@ export const store = new Vuex.Store({
|
||||
connection_type: state => state.connectionType,
|
||||
ip: state => state.ip,
|
||||
netmask: state => state.netmask,
|
||||
gateWay: state => state.gateWay,
|
||||
gateway: state => state.gateway,
|
||||
hostname: state => state.hostName,
|
||||
is_binary: state => state.is_binary,
|
||||
cameraList: state => state.cameraList,
|
||||
|
||||
Reference in New Issue
Block a user