Browse Source

build and update nre version menou 1 - add auto resixe console and font

master
zeus 3 years ago
parent
commit
5ecf9ace4d
  1. 8
      dist/css/app.0ed1a948.css
  2. 8
      dist/css/app.c7e96b2f.css
  3. 2
      dist/index.html
  4. 2
      dist/js/app.935a411b.js
  5. 1
      dist/js/app.935a411b.js.map
  6. 2
      dist/js/app.94d673b4.js
  7. 1
      dist/js/app.94d673b4.js.map
  8. 89
      src/components/mynetwork/AdhocView.vue
  9. 5
      src/components/mynetwork/availablemicroservices.vue

8
dist/css/app.0ed1a948.css

File diff suppressed because one or more lines are too long

8
dist/css/app.c7e96b2f.css

File diff suppressed because one or more lines are too long

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.0ed1a948.css" rel="preload" as="style"><link href="/css/chunk-vendors.e469b508.css" rel="preload" as="style"><link href="/js/app.935a411b.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.0ed1a948.css" rel="stylesheet"></head><body><div id="app"></div><script src="/js/chunk-vendors.dd2c43c6.js"></script><script src="/js/app.935a411b.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.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>

2
dist/js/app.935a411b.js

File diff suppressed because one or more lines are too long

1
dist/js/app.935a411b.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

89
src/components/mynetwork/AdhocView.vue

@ -1,12 +1,15 @@
<template>
<card class="card-user" style="max-height:100%">
<div class="author"
<div class="author"
v-if="vieconsoleicon"
>
<img class="avatar border-white" src="@/assets/img/code-128.png" alt="...">
</div>
</div>
<b-container fluid class="bv-example-row">
<div class=" col text-center">
<div class="row text-center">
<div class=" col text-center">
<v-wait for="myRunInstance1">
<template slot="waiting">
<div>
@ -15,47 +18,73 @@
</div>
</template>
</v-wait>
</div>
</div>
</b-container>
<b-container fluid class="bv-example-row">
<div class="row text-center">
<div class="col-12 text-center">
<b> <span class="text-muted">Your</span> <span class="text-info"> System Console</span></b>
</div>
</div>
</b-container>
<b-container fluid class="bv-example-row">
<div class="row text-center">
<div class="col-12">
</div>
</b-container>
<br>
<button type="button"
round
class="btn btn-outline-danger btn-sm"
class="btn btn-outline-danger btn-sm float-left"
v-if="extenderror"
@click="runextenderror()">
Error: max depth exceeded</button>
<button type="button"
round
class="btn btn-outline-warning btn-sm"
class="btn btn-outline-warning btn-sm float-left"
v-if="tryConsole"
@click="clear()">
Clear</button>
<button type="button"
round
class="btn btn-outline-info btn-sm"
disabled
>
Console</button>
<button type="button"
round
class="btn btn-outline-info btn-sm"
class="btn btn-outline-info btn-sm float-left"
v-if="cmOptions.keyMap == 'sublime'"
@click="infoFilter">
i</button>
<button
class="btn btn-sm float-center"
round
type="button"
>
&nbsp; &nbsp;
</button>
<button
class="ti-zoom-out btn btn-lg float-right"
round
type="button"
@click="viewminus()">
</button>
<button
class="btn btn-lg text-muted float-right"
round
type="button"
>
<b> {{ fontsize }}</b>px
</button>
<button
class="ti-zoom-in btn btn-lg float-right"
round
type="button"
@click="viewplus()">
</button>
</div>
</div>
</div>
<div class="row">
<div class="row text-center">
<div class="col-12">
<div class="codemirror" >
<codemirror
@ -68,8 +97,8 @@
@input="onCmCodeChange"
></codemirror>
</div>
</div>
</div>
</div>
</b-container>
</card>
@ -234,11 +263,22 @@ export default {
autofocus: false,
extraKeys: { "Ctrl": "autocomplete" }
},
fontsize:11,
ADOC_html:[]
}
},
methods: {
viewplus(){
this.fontsize++
document.documentElement.style.setProperty('--myCmfontSize', this.fontsize+'px')
this.$refs.myCm.codemirror.refresh()
},
viewminus(){
this.fontsize--
document.documentElement.style.setProperty('--myCmfontSize', this.fontsize+'px')
this.$refs.myCm.codemirror.refresh()
},
socketconnect () {
// send to runLLO
this.$root.$emit('SERVER_socket_connect')
@ -440,7 +480,7 @@ export default {
})
// from microservices not view icon
this.$root.$on('hybrid_console_not_view', (v) => {
//console.log(v)
console.log(v)
if(v){
this.vieconsoleicon = true
}else if (!v){
@ -466,10 +506,19 @@ export default {
<style>
:root {
--myCmfontSize: 11px;
}
.CodeMirror {
font-family: monospace;
font-size: var(--myCmfontSize);
/*
font-size: 11px;
*/
font-family: monospace;
height: 550px;
resize: vertical;
overflow: auto !important;
}
</style>

5
src/components/mynetwork/availablemicroservices.vue

@ -815,6 +815,7 @@ export default {
var grepju = new RegExp(filterju);
// newVERSION
//if(grepju.test(data.swarmlabname)){
/*
if(grepju.test(this.hybridoptions.swarmlabname)){
this.viewhybridoptions = false
let value = {}
@ -829,7 +830,9 @@ export default {
//Vue.set(this.testactionrowindex, value.index, value.swarmlabname)
// newVERSION
//}else if(grepmicrosoft.test(data.swarmlabname)){
}else if(grepmicrosoft.test(this.hybridoptions.swarmlabname)){
}else
*/
if(grepmicrosoft.test(this.hybridoptions.swarmlabname)){
this.viewhybridoptions = true
this.heavy = true
this.heavytext = 'Note that this image is somewhat heavy (~2GB) since they embed some of the kernel debug symbols for Microsoft Windows. It can take some time to build the Instance'

Loading…
Cancel
Save