-
Notifications
You must be signed in to change notification settings - Fork 8
/
viewAnalysis.html
106 lines (90 loc) · 5.02 KB
/
viewAnalysis.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>ShakeMap - Home</title>
<link rel="stylesheet" href="./style.css">
<!-- Material Design for Bootstrap fonts and icons -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Material+Icons">
<!-- Material Design for Bootstrap CSS -->
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/css/bootstrap-material-design.min.css" integrity="sha384-R80DC0KVBO4GSTw+wZ5x2zn2pu4POSErBkf8/fSFhPXHxvHJydT0CSgAP2Yo2r4I" crossorigin="anonymous">
</head>
<!--
###############################################
# Header
###############################################
-->
<div id="header"></div>
<!--
###############################################
# Main content
###############################################
<div style="width: 100%;">
<img src="banner_lista_terremoti.jpg" style='height: 100%; width: 100%; object-fit: contain'/>
</div>
-->
<div style="text-align:center;">
<button type="button" class="btn btn-outline-primary go_right" onclick="open_download()">Download products</button>
<button type="button" class="btn btn-outline-primary go_right" onclick="open_stations()">Station list</button>
<button type="button" class="btn btn-outline-primary go_right" onclick="open_leaflet()">Leaflet View</button>
<div class="d-flex justify-content-center">
<ul class="nav nav-tabs" id="myTab" role="tablist">
<li class="nav-item">
<a class="nav-link active" id="intensity-tab" data-toggle="tab" href="#intensity" role="tab" aria-controls="intensity" aria-expanded="true">Intensity</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pga-tab" data-toggle="tab" href="#pga" role="tab" aria-controls="pga">PGA</a>
</li>
<li class="nav-item">
<a class="nav-link" id="pgv-tab" data-toggle="tab" href="#pgv" role="tab" aria-controls="pgv">PGV</a>
</li>
<!-- <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
SA
</a>
<div class="dropdown-menu">
<a class="dropdown-item" id="dropdown1-tab" href="#dropdown1" role="tab" data-toggle="tab" aria-controls="dropdown1">SA 0.3s</a>
<a class="dropdown-item" id="dropdown2-tab" href="#dropdown2" role="tab" data-toggle="tab" aria-controls="dropdown2">SA 1s</a>
<a class="dropdown-item" id="dropdown3-tab" href="#dropdown3" role="tab" data-toggle="tab" aria-controls="dropdown3">SA 3s</a>
</div>
</li> -->
</ul>
</div>
</div>
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="intensity" role="tabpanel" aria-labelledby="intensity-tab">
</div>
<div class="tab-pane fade" id="pga" role="tabpanel" aria-labelledby="pga-tab">
</div>
<div class="tab-pane fade" id="pgv" role="tabpanel" aria-labelledby="pgv-tab">
</div>
<br/>
<small class="input_text">Select Site Class </small>
<select class="custom-select" id="selectRegrType" onchange="changePlot()">
<option value="rock">Rock</option>
<option value="soil">Soil</option>
</select>
  Show macroseismic data: <input type="checkbox" id="dyfiCheck" onchange="changePlot()">
</div>
<div id="footer"></div>
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/umd/popper.js" integrity="sha384-fA23ZRQ3G/J53mElWqVJEGJzU0sTs+SvzG8fXVWP+kJQ1lwFAOkcUOysnlKJC33U" crossorigin="anonymous"></script>
<script src="https://unpkg.com/[email protected]/dist/js/bootstrap-material-design.js" integrity="sha384-3xciOSDAlaXneEmyOo0ME/2grfpqzhhTcM4cE32Ce9+8DW/04AGoTACzQpphYGYe" crossorigin="anonymous"></script>
<script>$(document).ready(function() { $('body').bootstrapMaterialDesign(); });</script>
<script src="https://d3js.org/d3.v5.min.js"></script>
<!-- My scripts -->
<!-- <script src="./scripts/require.js"></script> -->
<script src="./scripts/colors.js"></script>
<!-- <script src="./scripts/softwareVersion.js"></script> -->
<script src="./config.js"></script>
<script src="./scripts/functions.js"></script>
<script src="./scripts/scriptAnalysis.js"></script>
</body>
</html>