-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
103 lines (94 loc) · 5.31 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
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang='fr'>
<head>
<meta charset='UTF-8'>
<title>Find Your Match</title>
<link rel='stylesheet' href='css/style.css'>
</head>
<body>
<div id = "subtitle">Find Your Match</div>
<br>
<div id="intro">
<p>Three visualisations are available: general overview of the data, data organized by speed dating sessions and a filter visualisation.</p>
<button id = "noCluster" class="main-button" onclick="NoCluster()">Overview</button>
<button id= "cluster" class="main-button" onclick="Cluster()">Sessions</button>
<button id = "filter" class="main-button" onclick="Filter()">Filter</button>
</div>
<main>
<section id='modal'>
<div class="modal-container">
<div id="modal-close" onclick="closeModal()">X</div>
<div class="modal-content" id="modal-infos">
<span class="modal-title" id="modal-infos-id"></span>
<div class="modal-content" id="modal-infos-details">
<img id="modal-infos-img" src="media/man.svg" alt="">
<div class="modal-content modal-content-2" id="modal-infos-details-text">
<span class="modal-infos-details-span" id="modal-infos-age"></span>
<span class="modal-infos-details-span" id="modal-infos-from"></span>
<span class="modal-infos-details-span" id="modal-infos-race"></span>
<span class="modal-infos-details-span" id="modal-infos-field"></span>
<span class="modal-infos-details-span" id="modal-infos-income"></span>
<span class="modal-infos-details-span" id="modal-infos-undergraduate"></span>
</div>
</div>
</div>
<div class="modal-content" id="modal-matchs">
<div class="modal-content modal-content-2" id="modal-match">
<span class="modal-title" id="modal-match-title">Match</span>
</div>
<div class="modal-content modal-content-2" id="modal-nomatch">
<span class="modal-title" id="modal-nomatch-title">No Match</span>
</div>
</div>
<div class="modal-content" id="modal-graphic">
<div id="modal-graphic-legend">
<span><em>Move over to see details</em></span>
<div class="modal-graphic-legend-item" onmouseover="highlightLine('attr', true);" onmouseout="highlightLine('attr', false)">
<span class="modal-graphic-legend-line" style="border-color: orange;"></span>
<span class="modal-graphic-legend-text">Attractive</span>
</div>
<div class="modal-graphic-legend-item" onmouseover="highlightLine('sinc', true);" onmouseout="highlightLine('sinc', false)">
<span class="modal-graphic-legend-line" style="border-color: red;"></span>
<span class="modal-graphic-legend-text">Sincere</span>
</div>
<div class="modal-graphic-legend-item" onmouseover="highlightLine('intel', true);" onmouseout="highlightLine('intel', false)">
<span class="modal-graphic-legend-line" style="border-color: green;"></span>
<span class="modal-graphic-legend-text">Intelligent</span>
</div>
<div class="modal-graphic-legend-item" onmouseover="highlightLine('fun', true);" onmouseout="highlightLine('fun', false)">
<span class="modal-graphic-legend-line" style="border-color: blue;"></span>
<span class="modal-graphic-legend-text">Fun</span>
</div>
<div class="modal-graphic-legend-item" onmouseover="highlightLine('amb', true);" onmouseout="highlightLine('amb', false)">
<span class="modal-graphic-legend-line" style="border-color: pink;"></span>
<span class="modal-graphic-legend-text">Ambitious</span>
</div>
<div class="modal-graphic-legend-item" onmouseover="highlightLine('shar', true);" onmouseout="highlightLine('shar', false)">
<span class="modal-graphic-legend-line" style="border-color: purple;"></span>
<span class="modal-graphic-legend-text">Shared Interests</span>
</div>
</div>
</div>
</div>
</section>
<section id="canvas">
<div id="tooltip">
ID : <span id="tooltip-content"></span><br>
<em>Click for details</em>
</div>
</section>
<br>
<div id ="textarea">Infos</div>
<div>
<div >
<div id ="textdiv"></div>
<!-- <p id = "studyexpl"></p>
<p id = "raceexpl"></p> -->
</div>
</main>
<footer>
<script type="text/javascript" src='js/d3/d3.js'></script>
<script type='text/javascript' src='js/main.js'></script>
</footer>
</body>
</html>