Scripts are now local and the program should be able to run offline

This commit is contained in:
MatMasIt 2021-11-01 23:04:39 +01:00
parent 9a5eae5ce1
commit d68c8e8c87
8 changed files with 29 additions and 13 deletions

1
assets/autocomplete.min.js vendored Normal file

File diff suppressed because one or more lines are too long

7
assets/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

7
assets/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

2
assets/jquery-3.4.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

5
assets/popper.js Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

View File

@ -9,8 +9,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS --> <!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" <link rel="stylesheet" href="assets/bootstrap.min.css">
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="style.css" /> <link rel="stylesheet" href="style.css" />
<title>Cantina </title> <title>Cantina </title>
</head> </head>
@ -295,15 +294,10 @@
<p> © 2021 Mattia Mascarello, Giorgio Adamo</p><br> <p> © 2021 Mattia Mascarello, Giorgio Adamo</p><br>
</center> </center>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" crossorigin="anonymous"></script> <script src="assets/jquery-3.4.1.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" <script src="assets/popper.js"></script>
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" <script src="assets/bootstrap.min.js"></script>
crossorigin="anonymous"></script> <script src="assets/autocomplete.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
<script
src="https://cdn.jsdelivr.net/gh/xcash/bootstrap-autocomplete@v2.3.7/dist/latest/bootstrap-autocomplete.min.js"></script>
<script src="main.js"></script> <script src="main.js"></script>
</body> </body>

4
run.sh
View File

@ -1,5 +1,5 @@
php -S 127.0.0.1:8080 & php -S 127.0.0.1:8080 &
SERVER_PID=$! SERVER_PID=$!
sleep 10
firefox --kiosk http://127.0.0.1:8080 firefox --kiosk http://127.0.0.1:8080
kill $SERVER_PID echo $SERVER_PID
pkill firefox