Contacta con tu responsable
gitea/worker-time-control/pipeline/head This commit looks good Details

This commit is contained in:
Carlos Andrés 2022-02-28 09:44:00 +01:00
parent 66eca925d3
commit a4ad06c15d
3 changed files with 14 additions and 3 deletions

View File

@ -4,5 +4,5 @@ var process = {
};
var config = {
urlBase: 'http://localhost:8080'
urlBase: 'http://localhost:9090'
};

View File

@ -187,6 +187,9 @@ h3{
text-align: center;
border-radius: 10px;
}
.inMiddle{
background: #d27502;
}
.out,.outMiddle{
display: inline;
@ -200,6 +203,10 @@ h3{
border-radius: 10px;
}
.outMiddle{
background: #d27502;
}
header{
overflow: hidden;
padding: 20px 20px 0px 20px;

View File

@ -72,8 +72,12 @@ function setView() {
$(".out").hide();
$("#txtNombre").text(userData["name"] + " " + userData["surname"]);
getInfo();
$("." + userData["button1"]).show();
$("." + userData["button2"]).show();
if(userData["button1"] === null && userData["button2"] === null ) {
printError ("Contacta con tu resposable")
} else {
$("." + userData["button1"]).show();
$("." + userData["button2"]).show();
}
}
function getInfo() {