-
Notifications
You must be signed in to change notification settings - Fork 0
/
get_summary.html
192 lines (125 loc) · 7.23 KB
/
get_summary.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.2/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<title>Data Reader</title>
<script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
<link href="/static/d4.css" rel="stylesheet" />
</head>
<body>
<script src="/static/d4.js"></script>
<script src="/static/d3.js"></script>
<center>
<div class='jumbotron' style="max-width: 950px;">
<h1>Select a Summary File</h1>
<p>summary file must be in same directory as summary_reader.py.</p>
</div>
<form role="form" method="POST" action="/display">
<div class="form-group">
</div>
<input type="file" name="file_box"/>
<button type="submit" class="btn btn-primary"> Create Histogram </button><br>
<p>Optional search choices to create the histogram</p><br>
<div class="btn-group">
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown">Systems
<span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
<input type="radio" name='system' value="None" checked> None </input><br>
<input type="radio" name="system" value="graphlab-sync-auto-itr"> graphlab-sync-auto-itr </input><br>
<input type="radio" name="system" value="graphlab-sync-random-itr"> graphlab-sync-random-itr </input><br>
<input type="radio" name="system" value="graphlab-async-random-tol"> graphlab-async-random-tol </input><br>
<input type="radio" name="system" value="graphlab-sync-random-tol"> graphlab-sync-random-tol </input><br>
<input type="radio" name="system" value="graphlab-sync-auto-tol"> graphlab-sync-auto-tol </input><br>
<input type="radio" name="system" value="graphlab-async-auto-tol"> graphlab-async-auto-tol </input><br>
<input type="radio" name="system" value="graphlab-sync-auto"> graphlab-sync-auto </input><br>
<input type="radio" name="system" value="graphlab-sync-random">graphlab-sync-random</input><br>
<input type="radio" name="system" value="spark-itr">spark-itr</input><br>
<input type="radio" name="system" value="spark-tol">spark-tol</input><br>
<input type="radio" name="system" value="giraph">giraph</input><br>
<input type="radio" name="system" value="blogel-Vertex">blogel-Vertex</input><br>
<input type="radio" name="system" value="veritca">vertica</input><br>
</ul>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"> Cluster Size
<span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
<input type="radio" name="cluster" value="None" checked> None </input><br>
<input type="radio" name="cluster" value="16"> 16 </input><br>
<input type="radio" name="cluster" value="32"> 32 </input><br>
<input type="radio" name="cluster" value="64"> 64 </input><br>
<input type="radio" name="cluster" value="128"> 128 </input><br>
</ul>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"> Dataset
<span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
<input type="radio" name="dataset" value="None" checked> None </input><br>
<input type="radio" name="dataset" value="twitter"> twitter </input><br>
<input type="radio" name="dataset" value="world-road"> world-road </input><br>
<input type="radio" name="dataset" value="uk0705"> uk0705 </input><br>
<input type="radio" name="dataset" value="clueweb"> clueweb </input><br>
</ul>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown"> Workload Name
<span class="caret"></span></button>
<ul class="dropdown-menu" role="menu">
<input type="radio" name="workload" value="None" checked> None </input><br>
<input type="radio" name="workload" value="pagerank"> pagerank </input><br>
<input type="radio" name="workload" value="wcc"> wcc </input><br>
<input type="radio" name="workload" value="sssp"> sssp </input><br>
<input type="radio" name="workload" value="khop"> khop </input><br>
</ul>
</div>
</div>
<div class="container">
<p>Select one to be the x-axis of the histogram<br></p>
<label class="radio-inline">
<input type="radio" name="x_axis" value="0" checked> Systems </input>
</label>
<label class="radio-inline">
<input type="radio" name="x_axis" value="1"> Cluster Size </input>
</label>
<label class="radio-inline">
<input type="radio" name="x_axis" value="2"> Dataset </input>
</label>
<label class="radio-inline">
<input type="radio" name="x_axis" value="3">Workload </input>
</label>
</div>
<div class="container">
<br>
<p>Select the type of graph you wish to have<br></p>
<label class="radio-inline">
<input type="radio" name="graph_type" value="solid" checked> Solid Bars</input>
</label>
<label class="radio-inline">
<input type="radio" name="graph_type" value="stack"> Stacked Bars</input>
</label>
</div>
</form>
<br><h3>**Warning**</h3>
<p> *Select atleast 2 search criteria or else the</p>
<p> app will not be able to create this histograms</p>
<p> *When choosing for which parameter to be on the x-axis</p>
<p> it is advised that it should be the parameter that has no <p>
<p> specific search value inputted</p>
</center>
<script>
var status = '{{ warning|safe }}';
if (status == 'True') {
alert('You did not input enough search parameters. After the message is displayed it will set all parameters to None')
}
</script>
</body>
</html>