-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworktype.html
69 lines (65 loc) · 3.06 KB
/
worktype.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<html style="height:100%;">
<head>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
<meta charset="UTF-8">
<script src="myscript.js"></script>
</head>
<body class="d-flex flex-column h-100">
<main class="flex-grow-1">
<nav id="navbar" class="navbar navbar-light" style="background-color: rgba(30, 67, 86)" >
<div class="container-fluid">
<a class="navbar-brand" style="color: white;" href="index.html">Cantiere Buzi Donaldo</a>
<div id="profile" class="btn-group dropstart">
</div>
</div>
</nav>
<div class="container-sm">
<div class="row shadow pt-3 mt-3 mb-3 justify-content-md-center">
<h1 class="text-center">Tipologie di lavoro effettuate</h1>
<div class="col-12 col-md-6 mb-3 ">
<label for="exampleFormControlInput1" class="form-label">Codice Fiscale</label>
<input type="text" class="form-control" id="CF" placeholder="BXXXXX" required>
</div>
<div class="col-12 col-md-6 mb-3 ">
<label for="exampleFormControlInput1" class="form-label">Inserisci Data</label>
<input type="date" class="form-control" id="data" placeholder="Gialli" required>
</div>
<div class="col-12 mb-3 mt-3">
<div class="d-grid gap-2">
<button class="btn btn-primary" onclick="GetWorkerType();" type="button">Ricerca</button>
</div>
</div>
</div>
<div id="ResultDiv" class="row shadow mt-5 py-3 px-3" style="display: none;">
<table id="ResultTable" class="table text-center">
</table>
</div>
</div>
</main>
<footer class="border-top p-0">
<!-- Copyright -->
<div class="text-center p-3" style="background-color: rgb(226, 226, 226);">
© 2021 Copyright:
<a class="text-dark" href="https://mdbootstrap.com/">esamebuzi.com</a>
</div>
<!-- Copyright -->
</footer>
<script>
var prevScrollpos = window.pageYOffset;
window.onscroll = function() {
var currentScrollPos = window.pageYOffset;
console.log(prevScrollpos, currentScrollPos);
if (prevScrollpos >= currentScrollPos) {
document.getElementById("navbar").style.top = "0";
} else {
document.getElementById("navbar").style.top = "-60px";
}
prevScrollpos = currentScrollPos;
}
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
<script> window.onload = function(){CheckLogin(); GetProfileInfo();}; </script>
</body>
</html>