refs #5966 Upgrade to node 14.x
gitea/worker-time-control/pipeline/head This commit looks good
Details
gitea/worker-time-control/pipeline/head This commit looks good
Details
This commit is contained in:
parent
9d1b83e9a2
commit
f8aaae9d0d
|
@ -8,7 +8,7 @@ RUN apt-get update \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
gnupg2 \
|
gnupg2 \
|
||||||
libfontconfig \
|
libfontconfig \
|
||||||
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
nodejs \
|
nodejs \
|
||||||
&& apt-get purge -y --auto-remove \
|
&& apt-get purge -y --auto-remove \
|
||||||
|
|
|
@ -157,6 +157,7 @@ ul {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
box-shadow: 0 0 5px rgba(0,0,0,.2);
|
box-shadow: 0 0 5px rgba(0,0,0,.2);
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
|
animation: slideIn 0.5s ease-in-out;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
font-size: 1.3em;
|
font-size: 1.3em;
|
||||||
|
@ -433,6 +434,10 @@ header {
|
||||||
transform: scale3D(0, 0, 1);
|
transform: scale3D(0, 0, 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@keyframes slideIn {
|
||||||
|
0% { transform: translateY(-100%); opacity: 0; }
|
||||||
|
100% { transform: translateY(0); opacity: 1; }
|
||||||
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Poppins';
|
font-family: 'Poppins';
|
||||||
|
|
|
@ -52,7 +52,7 @@ function fichar(direction) {
|
||||||
printErrores(msg);
|
printErrores(msg);
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
cerrar();
|
cerrar();
|
||||||
}, 3000);
|
}, 2000);
|
||||||
}else {
|
}else {
|
||||||
$(".confirm").fadeIn(200);
|
$(".confirm").fadeIn(200);
|
||||||
$(".txtConfirm").append('Fichada registrada correctamente');
|
$(".txtConfirm").append('Fichada registrada correctamente');
|
||||||
|
|
|
@ -13,7 +13,7 @@ function printError(msg){
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
$(".confirm").fadeOut(200);
|
$(".confirm").fadeOut(200);
|
||||||
setTimeout(confirmReset, 200);
|
setTimeout(confirmReset, 200);
|
||||||
}, 1500);
|
}, 2300);
|
||||||
}
|
}
|
||||||
|
|
||||||
$.ajaxPrefilter(function(xhr) {
|
$.ajaxPrefilter(function(xhr) {
|
||||||
|
|
|
@ -1,16 +1,20 @@
|
||||||
{
|
{
|
||||||
"name": "es.verdnatura.worker-time-control",
|
"name": "worker-time-control",
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "es.verdnatura.worker-time-control",
|
"name": "worker-time-control",
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fastclick": "^1.0.6",
|
"fastclick": "^1.0.6",
|
||||||
"jquery": "^3.6.0"
|
"jquery": "^3.7.0"
|
||||||
|
},
|
||||||
|
"engines": {
|
||||||
|
"node": ">=14",
|
||||||
|
"npm": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/fastclick": {
|
"node_modules/fastclick": {
|
||||||
|
@ -19,9 +23,9 @@
|
||||||
"integrity": "sha1-FhYlsnsaWAZAWTa9qaLBkm0Gvmo="
|
"integrity": "sha1-FhYlsnsaWAZAWTa9qaLBkm0Gvmo="
|
||||||
},
|
},
|
||||||
"node_modules/jquery": {
|
"node_modules/jquery": {
|
||||||
"version": "3.6.0",
|
"version": "3.7.0",
|
||||||
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.6.0.tgz",
|
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.0.tgz",
|
||||||
"integrity": "sha512-JVzAR/AjBvVt2BmYhxRCSYysDsPcssdmTFnzyLEts9qNwmjmu4JTAMYubEfwVOSwpQ1I1sKKFcxhZCI2buerfw=="
|
"integrity": "sha512-umpJ0/k8X0MvD1ds0P9SfowREz2LenHsQaxSohMZ5OMNEU2r0tf8pdeEFTHMFxWVxKNyU9rTtK3CWzUCTKJUeQ=="
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
15
package.json
15
package.json
|
@ -1,20 +1,19 @@
|
||||||
{
|
{
|
||||||
"name": "es.verdnatura.worker-time-control",
|
"name": "worker-time-control",
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"author": "Verdnatura Levante SL",
|
"author": "Verdnatura Levante SL",
|
||||||
"description": "Fichador",
|
"description": "Verdnatura Time Control",
|
||||||
"displayName": "Fichador",
|
|
||||||
"main": "index.js",
|
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://gitea.verdnatura.es/verdnatura/vn-database"
|
"url": "https://gitea.verdnatura.es/verdnatura/worker-time-control"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"engines": {
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"node": ">=14",
|
||||||
|
"npm": ">=8"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fastclick": "^1.0.6",
|
"fastclick": "^1.0.6",
|
||||||
"jquery": "^3.6.0"
|
"jquery": "^3.7.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue