Skip to content

Commit 9afe1e3

Browse files
authored
Merge pull request #47 from kubero-dev/fix/improve-pipelineview-status-icon
Fix / improve pipelineview status icon
2 parents cb463c2 + 913f865 commit 9afe1e3

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed
Lines changed: 4 additions & 0 deletions
Loading
Lines changed: 4 additions & 0 deletions
Loading

client/src/components/pipelines/list.vue

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<v-col cols="12" sm="12" md="6">
3131
<a :href="'/#/pipeline/'+item.name+'/apps'">
3232
<v-card-title>
33-
<v-icon left>mdi-{{ item.deploymentstrategy}}</v-icon>
33+
<v-icon left :class=" (item.git.repository.admin == true) ? 'connected' : 'disconnected' "></v-icon>
3434
<span class="text-h5">{{ item.name }}</span>
3535
</v-card-title>
3636
<v-card-text>
@@ -131,4 +131,34 @@ export default {
131131
text-decoration: none;
132132
color: #8560A9 !important;
133133
}
134+
135+
.connected{
136+
background-image: url('./../../../public/img/icons/connected.svg');
137+
background-size: contain;
138+
background-repeat: no-repeat;
139+
filter: invert(39%) sepia(47%) saturate(584%) hue-rotate(228deg) brightness(95%) contrast(80%);
140+
/*filter: invert(93%) sepia(49%) saturate(7411%) hue-rotate(184deg) brightness(87%) contrast(90%);*/
141+
}
142+
143+
.connected::before {
144+
height: 23px;
145+
width: 23px;
146+
visibility: hidden;
147+
content: "";
148+
}
149+
150+
.disconnected{
151+
background-image: url('./../../../public/img/icons/disconnected.svg');
152+
background-size: contain;
153+
background-repeat: no-repeat;
154+
filter: invert(39%) sepia(47%) saturate(584%) hue-rotate(228deg) brightness(95%) contrast(80%);
155+
/*filter: invert(93%) sepia(49%) saturate(7411%) hue-rotate(184deg) brightness(87%) contrast(90%);*/
156+
}
157+
158+
.disconnected::before {
159+
height: 23px;
160+
width: 23px;
161+
visibility: hidden;
162+
content: "";
163+
}
134164
</style>

0 commit comments

Comments
 (0)