feat: xterm + UI fixes

This commit is contained in:
Nicolas Giard
2018-08-13 00:12:44 -04:00
parent 453c1beab3
commit c4c1cf007b
11 changed files with 238 additions and 83 deletions

View File

@@ -25,7 +25,7 @@
v-btn(color='primary')
v-icon(left) chevron_right
| Set Services
v-btn(color='black', dark)
v-btn(color='black', dark, @click='toggleConsole')
v-icon(left) keyboard
| View Console
v-btn(color='black', dark)
@@ -45,21 +45,21 @@
v-icon(left) chevron_right
| Save Configuration
v-snackbar(
color='success'
top
v-model='refreshCompleted'
)
v-icon.mr-3(dark) cached
| List of logging services has been refreshed.
logging-console(v-model='showConsole')
</template>
<script>
import _ from 'lodash'
import LoggingConsole from './admin-logging-console.vue'
export default {
components: {
LoggingConsole
},
data() {
return {
showConsole: false,
services: [],
selectedServices: ['console'],
refreshCompleted: false
@@ -80,6 +80,9 @@ export default {
async refresh() {
await this.$apollo.queries.services.refetch()
this.refreshCompleted = true
},
toggleConsole () {
this.showConsole = !this.showConsole
}
}
}