forked from osome-iu/hoaxy-frontend
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
132 lines (98 loc) · 3.8 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
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
<!DOCTYPE html>
<html>
<head>
<title>Claim and Fact Checking Spreading Visualization</title>
<!--#include virtual="./includes/includes.html" -->
</head>
<body>
<div id="spinner">
</div>
<!--#include virtual="./includes/header.html" -->
<section id="form" class="container-fluid">
<form>
<div class="container">
<div class="col-lg-8 offset-lg-2 col-xs-12 form-group text-md-right text-xs-center">
<input id="query" class="form-control" type="text " >
</div>
<div class="col-xs-12 text-xs-center form-group">
<span class="radio-container">
<label class="">
<input type="radio" class="" name="sort_by" id='sort_by_relevant' checked value="relevant" /> Relevant
</label>
</span>
<span class="radio-container">
<label class="">
<input class="" type="radio" name="sort_by" id="sort_by_recent" value="recent" /> Recent
</label>
</span>
</div>
<div class="col-xs-12 text-xs-center">
<input type="hidden" name="include_user_mentions" id="include_user_mentions_true" value="true" />
<button class="btn btn-primary btn-blue" id="submit"> Search </button>
</div>
<div class="clearfix"></div>
</form>
</div>
</section>
<section id="articles" class="container-fluid">
<div class="container">
<div>
<p>Select claims and fact checking articles to visualize.</p>
</div>
<p class="text-xs-center">
<button class="btn btn-primary" id="visualize_top"> Visualize </button>
</p>
<ul class="list-unstyled" id="article_list">
</ul>
<div class="clearfix"></div>
<div class="text-xs-center">
<button class="btn btn-primary btn-blue" id="visualize"> Visualize </button>
<span class="text-xs-center" id="load_more">
<button class="btn btn-warning" id="load_more_button"> Load More </button>
<div class="text-muted"></div>
</span>
</div>
<div class="clearfix"></div>
</div>
</section>
<section id="graphs" class="container-fluid">
<div class="col-md-12 text-xs-center" id="legend">
<label><span class="rounded-circle claim_label"> </span> Claims</label>
<label><span class="rounded-circle fact_checking_label"> </span> Fact-Checks</label>
</div>
<div class="col-md-6">
<div id="chart" style="width: 100%; height: 80vh; margin: 0 auto">
<svg></svg>
</div>
<div id="focus_label" class="text-xs-center">Click and drag below to select time interval</div>
</div>
<div class="col-md-6" id="sigmagraph">
<div id="graph-container" style="width: 100%; height: 80vh; margin: 0 auto;">
</div>
<div id="graph_help_text">
Click on network nodes and edges for details.
</div>
<div id="zoom_buttons">
<button class="btn btn-primary" type="button" value ="-" id="zoom-out" style="display: none;"><i class="fa fa-minus" aria-hidden="true"></i></button>
<button class="btn btn-primary" type="button" value ="+" id="zoom-in" style="display: none;"><i class="fa fa-plus" aria-hidden="true"></i></button>
</div>
</div>
</section>
<!--#include virtual="./includes/footer.html" -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog" role="document" style="overflow-y: scroll; max-height:75vh; margin-top: 10vh; margin-bottom:15vh;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title text-center" id="myModalLabel" style="font-size:20px; letter-spacing=2px; "></h4>
</div>
<div class="modal-body" id="myModalBody">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</body>
</html>