-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
67 lines (55 loc) · 2.87 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
<!DOCTYPE html>
<html lng="fr">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css" />
<title>Hub</title>
</head>
<body class="container">
<!-- Header template. -->
<header id="header-content" class="container"></header>
<!-- Breadcrumb template. -->
<header id="breadcrumb-content" class="container"></header>
<hr />
<!-- Content template. -->
<section id="body-content" class="container"></section>
<!-- Footer template. -->
<hr />
<footer id="footer-content" class="container"></footer>
</body>
<!-- Librairies scripts -->
<script src="libs/jsrender-helper/jsrender-helper-1.0.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<!-- body-template. -->
<script id="body-template" type="text/x-jsrender">
<h1 class="col-sm-12">Catégories
<span id="badge-categories" class="badge badge-primary badge-pill">{{:size}}</span>
</h1>
{{for categories sortBy="name"}}
<article class="col-sm-12">
<h2>
<i class="fa fa-{{:icon}}"></i>
{{:name}}
<span id="badge-{{:id}}" class="badge badge-pill">{{:size}}</span>
</h2>
<ul id="subjects-{{:id}}">
{{for subjects }}
<li><a href="{{:link}}">{{:name}}</a></li>
{{/for}}
</ul>
</article>
{{/for}}
</script>
<!-- Import local libs and files. -->
<script src="classes/utils/Utils.js"></script>
<script src="classes/data/includes/Header.js"></script>
<script src="classes/data/includes/BreadCrumb.js"></script>
<script src="classes/data/includes/Footer.js"></script>
<script src="classes/data/views/BaseTemplate.js"></script>
<script src="classes/data/views/Home.js"></script>
<script src="index.js"></script>
</html>