diff --git a/config.js b/config.js index b3b50d2..3812dd5 100644 --- a/config.js +++ b/config.js @@ -4,5 +4,5 @@ var process = { }; var config = { - urlBase: 'http://localhost:8080' + urlBase: 'http://localhost:9090' }; diff --git a/css/style.css b/css/style.css index 9153950..50166b4 100644 --- a/css/style.css +++ b/css/style.css @@ -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; diff --git a/js/clockIn.js b/js/clockIn.js index 67f22cd..df17364 100644 --- a/js/clockIn.js +++ b/js/clockIn.js @@ -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() {