refs #6274 install sweetalert2
gitea/worker-time-control/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-12-11 12:16:10 +01:00
parent 56da86d1d5
commit ad7b2ab305
4 changed files with 14 additions and 9 deletions

View File

@ -88,7 +88,7 @@ and open the template in the editor.
<h4 class="txtConfirm"></h4>
</div>
</div>
<script src="js/sweetalert2.js"></script>
<script src="node_modules/sweetalert2/dist/sweetalert2.all.min.js"></script>
<script src="config.js" type="text/javascript"></script>
<script src="js/main.js" type="text/javascript"></script>
<script src="js/index.js" type="text/javascript"></script>

File diff suppressed because one or more lines are too long

12
package-lock.json generated
View File

@ -11,7 +11,8 @@
"dependencies": {
"dotenv": "^16.3.1",
"fastclick": "^1.0.6",
"jquery": "^3.7.0"
"jquery": "^3.7.0",
"sweetalert2": "11.10.1"
},
"devDependencies": {
"express": "^4.18.2",
@ -876,6 +877,15 @@
"node": ">= 0.8"
}
},
"node_modules/sweetalert2": {
"version": "11.10.1",
"resolved": "https://registry.npmjs.org/sweetalert2/-/sweetalert2-11.10.1.tgz",
"integrity": "sha512-qu145oBuFfjYr5yZW9OSdG6YmRxDf8CnkgT/sXMfrXGe+asFy2imC2vlaLQ/L/naZ/JZna1MPAY56G4qYM0VUQ==",
"funding": {
"type": "individual",
"url": "https://github.com/sponsors/limonte"
}
},
"node_modules/to-regex-range": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz",

View File

@ -18,7 +18,8 @@
"dependencies": {
"dotenv": "^16.3.1",
"fastclick": "^1.0.6",
"jquery": "^3.7.0"
"jquery": "^3.7.0",
"sweetalert2": "11.10.1"
},
"devDependencies": {
"express": "^4.18.2",