Skip to content

Commit 4b20f28

Browse files
committed
feat: update style
1 parent 7607580 commit 4b20f28

File tree

3 files changed

+39
-26
lines changed

3 files changed

+39
-26
lines changed

web/src/components/AnsibleStageView.vue

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
<div class="pl-5 pt-5 d-flex" style="column-gap: 10px;">
55
<div class="AnsibleServerStatus AnsibleServerStatus--ok">
66
<div class="AnsibleServerStatus__count">{{ okServers }}</div>
7-
<div>OK SERVERS</div>
7+
<div class="AnsibleServerStatus__title">OK SERVERS</div>
88
</div>
99

1010
<div class="AnsibleServerStatus AnsibleServerStatus--bad">
1111
<div class="AnsibleServerStatus__count">{{ notOkServers }}</div>
12-
<div>NOT OK SERVERS</div>
12+
<div class="AnsibleServerStatus__title">NOT OK SERVERS</div>
1313
</div>
1414
</div>
1515

@@ -36,7 +36,8 @@
3636
<td style="width: 150px;">{{ task.host }}</td>
3737
<td style="width: 200px;">{{ task.task }}</td>
3838
<td>
39-
<div style="overflow: hidden; color: red; max-width: 400px; text-overflow: ellipsis">
39+
<div
40+
style="overflow: hidden; color: #ff5252; max-width: 400px; text-overflow: ellipsis">
4041
{{ task.answer }}
4142
</div>
4243
</td>
@@ -76,27 +77,33 @@
7677
</div>
7778
</template>
7879
<style lang="scss">
79-
.AnsibleServerStatus {
80-
text-align: center;
81-
width: 250px;
82-
font-weight: bold;
83-
color: white;
84-
font-size: 24px;
85-
line-height: 1.2;
86-
border-radius: 8px;
87-
}
88-
89-
.AnsibleServerStatus__count {
90-
font-size: 100px;
91-
}
92-
93-
.AnsibleServerStatus--ok {
94-
background-color: green;
95-
}
96-
97-
.AnsibleServerStatus--bad {
98-
background-color: red;
99-
}
80+
.AnsibleServerStatus {
81+
text-align: center;
82+
width: 250px;
83+
font-weight: bold;
84+
color: white;
85+
font-size: 24px;
86+
line-height: 1.2;
87+
border-radius: 8px;
88+
}
89+
90+
.AnsibleServerStatus__count {
91+
padding-top: 10px;
92+
font-size: 80px;
93+
line-height: 1;
94+
}
95+
96+
.AnsibleServerStatus--ok {
97+
background-color: #4caf50;
98+
}
99+
100+
.AnsibleServerStatus--bad {
101+
background-color: #ff5252;
102+
}
103+
104+
.AnsibleServerStatus__title {
105+
padding-bottom: 10px;
106+
}
100107
</style>
101108

102109
<script>

web/src/components/TaskLogView.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@
2525
<div class="overflow-auto text-no-wrap px-5" style="margin-bottom: -40px;">
2626
<TaskStatus :status="item.status" data-testid="task-status" />
2727
<span class="ml-3">
28-
{{ user?.name || '-' }}
29-
{{ item.start | formatDate }}
28+
Started by <b>{{ user?.name || '-' }}</b>
29+
at <b>{{ item.start | formatDate }}</b>
30+
<v-icon
31+
class="ml-3 mr-1" small style="transform: translateY(-1px)">mdi-clock-outline</v-icon>
3032
{{ [item.start, item.end] | formatMilliseconds }}
3133
</span>
3234
</div>

web/src/components/TeamMemberForm.vue

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
:rules="[v => !!v || $t('user_required')]"
2121
required
2222
:disabled="formSaving"
23+
outlined
24+
dense
2325
></v-autocomplete>
2426

2527
<v-select
@@ -31,6 +33,8 @@
3133
:rules="[v => !!v || $t('user_required')]"
3234
required
3335
:disabled="formSaving"
36+
outlined
37+
dense
3438
></v-select>
3539
</v-form>
3640
</template>

0 commit comments

Comments
 (0)