Skip to content

Commit 86423da

Browse files
committed
improved app overview
1 parent 964e54f commit 86423da

File tree

3 files changed

+19
-5
lines changed

3 files changed

+19
-5
lines changed

client/src/components/pipelines/appcard.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717
></v-progress-linear>
1818
</template>
1919

20-
<v-card-title>
20+
<v-card-title class="d-flex align-center">
21+
<img
22+
:src="(app.deploymentstrategy != 'docker') ? '/img/icons/hexagon1.svg' : '/img/icons/hexagon1-empty-bold-tp.svg'"
23+
alt="app icon"
24+
style="width: 35px; height: 35px; margin-right: 10px;"
25+
>
2126
<router-link :to="{ name: 'App Dashboard', params: { pipeline: pipeline, phase: phase, app: app.name }}">{{ app.name }}</router-link>
2227
</v-card-title>
2328

client/src/components/pipelines/detail.vue

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,19 @@
44
<Breadcrumbs :items="breadcrumbItems"></Breadcrumbs>
55
</v-container>
66
<v-container :fluid="true">
7-
<h1>{{ pipeline }}</h1>
7+
<!--<h1>{{ pipeline }}</h1>-->
88
<v-layout>
99
<v-row>
1010
<v-col v-for="phase in activePhases" :key="phase.name">
11-
<p><span class="text-uppercase">{{phase.name}}</span><br /><span class="caption">[{{phase.context}}]</span></p>
11+
<h4 class="text-uppercase ml-1">{{phase.name}}</h4>
12+
<v-chip
13+
class="ma-1"
14+
label
15+
size="small"
16+
>
17+
<v-icon icon="mdi-kubernetes" start></v-icon>
18+
{{phase.context}}
19+
</v-chip>
1220

1321

1422
<Appcard v-for="app in phase.apps" :key="app.name"
@@ -28,6 +36,7 @@
2836
:to="{ name: 'App Form', params: { phase: phase.name, pipeline: pipeline, app: 'new'}}"
2937
class="mt-5 navBG"
3038
color="secondary"
39+
size="small"
3140
style="margin-bottom: 5px;"
3241
>
3342
</v-btn>

client/src/components/pipelines/list.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<v-btn
9292
elevation="0"
9393
vartiant="tonal"
94-
small
94+
size="small"
9595
class="ma-2"
9696
color="secondary"
9797
@click="deletePipeline(item.name)"
@@ -103,7 +103,7 @@
103103
<v-btn
104104
elevation="0"
105105
vartiant="tonal"
106-
small
106+
size="small"
107107
class="ma-2"
108108
color="secondary"
109109
:to="{ name: 'Pipeline Form', params: { pipeline: item.name }}"

0 commit comments

Comments
 (0)