aboutsummaryrefslogtreecommitdiffstats
path: root/risk_insight/templates/indices.html
blob: 45d9404d8f8a4b867e8a2f31e9ecfecab2d6fe13 (plain)
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
<!doctype html>
<html>
<head>
<script type="text/javascript" src="{{ url_for('static', filename='dygraph-combined.js') }}"></script>
<script type="text/javascript" src="{{ url_for('static', filename='jquery-2.1.1.min.js') }}"></script>
</head>
<body>
    <div id="graph"
	 style="width:800px; height:500px;float:left;margin:auto">
    </div>
    <div style="margin-top:5em;display:inline-block">
      <select id="index">
	<option value="ig">IG</option>
	<option value="hy">HY</option>
      </select>
      <select id="series">
	{% for s in series %}
	<option value="{{s}}">{{s}}</option>
	{% endfor %}
      </select>
      <select id="tenor">
	<option value="3yr">3yr</option>
	<option value="5yr">5yr</option>
	<option value="7yr">7yr</option>
	<option value="10yr">10yr</option>
      </select>
  </div>
<script type="text/javascript" src="{{ url_for('static', filename='indices.js') }}"></script>
</body>
</html>