Skip to content

Commit

Permalink
Merge pull request #47 from kubero-dev/fix/improve-pipelineview-statu…
Browse files Browse the repository at this point in the history
…s-icon

Fix / improve pipelineview status icon
  • Loading branch information
mms-gianni authored Dec 19, 2022
2 parents cb463c2 + 913f865 commit 9afe1e3
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 1 deletion.
4 changes: 4 additions & 0 deletions client/public/img/icons/connected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions client/public/img/icons/disconnected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 31 additions & 1 deletion client/src/components/pipelines/list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<v-col cols="12" sm="12" md="6">
<a :href="'/#/pipeline/'+item.name+'/apps'">
<v-card-title>
<v-icon left>mdi-{{ item.deploymentstrategy}}</v-icon>
<v-icon left :class=" (item.git.repository.admin == true) ? 'connected' : 'disconnected' "></v-icon>
<span class="text-h5">{{ item.name }}</span>
</v-card-title>
<v-card-text>
Expand Down Expand Up @@ -131,4 +131,34 @@ export default {
text-decoration: none;
color: #8560A9 !important;
}
.connected{
background-image: url('./../../../public/img/icons/connected.svg');
background-size: contain;
background-repeat: no-repeat;
filter: invert(39%) sepia(47%) saturate(584%) hue-rotate(228deg) brightness(95%) contrast(80%);
/*filter: invert(93%) sepia(49%) saturate(7411%) hue-rotate(184deg) brightness(87%) contrast(90%);*/
}
.connected::before {
height: 23px;
width: 23px;
visibility: hidden;
content: "";
}
.disconnected{
background-image: url('./../../../public/img/icons/disconnected.svg');
background-size: contain;
background-repeat: no-repeat;
filter: invert(39%) sepia(47%) saturate(584%) hue-rotate(228deg) brightness(95%) contrast(80%);
/*filter: invert(93%) sepia(49%) saturate(7411%) hue-rotate(184deg) brightness(87%) contrast(90%);*/
}
.disconnected::before {
height: 23px;
width: 23px;
visibility: hidden;
content: "";
}
</style>

0 comments on commit 9afe1e3

Please sign in to comment.