-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
91 lines (87 loc) · 4.31 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Natal Chart</title>
<link rel="stylesheet" href="./bower_components/bootstrap/dist/css/bootstrap.min.css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="./bower_components/bootstrap/dist/css/bootstrap-theme.min.css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" href="./css/styles.css" media="screen" title="no title" charset="utf-8">
<link rel="stylesheet" type="text/css" href="./bower_components/select2/dist/css/select2.min.css">
</head>
<body>
<div class="" id="app-wrapper">
</div>
<footer>
<!-- Third-Party -->
<script src="./bower_components/underscore/underscore-min.js" charset="utf-8"></script>
<script src="./bower_components/jquery/dist/jquery.min.js"></script>
<script src="./bower_components/bootstrap/dist/js/bootstrap.min.js" charset="utf-8"></script>
<script src="./bower_components/backbone/backbone-min.js" charset="utf-8"></script>
<script src="./bower_components/d3/d3.min.js"></script>
<script src="./bower_components/select2/dist/js/select2.full.min.js"></script>
<!-- Third-Party -->
<script type="text/javascript" src="./src/main.js"></script>
</footer>
<!-- Templates -->
<script type="text/template" id="modal-template">
<div id="myModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Edit Natal Chart</h4>
</div>
<div class="modal-body">
<form action="">
<table class="table">
<tbody>
<tr>
<th class="col-sm-1">House</th>
<th class="col-sm 2">Set Start</th>
<th class="col-sm-9">Planets</th>
</tr>
</tbody>
<% _.each(planetoryHouse, function(planet) { %>
<tr>
<td><%= planet.id %></td>
<td>
<input type="radio" value="<%= planet.id %>" checked="checked" name="set-start">
</td>
<td>
<select type="hidden" class="col-sm-12 planets" multiple="true" name="<%= planet.id %>" >
</select>
</td>
</tr>
<% }); %>
</table>
</form>
</div>
<div class="modal-footer">
<button class="btn btn-primary" id="save-chart" type="button">Save</button>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</script>
<script type="text/template" id="builder-template">
<div class="row">
<div class="col-md-12">
<div class="svg-container"></div>
<button class="btn btn-primary" id="btn-set-planets">Edit</button>
</div>
</div>
</script>
<script type="text/template" id="confirmation-template">
<div class="row">
<div class="col-md-12">
<div class="svg-container"></div>
<div id="pngdataurl"></div>
<a href="#builder" class="btn btn-primary">Rebuild</a>
<button type="button" id="export-to-png" class="btn btn-primary">Export to PNG</button>
</div>
</div>
</script>
<!-- Templates -->
</body>
</html>