-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
94 lines (82 loc) · 2.4 KB
/
index.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
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="bower_components/materialize/dist/css/materialize.min.css">
<link rel="stylesheet" href="css/styles.css">
<title>Graph portal</title>
<script src="bower_components/vis/dist/vis.min.js"></script>
</head>
<body>
<header class="Header">
<div class="parallax-container">
<a href="index.html"><h1 class="appTitle">GraphPortal</h1></a>
<div class="parallax">
<img src="img/bg.png"></div>
</div>
</header>
<main class="container">
<div class="Main-content">
<section id="creation">
<h1 class="header"> Génération de graphe </h1>
<div class="input-field">
<label for="numberOfNodes">Nombre de noeuds</label>
<input type="number" min="2" step="1" name="numberOfNodes" id="numberOfNodes">
<div class="input-field">
<label for="complexity">Complexité</label>
<input type="number" min="1" max="100" step="1" name="complexity" id="complexity">
</div>
<button id="btnGeneration"class="waves-effect waves-light purple btn">
Générer un graphe
</button>
</section>
<section id="visualisation">
<h1 class="header">Graphe courant</h1>
<div class="card grey darken-4">
<div class="card-content white-text">
<div id="graph">
</div>
</div>
</div>
<div class="row">
<div class="col s6">
<button id="btnSssp"class="waves-effect waves-light purple btn width6">
Shortest Single Source Path
</button>
</div>
<div class="col s6">
<button id="btnSpaningTree"class="waves-effect waves-light purple btn width6">
Spaning Tree
</button>
</div>
</div>
</section>
<section id="spaningTree">
<h1 class="header"> Spaning tree </h1>
<div class="card grey darken-4">
<div class="card-content white-text">
<div id="spaningCont">
</div>
</div>
</div>
</section>
<section id="sssp">
<table>
<thead>
<tr>
<th data-field="Edge">À partir de</th>
<th data-field="Iteration">Cible</th>
<th data-field="Weight">Poids</th>
</tr>
</thead>
<tbody id="tableau">
</tbody>
</table>
</section>
</div>
</main>
<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/materialize/dist/js/materialize.min.js"></script>
<script src="js/script.js"></script>
</body>
</html>