diff --git a/web/src/components/ChecksTab.vue b/web/src/components/ChecksTab.vue index 81f4fe69..4d0edd6d 100644 --- a/web/src/components/ChecksTab.vue +++ b/web/src/components/ChecksTab.vue @@ -144,7 +144,7 @@ output @@ -224,7 +224,6 @@ :checkpk="checkpk" /> - @@ -248,7 +247,6 @@ import PingCheck from "@/components/modals/checks/PingCheck"; import WinSvcCheck from "@/components/modals/checks/WinSvcCheck"; import EventLogCheck from "@/components/modals/checks/EventLogCheck"; import ScriptCheck from "@/components/modals/checks/ScriptCheck"; -// refactor below import ScriptOutput from "@/components/modals/checks/ScriptOutput"; import EventLogCheckOutput from "@/components/modals/checks/EventLogCheckOutput"; @@ -277,7 +275,6 @@ export default { showWinSvcCheck: false, showEventLogCheck: false, showScriptCheck: false, - // refactor below showScriptOutput: false, showEventLogOutput: false, scriptInfo: {}, @@ -364,13 +361,12 @@ export default { this.$store.dispatch("loadChecks", id); this.$store.dispatch("loadAutomatedTasks", id); }, - moreInfo(name, output) { + pingInfo(desc, output) { this.$q.dialog({ - title: `${name} output`, - style: "width: 35vw; max-width: 50vw", + title: desc, + style: "width: 50vw; max-width: 60vw", message: `
${output}
`, - html: true, - dark: true + html: true }); }, scriptMoreInfo(props) { @@ -387,6 +383,7 @@ export default { title: "Are you sure?", message: `Delete ${desc}`, cancel: true, + ok: { label: "Delete", color: "negative" }, persistent: true }) .onOk(() => { diff --git a/web/src/components/modals/checks/EventLogCheckOutput.vue b/web/src/components/modals/checks/EventLogCheckOutput.vue index dd3d1644..b75c32ff 100644 --- a/web/src/components/modals/checks/EventLogCheckOutput.vue +++ b/web/src/components/modals/checks/EventLogCheckOutput.vue @@ -6,11 +6,11 @@ -
+
- +
-
{{ scriptInfo.script.name }}
+
{{ scriptInfo.readable_desc }}
@@ -15,15 +15,17 @@ {{ scriptInfo.retcode }}
+
- Standard Output: - + Standard Output + +
{{ scriptInfo.stdout }}
Standard Error: - +
{{ scriptInfo.stderr }}