-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (55 loc) · 2.5 KB
/
index.html
File metadata and controls
65 lines (55 loc) · 2.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Graph Algorithms Online</title>
<link rel="stylesheet" href="stylesheets/normalize.css">
<link rel="stylesheet" href="stylesheets/style.css">
<link rel="icon" type="image/x-icon" href="images/favicon.ico">
</head>
<body>
<header>
<img src="images/logo.png" alt="logo">
</header>
<div class="container">
<h1>Entrer le graphe:</h1>
<div class="graph-input">
<label for="graphInput">Graphe :</label>
<textarea id="graphInput" placeholder="Saisissez le graphe"></textarea>
<label for="algorithmSelect" class="algorithm-select">Choix de l'algorithme :</label>
<select name="algorithmSelect" id="algorithmSelect">
<option value="parcoursLargeur">Parcours en largeur</option>
<option value="parcoursProfondeur">Parcours en profondeur</option>
<option value="coloriageGlouton">Algorithme glouton de coloriage d’un graphe</option>
<option value="welshPowell">Algorithme de Welsh-Powell pour colorier un graphe</option>
<option value="prim">Algorithme de Prim</option>
<option value="kruskal">Algorithme de Kruskal</option>
<option value="bellmanFord">Algorithme de Bellman-Ford</option>
<option value="dijkstra">Algorithme de Dijkstra</option>
</select>
<div class="btns">
<button onclick="processGraph()" class="btn1">Valider</button>
<button onclick="voirExemple()" class="btn2">Voir un exemple</button>
</div>
<div id="resultContainer" class="resultContainer"></div>
</div>
</div>
<div class="popup" id="popup1">
<div class="overlay"></div>
<div class="content">
<div class="close-btn" onclick="voirExemple()">×</div>
<h2>Graph Exemple</h2>
<div class="imgs">
<img src="images/graph-exemple.png" alt="">
<img src="images/graph-exemple-json.png" alt="">
</div>
</div>
</div>
<footer>
<p>2023 © Ez-zine Hamza , Debbagh Ayoub et Grich Ali</p>
</footer>
<script src="scripts/app.js"></script>
</body>
</html>