This repository has been archived by the owner on Sep 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
98 lines (86 loc) · 3.49 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<!-- Import Google Icon Font -->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Import materialize.css -->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<!-- Let browser know website is optimized for mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<!-- Styles -->
<link type="text/css" rel="stylesheet" href="css/visualization.css"/>
<title>ETF Visualization</title>
</head>
</head>
<body>
<!-- Main Nav bar. -->
<div class="navbar-fixed">
<nav>
<div class="nav-wrapper blue darken-2">
<a href="#!" class="brand-logo"> ETF Visualization</a>
<ul class="right hide-on-med-and-down">
<li><a href="javascript:clear();"><i class="material-icons left">loop</i> Reset Portfolio</a></li>
</ul>
</div>
</nav>
</div>
<!-- Main Settings Area. -->
<div id="settings" class="blue darken-2 white-text" style="display: none">
<br>
<form class="container" name="settings">
<div class="row">
<div class="input-field col 12 s3">
<i class="material-icons prefix">mode_edit</i>
<input name="filename" id="filename" type="text" class="validate" placeholder="Data file">
<label for="filename">Data Filename</label>
</div>
<div class="input-field col 12 s3">
<i class="material-icons prefix">label_outline</i>
<a class="waves-effect waves-light btn green" id="connection-btn" onclick="javascript:save_settings();javascript:create_sidebar();">Refresh</a>
</div>
</div>
</form>
</div>
<!-- Main content. -->
<div class="container">
<div class="row">
<!-- Left Column -->
<div class="col s9">
<!-- Portfolio performance plot. -->
<div class="row">
<div id="performance" class="grey lighten-2">
<svg id="performance-svg"></svg>
</div>
</div>
<!-- Portfolio drawer. -->
<div class="row">
<div id="portfolio" class="grey lighten-2">
<!-- ETF cards -->
<div id="portfolio-drawer">
</div>
</div>
</div>
<!-- ETF workspace area. -->
<div class="row">
<div id="workspace" class="s9 grey lighten-2">
<!-- ETF cards -->
<div id="etf-drawer">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Import jQuery. -->
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- Import materialize after jQuery. -->
<script type="text/javascript" src="js/materialize.min.js"></script>
<!-- Import D3.js -->
<script type="text/javascript" src="js/d3.min.js"></script>
<!-- Import UI code. -->
<script type="text/javascript" src="js/ui.js"></script>
<!-- Import Visualization code -->
<script type="text/javascript" src="js/visualize.js"></script>
</body>
</html>