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() { onChangeBranchChange: function() {
this.$("branchButton").className = this.$("branch").value; if (this.$("branch").value == "master"||"test"||"dev") {
this.$("branch").className = this.$("branch").value; this.$("branchButton").className = this.$("branch").value;
this.$("branch").className = this.$("branch").value;
} else {
this.$("branchButton").className = null;
this.$("branch").className = null;
}
this.$('user').focus(); this.$('user').focus();
}, },

View File

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