Skip to content

Commit 445b9e3

Browse files
committed
Log view style improvements
1 parent 7fdbdf9 commit 445b9e3

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

src/views/Log.vue

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
2626

2727
<template>
2828
<v-container
29-
class="c-log py-0"
29+
class="c-log py-1"
3030
fluid
3131
>
3232
<!-- the controls -->
@@ -36,7 +36,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
3636
class="job-workflow-toggle"
3737
v-model="jobLog"
3838
divided
39+
mandatory
3940
variant="outlined"
41+
color="primary"
4042
>
4143
<v-btn>Workflow</v-btn>
4244
<v-btn>Job</v-btn>
@@ -52,16 +54,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
5254
<v-row dense>
5355
<v-col cols="8">
5456
<v-text-field
55-
class="flex-grow-1 flex-column job-id-input"
5657
v-if="jobLog"
58+
class="flex-grow-1 flex-column job-id-input"
5759
v-model="relativeID"
5860
placeholder="cycle/task/job"
5961
hide-details
6062
clearable
6163
/>
6264
<v-text-field
63-
class="workflow-id-input"
6465
v-else
66+
class="workflow-id-input"
6567
v-model="workflowId"
6668
disabled
6769
hide-details
@@ -82,14 +84,19 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
8284

8385
<!-- the status line -->
8486
<v-row dense>
85-
<v-col v-if="results.path" style="white-space: pre; overflow-x: scroll">
87+
<v-col
88+
v-if="results.path"
89+
class="d-flex align-center overflow-x-auto"
90+
style="white-space: pre"
91+
>
8692
<v-chip
8793
class="connected-icon"
8894
v-if="results.connected"
8995
color="green"
9096
variant="outlined"
97+
:prepend-icon="$options.icons.mdiPowerPlug"
98+
class="flex-shrink-0"
9199
>
92-
<v-icon>{{ $options.icons.mdiPowerPlug }}</v-icon>
93100
Connected
94101
</v-chip>
95102
<v-chip
@@ -98,8 +105,9 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
98105
color="red"
99106
@click="updateQuery"
100107
variant="outlined"
108+
:prepend-icon="$options.icons.mdiPowerPlugOff"
109+
class="flex-shrink-0"
101110
>
102-
<v-icon>{{ $options.icons.mdiPowerPlugOff }}</v-icon>
103111
Reconnect
104112
</v-chip>
105113
<span

0 commit comments

Comments
 (0)