Fix some formatting
This commit is contained in:
parent
dcaceffac6
commit
a3cbf231f0
11
src/App.vue
11
src/App.vue
@ -1,13 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<label>
|
<label>
|
||||||
Show Raw Events JSON <input type="checkbox" v-model="showRawEvents"
|
Show Raw Events JSON <input type="checkbox" v-model="showRawEvents" />
|
||||||
/></label>
|
</label>
|
||||||
<label>
|
<label>
|
||||||
Hide
|
Hide <code>saltutil.find_job</code> jobs
|
||||||
<code>saltutil.find_job</code>
|
<input type="checkbox" v-model="hideFindJob" />
|
||||||
jobs <input type="checkbox" v-model="hideFindJob"
|
</label>
|
||||||
/></label>
|
|
||||||
{{
|
{{
|
||||||
!evtSource || evtSource.readyState == evtSource.CLOSED
|
!evtSource || evtSource.readyState == evtSource.CLOSED
|
||||||
? 'Disconnected'
|
? 'Disconnected'
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
<summary>{{ event_name(event) }}</summary>
|
<summary>{{ event_name(event) }}</summary>
|
||||||
<pre v-if="showRawEvents">{{ JSON.stringify(event, null, 2) }}</pre>
|
<pre v-if="showRawEvents">{{ JSON.stringify(event, null, 2) }}</pre>
|
||||||
<div v-if="isJobEventType(event, 'prog')">
|
<div v-if="isJobEventType(event, 'prog')">
|
||||||
{{ JSON.stringify(event.data.data, null, 2) }}
|
<pre>{{ JSON.stringify(event.data.data, null, 2) }}</pre>
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="isJobEventType(event, 'ret')">
|
<div v-else-if="isJobEventType(event, 'ret')">
|
||||||
{{ event.data.jid }}: {{ event.data.fun }}
|
{{ event.data.jid }}: {{ event.data.fun }}
|
||||||
|
Loading…
Reference in New Issue
Block a user