forked from AxelRieben/ComponentSimulation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinterblocage.html
More file actions
68 lines (60 loc) · 2.23 KB
/
Copy pathinterblocage.html
File metadata and controls
68 lines (60 loc) · 2.23 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Simulation d'interblocage, des mutex et des sémaphores</title>
<meta charset="UTF-8">
<style>
canvas {
border: 1px black solid;
padding-left: 0;
padding-right: 0;
margin-left: auto;
margin-right: auto;
display: block;
}
</style>
<link rel="stylesheet" type="text/css" href="semantic/dist/semantic.min.css">
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/toggle_button.css">
</head>
<body>
<div class="ui grid" id="nav">
<div class="six wide column">
<a style="color: white;" href="index.html"><h1>Components simulation</h1></a>
</div>
<div class="ten wide column">
<div class="ui four item inverted menu">
<a class="item" href="scheduling.html">Scheduling</a>
<a class="item" href="prediction.html">Prediction</a>
<a class="item active" href="interblocage.html">Deadlock</a>
<a class="item" href="producteur_consommateur.html">Producer - Consumer</a>
</div>
</div>
</div>
<button class="ui button" type="button" id="start" value="START" onclick="callCars();">START</button>
<button class="ui button" type="button" id="stop" value="STOP" onclick="stopCars();">STOP</button>
<div id="toggle">
<h4>Traffic lights
<label class="switch">
<input type="checkbox" id="toggle_input" onclick="toggleMode();">
<span class="slider round"></span>
</label></h4>
<span><p id="trafficStatusLeftRight"></p></span>
<span><p id="trafficStatusTopBottom"></p></span>
</div>
<div id="container"></div>
<footer class="container">
<div id="foot">
<p>By Pedro Costa - 2018 - OS Conception</p>
</div>
</footer>
</body>
<script src="js/konva.min.js"></script>
<script src="js/interblocage/car.js"></script>
<script src="js/interblocage/carUtility.js"></script>
<script src="js/interblocage/roads.js"></script>
<script src="js/interblocage/interblocage.js"></script>
<script src="js/jquery-3.3.1.min.js"></script>
<script src="semantic/dist/semantic.min.js"></script>
<script src="semantic/dist/components/dropdown.min.js"></script>
</html>