Compare commits
No commits in common. "6c7050b0f4d53e8de658d4f26e27f825f003da25" and "1a08acdc7c73294e811ca034ea55f1dae13ab550" have entirely different histories.
6c7050b0f4
...
1a08acdc7c
@ -33,6 +33,9 @@
|
|||||||
authenticated: false
|
authenticated: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
store: () => store
|
||||||
|
},
|
||||||
watch: {
|
watch: {
|
||||||
async client(value, oldvalue) {
|
async client(value, oldvalue) {
|
||||||
if(this.heartbeat) window.clearInterval(this.heartbeat);
|
if(this.heartbeat) window.clearInterval(this.heartbeat);
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<span class="input-group-text">🔎</span>
|
<span class="input-group-text">🔎</span>
|
||||||
<input class="form-control" v-model="query_raw" @focus="collapsed = false" @blur="collapsed = true" />
|
<input class="form-control" v-model="query_raw" />
|
||||||
</div>
|
</div>
|
||||||
<div :class="{ collapsed }" style="max-height: 30em; overflow-y: auto;">
|
<div style="max-height: 30em; overflow-y: auto;">
|
||||||
<table class="table table-striped" style="font-family: monospace;" v-if="resultset_raw && resultset_raw.length > 0">
|
<table class="table table-striped" style="font-family: monospace;" v-if="resultset_raw && resultset_raw.length > 0">
|
||||||
<thead>
|
<thead>
|
||||||
<tr><th></th><th>ID</th><th>Name</th><th>Type</th><th>User</th></tr>
|
<tr><th></th><th>ID</th><th>Name</th><th>Type</th><th>User</th></tr>
|
||||||
@ -27,12 +27,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
|
||||||
.collapsed {
|
|
||||||
height: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { debounce } from './util.mjs';
|
import { debounce } from './util.mjs';
|
||||||
|
|
||||||
@ -63,8 +57,7 @@
|
|||||||
return {
|
return {
|
||||||
resultset_raw: [],
|
resultset_raw: [],
|
||||||
query_raw: '',
|
query_raw: '',
|
||||||
query_view: '',
|
query_view: ''
|
||||||
collapsed: true
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
Loading…
Reference in New Issue
Block a user