-
Notifications
You must be signed in to change notification settings - Fork 0
/
fonctionsIV.html
177 lines (133 loc) · 5.4 KB
/
fonctionsIV.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!DOCTYPE HTML>
<html>
<head>
<title>Fonctions IV</title>
<link rel="icon" href="images/logo.png">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#004f98">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#004f98">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-status-bar-style" content="#004f98">
<meta name="apple-mobile-web-app-capable" content="yes">
<link href="main.css" rel="stylesheet">
<!-- For icons https://fontawesome.com/icons -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css"
integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">
<!-- For Bootstrap -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/css/bootstrap.min.css"
integrity="sha384-Smlep5jCw/wG7hdkwQ/Z5nLIefveQRIY9nfy6xoR1uRYBtpZgI6339F5dgvm/e9B" crossorigin="anonymous">
<!--JQuery-->
<script src="js/jquery.js"></script>
<!-- Mustache -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/mustache.js/2.3.0/mustache.js"></script>
<!--load page-->
<script>
$(function () {
$("#load_screen").fadeOut(1000, function () {
$("#content").fadeIn(1000);
})
})
</script>
</head>
<body>
<div id="load_screen" class="centered display-4 text-center">
<img id="chargingLogo" style="height: 80px" src="images/charging.png" class="image-fluid rounded mh-100">
Chargement...
</div>
<div id="content">
<header></header>
<!-- Header -->
<script src="js/navbar.js"></script>
<div class="container-fluid" style="margin-top: 70px">
<div id="titreDuThème">
<!-- Contenu du titre -->
</div>
<div class="row">
<div id="navAside" class="col-sm-4 col-md-4 col-lg-2 d-none d-sm-block" style="margin-bottom: 20px;">
<!-- Content for the navAside -->
</div>
<div id="contenuDuThème" class="col-sm-8 col-md-8 col-lg-10">
<!--Contenu du thème-->
<div class="container centered"><h1 class="display-4 text-center"><img style="height: 80px"
src="images/charging.png"
class="image-fluid rounded mh-100">
Chargement...</h1></div>
</div>
</div>
</div>
<footer></footer>
</div>
<!-- Footer -->
<script src="js/footer.js"></script>
<div class="modal fade" id="aboutMeModal" tabindex="-1" role="dialog" aria-labelledby="aboutMeModalLabel"
aria-hidden="true">
</div>
<!-- Modal about me -->
<script>
$(function () {
$("#aboutMeModal").load("html/about_me.html");
})
</script>
<!-- Jquery & Javascript for Bootstrap -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js"
integrity="sha384-o+RDsa0aLu++PJvFqy8fFScvbHFLtbvScb8AjopnFD+iEQ7wo/CG0xlczd+2O/em"
crossorigin="anonymous"></script>
<!-- for Poopers and Tooltips -->
<script src="https://unpkg.com/popper.js"></script>
<script src="https://unpkg.com/tooltip.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/javascript.util/0.12.12/javascript.util.min.js"></script>
<script>
$(function () {
$('[data-toggle="popover"]').popover()
})
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
<!-- JavaScript for the Template -->
<script type="text/javascript">
function sleep(milliseconds) {
let start = new Date().getTime();
for (let i = 0; i < 1e7; i++) {
if ((new Date().getTime() - start) > milliseconds) {
break;
}
}
}
function activeElement(id) {
$("#nav" + id).replaceWith(function () {
return $("<span class='list-group-item list-group-item-action' id='active_nav'>" + $(this).html() + "</span>");
});
}
$(function () {
$.get("mustache_templates/thèmeTemplate.mst", function (template) {
$.getJSON("text/thèmes/fonctionsIV.json", function (data) {
var result = Mustache.render(template, data);
$('#contenuDuThème').html(result);
})
})
$.get("mustache_templates/thèmeTitreTemplate.mst", function (template) {
$.getJSON("text/thèmes/fonctionsIV.json", function (data) {
var result = Mustache.render(template, data);
$('#titreDuThème').html(result);
})
})
sleep(500);
$.get("mustache_templates/navAsideTemplate.mst", function (template) {
$.getJSON("text/data.json", function (data) {
var result = Mustache.render(template, data);
$('#navAside').html(result);
activeElement("fonctions4");
})
})
})
</script>
<script src="js/email_icon.js"></script>
</body>
</html>