modificación para que soporte más ramas

This commit is contained in:
Guillermo Bonet 2022-08-03 16:29:23 +02:00
parent a081aee9d4
commit 3aa8a9cd76
2 changed files with 10 additions and 4 deletions

View File

@ -187,8 +187,13 @@ var App = {
},
onChangeBranchChange: function() {
this.$("branchButton").className = this.$("branch").value;
this.$("branch").className = this.$("branch").value;
if (this.$("branch").value == "master"||"test"||"dev") {
this.$("branchButton").className = this.$("branch").value;
this.$("branch").className = this.$("branch").value;
} else {
this.$("branchButton").className = null;
this.$("branch").className = null;
}
this.$('user').focus();
},

View File

@ -26,7 +26,7 @@ input {
}
select {
font-size: 1em;
background-color: black;
background-color: #8d8d8d;
}
select.master {
background-color: #c20000;
@ -144,8 +144,9 @@ button:hover {
#branchButton {
float: left;
border-radius: 25px;
color: white;
color: black;
box-shadow: 0px 0px 5px 0px #000000;
background-color: #8d8d8d;
}
#branchButton:hover {
box-shadow: none;