-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeldkamer.html
86 lines (76 loc) · 2.92 KB
/
meldkamer.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js"></script>
<script src="./JS/include.js"></script>
<script src="./JS/meldkamer.js"></script>
<script src="./JS/rescue.js"></script>
<link rel="stylesheet" href="./CSS/general.css">
<link rel="stylesheet" href="./CSS/meldkamer.css">
</head>
<body>
<maincontainer>
<centercontainer>
<headcontainer>
<img src="./images/NSlogo.png" style="height:5vmin;" alt="Smiley face" align="left">
<h1> Meldkamer meldingen </h1>
</headcontainer>
<infocontainer>
<div class="tab tab-2">
Trein :<input type="text" name="Trein" id="Trein">
Bak :<input type="text" name="Bak" id="Bak">
Tijdstip :<input type="number" name="Tijdstip" id="Tijdstip">
<button id="add-btn">Add</button>
<button id="edit-btn">Edit</button>
<button id="remove-btn">Remove</button>
</div>
<div id="meldingenarea" class="container">
<div class="tab tab-1">
<table id="table" border="1">
<thead>
<th class="sort" data-sort="rit">Rit</th>
<th class="sort" data-sort="materiaaldeel">MateriaalDeel</th>
<th class="sort" data-sort="bak">Bak</th>
<th class="sort" data-sort="tijd">Tijd</th>
<th class="sort" data-sort="beschrijving">Opmerkingen</th>
<th colspan="2">
<input type="text" class="search" placeholder="Zoek melding" />
</th>
<th> Status</th>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</infocontainer>
</centercontainer>
</maincontainer>
<script>
// check the empty input
function checkEmptyInput() {
var isEmpty = false,
Trein = document.getElementById("Trein").value,
Bak = document.getElementById("Bak").value,
Tijdstip = document.getElementById("Tijdstip").value;
if (Trein === "") {
alert("First Name Connot Be Empty");
isEmpty = true;
}
else if (Bak === "") {
alert("Last Name Connot Be Empty");
isEmpty = true;
}
else if (Tijdstip === "") {
alert("Tijdstip Connot Be Empty");
isEmpty = true;
}
return isEmpty;
}
fillTable()
window.onblur= function() {window.onfocus= function () {location.reload(true)}};
</script>
</body>
</html>