-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
136 lines (130 loc) · 5.54 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
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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="Content-Script-Type" content="text/javascript">
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<script type="text/javascript" src="Pluto.js"></script>
<title>Pluto.js Demo</title>
<style>
input{
width: 50px;
}
input[type=radio]{
width: 25px;
}
input[type="checkbox"]{
width: 25px;
}
button{
border: solid 2px #c0d2d2;
border-radius: 4px;
padding: 8px 30px;
font-size: 15px;
cursor: pointer;
}
#planet_result tr:nth-child(even), #house_result tr:nth-child(even){
background: #e3f7f7;
}
#planet_result td, #house_result td{
vertical-align: top;
padding: 0 10px;
}
</style>
</head>
<body>
<h1>Pluto.js Demo</h1>
<table>
<tr>
<td>Year-Month-Day</td>
<td>
<input id="year" value="2000"> -
<input id="month" value="1"> -
<input id="day" value="1">
</td>
</tr>
<tr>
<td>Hour:Minute</td>
<td>
<input id="hour" value="0"> :
<input id="minute" value="0">
</td>
</tr>
<tr>
<td>Timezone</td>
<td>
<input id="timezone" value="0">
</td>
</tr>
<tr>
<td>Latitude / Longitude</td>
<td>
<input id="latitude" value="0"> /
<input id="longitude" value="0">
</td>
</tr>
<tr>
<td>Type</td>
<td>
<input id="siderial" type="checkbox">Siderial
<input id="heliocentric" type="checkbox">Heliocentric
</td>
</tr>
<tr>
<td>Sidereal Type</td>
<td>
<input type="radio" value="" class="sidereal_type" name="sidereal_type" id="sidereal_type_" checked=""><span class="sidereal_type">Fagan/Bradley</span>
<input type="radio" value="1" class="sidereal_type" name="sidereal_type" id="sidereal_type_1" ><span class="sidereal_type">Lahiri</span>
<input type="radio" value="2" class="sidereal_type" name="sidereal_type" id="sidereal_type_2"><span class="sidereal_type">De Luce</span>
<input type="radio" value="3" class="sidereal_type" name="sidereal_type" id="sidereal_type_3"><span class="sidereal_type">Raman</span>
<input type="radio" value="4" class="sidereal_type" name="sidereal_type" id="sidereal_type_4"><span class="sidereal_type">Ushashashi</span>
<input type="radio" value="5" class="sidereal_type" name="sidereal_type" id="sidereal_type_5"><span class="sidereal_type">Krishnamurti</span>
<input type="radio" value="6" class="sidereal_type" name="sidereal_type" id="sidereal_type_6"><span class="sidereal_type">Djwhal Khool</span>
<input type="radio" value="7" class="sidereal_type" name="sidereal_type" id="sidereal_type_7"><span class="sidereal_type">Yukteshwar</span>
<input type="radio" value="8" class="sidereal_type" name="sidereal_type" id="sidereal_type_8"><span class="sidereal_type">JN Bhasin</span>
<input type="radio" value="14" class="sidereal_type" name="sidereal_type" id="sidereal_type_9"><span class="sidereal_type">Aldebaran at 15 Taurus</span>
</td>
</tr>
<tr>
<td>House System</td>
<td>
<input type="radio" value="" class="house_system" name="house_system" id="house_system_" checked=""><span class="house_system">Placidus</span>
<input type="radio" value="K" class="house_system" name="house_system" id="house_system_K"><span class="house_system">Koch</span>
<input type="radio" value="C" class="house_system" name="house_system" id="house_system_C"><span class="house_system">Campanus</span>
<input type="radio" value="R" class="house_system" name="house_system" id="house_system_R"><span class="house_system">Regiomontanus</span>
<input type="radio" value="E" class="house_system" name="house_system" id="house_system_E"><span class="house_system">Equal</span>
<input type="radio" value="W" class="house_system" name="house_system" id="house_system_W"><span class="house_system">Whole Sign</span>
<input type="radio" value="T" class="house_system" name="house_system" id="house_system_T"><span class="house_system">Topocentric</span>
<input type="radio" value="M" class="house_system" name="house_system" id="house_system_M"><span class="house_system">Morinus</span>
<input type="radio" value="X" class="house_system" name="house_system" id="house_system_X"><span class="house_system">Meridian</span>
<input type="radio" value="O" class="house_system" name="house_system" id="house_system_O"><span class="house_system">Porphyry</span>
</td>
</tr>
</table>
<button onclick="calc();">Calculate</button>
<h2>Planet Result</h2>
<table>
<tr>
<th>Planet</th>
<th>Longitude</th>
<th>Longitude Speed</th>
<th>Laitude</th>
<th>Laitude Speed</th>
<th>Distance</th>
<th>Distance Speed</th>
</tr>
<tbody id="planet_result"></tbody>
</table>
<h2>Ayanamsha</h2>
<p id="ayanamsha"></p>
<h2>House Result</h2>
<table>
<tr>
<th>House</th>
<th>Longitude</th>
</tr>
<tbody id="house_result"></tbody>
</table>
<script type="text/javascript" src="test/js/index.js"></script>
</body>
</html>