Skip to content

Commit 8eac925

Browse files
committed
fix(tasks): summary style
1 parent 0f01dd7 commit 8eac925

File tree

2 files changed

+17
-7
lines changed

2 files changed

+17
-7
lines changed

web/src/components/AnsibleStageView.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,9 @@
6767
font-size: 14px;
6868
color: white;
6969
border-radius: 10px;
70-
white-space: wrap;
71-
margin-top: 5px; margin-bottom: 5px;"
70+
white-space: pre-wrap;
71+
margin-top: 5px;
72+
margin-bottom: 5px;"
7273

7374
class="pa-2"
7475
>{{ item.error.trim() }}</pre>

web/src/components/TaskDetails.vue

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,31 +106,40 @@
106106
</v-card>
107107
</v-col>
108108
<v-col cols="12" md="6">
109-
<v-card v-if="item?.params">
109+
<v-card
110+
v-if="item?.params"
111+
:color="$vuetify.theme.dark ? '#212121' : 'white'"
112+
style="background: #8585850f"
113+
class="mb-5"
114+
>
110115
<v-card-title>Task parameters</v-card-title>
111116
<v-card-text>
112117
<v-simple-table class="pa-0 TaskDetails__table">
113118
<template v-slot:default>
114119
<tbody>
115120
<tr>
116121
<td><b>Limit</b></td>
117-
<td>{{ item.params.limit }}</td>
122+
<td>
123+
{{ item.params.limit ? 'Yes' : 'No' }}
124+
</td>
118125
</tr>
119126
<tr>
120127
<td><b>Debug</b></td>
121-
<td>{{ item.params.debug }}</td>
128+
<td>
129+
{{ item.params.debug ? 'Yes' : 'No' }}
130+
</td>
122131
</tr>
123132
<tr>
124133
<td><b>Debug level</b></td>
125134
<td>{{ item.params.debug_level }}</td>
126135
</tr>
127136
<tr>
128137
<td><b>Diff</b> <code>--diff</code></td>
129-
<td>{{ item.params.diff }}</td>
138+
<td>{{ item.params.diff ? 'Yes' : 'No' }}</td>
130139
</tr>
131140
<tr>
132141
<td><b>Dry run</b> <code>--check</code></td>
133-
<td>{{ item.params.dry_run }}</td>
142+
<td>{{ item.params.dry_run ? 'Yes' : 'No' }}</td>
134143
</tr>
135144
<tr>
136145
<td><b>Environment</b></td>

0 commit comments

Comments
 (0)