Skip to content

Commit

Permalink
Merge pull request #45 from kubero-dev/release/v1.4.1
Browse files Browse the repository at this point in the history
Release/v1.4.1
  • Loading branch information
mms-gianni authored Dec 19, 2022
2 parents 0acae7b + 9afe1e3 commit a1b0013
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 9 deletions.
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.
15 changes: 7 additions & 8 deletions client/src/components/apps/new.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
:counter="60"
:readonly="app!='new'"
label="App name"
v-on="changeName(appname)"
v-on:input="changeName(appname)"
required
></v-text-field>
</v-col>
Expand Down Expand Up @@ -618,15 +618,13 @@ export default {
this.docker.image = this.pipelineData.dockerimage;
}
this.loadBranches();
this.buildpack = this.pipelineData.buildpack;
this.gitrepo.ssh_url = this.pipelineData.git.repository.ssh_url;
this.domain = this.pipelineData.domain;
this.loadBranches();
/*
if (this.app == 'new') {
this.domain = this.pipelineData.domain;
this.gitrepo.ssh_url = this.pipelineData.git.repository.ssh_url;
/*
switch (this.pipelineData.github.repository.language) {
case "JavaScript":
this.buildpack = 'NodeJS';
Expand All @@ -639,8 +637,9 @@ export default {
//this.buildpack = "";
break;
}
*/
}
*/
});
},
loadBranches() {
Expand Down
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 a1b0013

Please sign in to comment.