Browse Source

build and update nre version menou 1 - fontsize global

master
zeus 3 years ago
parent
commit
89f15214ca
  1. 2
      dist/index.html
  2. 2
      dist/js/app.2450b7fa.js
  3. 1
      dist/js/app.2450b7fa.js.map
  4. 2
      dist/js/app.94d673b4.js
  5. 1
      dist/js/app.94d673b4.js.map
  6. 14
      src/components/mynetwork/AdhocView.vue
  7. 11
      src/store/modules/create_pipelineLLO.js

2
dist/index.html

@ -1 +1 @@
<!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><link href="/css/app.c7e96b2f.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.94d673b4.js" rel="preload" as="script"><link href="/js/chunk-vendors.dd2c43c6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.c7e96b2f.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.dd2c43c6.js"></script><script src="/js/app.94d673b4.js"></script></body></html> <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Vue App</title><link href="/css/app.c7e96b2f.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.2450b7fa.js" rel="preload" as="script"><link href="/js/chunk-vendors.dd2c43c6.js" rel="preload" as="script"><link href="/css/chunk-vendors.e469b508.css" rel="stylesheet"><link href="/css/app.c7e96b2f.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.dd2c43c6.js"></script><script src="/js/app.2450b7fa.js"></script></body></html>

2
dist/js/app.2450b7fa.js

File diff suppressed because one or more lines are too long

1
dist/js/app.2450b7fa.js.map

File diff suppressed because one or more lines are too long

2
dist/js/app.94d673b4.js

File diff suppressed because one or more lines are too long

1
dist/js/app.94d673b4.js.map

File diff suppressed because one or more lines are too long

14
src/components/mynetwork/AdhocView.vue

@ -269,15 +269,28 @@ export default {
}, },
methods: { methods: {
setconsolefont(){
this.fontsize = store.getters['pipelineLLO/getmyCmfontSize']
document.documentElement.style.setProperty('--myCmfontSize', this.fontsize+'px')
this.$refs.myCm.codemirror.refresh()
},
viewplus(){ viewplus(){
this.fontsize = store.getters['pipelineLLO/getmyCmfontSize']
this.fontsize++ this.fontsize++
document.documentElement.style.setProperty('--myCmfontSize', this.fontsize+'px') document.documentElement.style.setProperty('--myCmfontSize', this.fontsize+'px')
this.$refs.myCm.codemirror.refresh() this.$refs.myCm.codemirror.refresh()
var log = store.dispatch("pipelineLLO/setmyCmfontSize",{
size:this.fontsize
})
}, },
viewminus(){ viewminus(){
this.fontsize = store.getters['pipelineLLO/getmyCmfontSize']
this.fontsize-- this.fontsize--
document.documentElement.style.setProperty('--myCmfontSize', this.fontsize+'px') document.documentElement.style.setProperty('--myCmfontSize', this.fontsize+'px')
this.$refs.myCm.codemirror.refresh() this.$refs.myCm.codemirror.refresh()
var log = store.dispatch("pipelineLLO/setmyCmfontSize",{
size:this.fontsize
})
}, },
socketconnect () { socketconnect () {
// send to runLLO // send to runLLO
@ -486,6 +499,7 @@ export default {
}else if (!v){ }else if (!v){
this.vieconsoleicon = false this.vieconsoleicon = false
} }
this.setconsolefont()
}) })
}, },

11
src/store/modules/create_pipelineLLO.js

@ -10,9 +10,13 @@ export default {
socketStatus:'close', socketStatus:'close',
status: {}, status: {},
statusswarmlab: {}, statusswarmlab: {},
myCmfontSize: 11,
config: {} config: {}
}, },
getters: { getters: {
getmyCmfontSize (state, container) {
return state.myCmfontSize
},
getsocketStatus (state, container) { getsocketStatus (state, container) {
return state.socketStatus return state.socketStatus
}, },
@ -33,6 +37,9 @@ export default {
} }
}, },
mutations: { mutations: {
set_myCmfontSize (state, data) {
state.myCmfontSize=data;
},
set_socketStatus (state, data) { set_socketStatus (state, data) {
state.socketStatus=data; state.socketStatus=data;
}, },
@ -56,6 +63,10 @@ export default {
} }
}, },
actions: { actions: {
setmyCmfontSize({commit}, value) {
//console.log("container "+value)
commit('set_myCmfontSize', value.size)
},
addstatusswarmlab({commit}, value) { addstatusswarmlab({commit}, value) {
commit('add_statusswarmlab', value) commit('add_statusswarmlab', value)
}, },

Loading…
Cancel
Save