diff --git a/src/components/log.vue b/src/components/log.vue index dbec0d7..e079679 100644 --- a/src/components/log.vue +++ b/src/components/log.vue @@ -1,12 +1,10 @@ diff --git a/src/components/step.vue b/src/components/step.vue index a4c295f..7defc7e 100644 --- a/src/components/step.vue +++ b/src/components/step.vue @@ -16,15 +16,56 @@ {{ duration }} -
- +
+
+
+ + Shell + {{ step.shell}} + + + Exit Status + {{ step.exit_status}} + +
+
+ + Command +
+
+
{{ step.command}}
+
+
+
Log
+
+ +
@@ -45,6 +86,7 @@ export default { data() { return { active: false, + commandActive: true, now: moment() }; }, @@ -80,15 +122,12 @@ export default { methods: { toggle() { this.active = !this.active; - if (this.active) { - this.$emit("step-open", this.index); - } + }, + toggleCommand() { + this.commandActive = !this.commandActive; } }, created() { - if (this.active) { - this.$emit("step-open", this.index); - } window.setInterval(() => { this.now = moment(); }, 500);