forked from balinaanna/family_tree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
216 lines (214 loc) · 10.1 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>BASE FAMILY TREE WEB APPLICATION</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="data:image/x-icon;base64,AAABAAEAEBAAAAAAAABoBQAAFgAAACgAAAAQAAAAIAAAAAEACAAAAAAAAAEAAAAAAAAAAAAAAAEAAAAAAAAAAAAAEkYuABNKMQAfk2gAITwrABlJLgAVeVEA2fPoABp8UQAaelQA+P38ABRdPQAno2sA/v7/AP/+/wAVjWAAIoVaACWGXQA2oW4AH41gAB+RYwARSS8AF3NJABhzSQAWd0wAE1E1AGKrggAtZEkAF39SABAwGwAhd0wAFVs4ABxTOwAdg1UAK3NSAC6ebwBBiWYAKadvAFGngAAlhl4AEHNKAEO8iQARSTAAEkkwABdJMAAZRzMAKY5kACqOZAAhbUoAMVpHABJUNgDh7+cAHKd5ADKVZwAbhFkA5vTtADVxVgAjilkAMUs/AEKScAAac0sAGXROABlHNAAgc0sA9/v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fqepn6RpNwqDg4ODqXReU5A4EUsiZ2VxGwVMg3grbj4EOjEclg8hL6piVDN2Mh1tRZmiQoWIE5Iph291hosnAXkCUK2aFUctlz1YgH8IC2tVEGiJZmOdkWByrnpdhHCeaqUuSKE/r09fQ5M7QDCmd0QgFFeVKKtkjY59JKk0ik5hIxlalCo5CTw2EqyDB4xJo1KgUXtcj7AGViaDg4OoFx4fGCxNsZsWNQOpg4ODg4NGggwlbFtzfEGDg4ODg4ODDakaSlmcqQ6Dg4ODAAAAAAAAAAAAAAAAAAAAAP//AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP//AAA=" rel="icon" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link type='text/css' href='assets/css/osx.css' rel='stylesheet' media='screen'>
<script data-main="js/app/main" src="/js/libs/jquery-1.7.1.min.js"></script>
<script data-main="js/app/main" src="/js/libs/underscore-min.js"></script>
<script data-main="js/app/main" src="/js/libs/backbone-min.js"></script>
<script data-main="js/app/main" src="js/libs/require.js"></script>
<script data-main="js/app/main" src="js/libs/Three.js"></script>
<link rel="stylesheet" type="text/css" href="assets/css/imgareaselect-default.css" />
<script type="text/javascript" src="js/libs/jquery.imgareaselect.pack.js"></script>
<script type="text/javascript" src="js/libs/upclick.js"></script>
<script type="text/javascript" src="js/libs/popups.js"></script>
<link href="assets/css/smoothness/jquery-ui-1.8.18.custom.css" rel="stylesheet" type="text/css"/>
<script src="jquery-ui.min.js"></script>
<script>
$(document).ready(function() {
$("#birth_date").datepicker({ changeYear: true, yearRange: '1900:2050', createButton:false, clickInput:true });
});
</script>
</head>
<body class="body">
<div id="home">
<div id="navigator" style="position:absolute; z-index: 100;">
<input type="button" id="logout_btn" value="Logout" />
<div id="zoom_text">Zoom</div>
<!--div class="circle arrow-up">
<div id="arrowup" class="arrow"></div>
</div>
<div class="circle arrow-left">
<div id="arrowleft" class="arrow"></div>
</div>
<div class="circle arrow-right">
<div id="arrowright" class="arrow"></div>
</div>
<div class="circle arrow-down">
<div id="arrowdown" class="arrow"></div>
</div-->
<!--div id="plus" class="circle"></div-->
<div id="slider"></div>
<hr style="margin-top: 140px;"/>
<div id="revers" style="border: solid 1px gainsboro; cursor: pointer;"><div id="zoom_text">Reverse</div></div>
<!--div id="minus" class="circle"></div-->
</div>
<div id="roll" style="position: absolute; height: 99%; width: 80px; z-index: 10;"></div>
<div id="hint"></div>
<div id="osx-modal-content-edit">
<div id="osx-modal-title-edit">
OSX Style Modal Dialog
</div>
<div class="close">
<a href="#" class="simplemodal-close">x</a>
</div>
<div id="osx-modal-data-edit">
<table id="data_table">
<tr>
<td id="photo_form">
<div id="photo_upload" style="height: 80px;">
<input type="button" id="upload_input" value="Upload photo">
<div>*.jpg, *.jpeg, *.png, *.gif (max file size 2 Mb)</div>
</div>
<div id="photo_crop">
<div id="text_image">
<span>Select photo fragment to display</span>
</div>
<div id="photo_div">
<img id="photo" />
<div id="dp"><img id="photo_native_size"/></div>
</div>
<div id="container_preview">
<img id="photo_preview" src="" />
</div>
<input type="hidden" id="x1" name="x1" value="" />
<input type="hidden" id="y1" name="y1" value="" />
<input type="hidden" id="x2" name="x2" value="" />
<input type="hidden" id="y2" name="y2" value="" />
<input type="hidden" id="w" name="w" value="" />
<input type="hidden" id="h" name="h" value="" />
<input type="hidden" id="cropped" name="cropped" value="" />
<input type="hidden" id="uploaded" name="uploaded" value="" />
</div>
</td>
<td>
<table id="user_info_div" class="form_edit_user">
<tr>
<td class="data-edit-field"> First name </td>
<td class="data-edit-data">
<input type="hidden" id="user_id" name="user_id"/>
<input type="hidden" id="f_id" name="f_id"/>
<input type="hidden" id="m_id" name="m_id"/>
<input type="hidden" id="ch_ids" name="ch_ids"/>
<input type="hidden" id="spouse_id" name="spouse_id"/>
<input id="f_name" name="f_name"/>
</td>
</tr>
<tr>
<td class="data-edit-field"> Last name </td>
<td class="data-edit-data">
<input id="l_name" name="l_name"/>
</td>
</tr>
<tr>
<td class="data-edit-field"> Birth date </td>
<td class="data-edit-data">
<input id="b_date" name="b_date"/>
</td>
</tr>
<tr>
<td class="data-edit-field"> Death date </td>
<td class="data-edit-data">
<input id="d_date" name="d_date"/>
</td>
</tr>
<tr>
<td class="data-edit-field"> Gender</td>
<td>
<input type="radio" id="m_radio" name="gender" value="m" checked />
Male
<input type="radio" id="f_radio" name="gender" value="f" />
Female </td>
</tr>
<tr>
<td class="data-edit-field"> About </td>
<td class="data-edit-data">
<textarea id="about" name="about" class="mceEditor"></textarea>
</td>
</tr>
</table>
<table>
<tr><td>
<div id="osx-modal-content-buttons">
<input type="submit" id="submit_person" class="simplemodal-close" value="Save" />
<input type="button" class="simplemodal-close" value="Close">
<span>(or press ESC or click the overlay)</span>
</div>
</td></tr>
</table></td>
</tr>
</table>
</div>
</div>
</div>
<div id="formContainer">
<div id="tabbox">
<a href="#" id="registertab" class="tab signup">Register</a>
<a href="#" id="logintab" class="tab select">Login</a>
</div>
<div id="panel">
<div id="loginbox">
<form id="login" method="post" action="./">
<table style="margin: 50px 0 0 150px;">
<tr>
<td>Email<span style="color: red;">*</span>:</td>
<td><input type="text" name="loginEmail" id="loginEmail" placeholder="Email" /></td>
</tr>
<tr>
<td>Password<span style="color: red;">*</span>:</td>
<td><input type="password" name="loginPass" id="loginPass" placeholder="Password" /></td>
</tr>
<tr>
<td></td>
<td style="text-align: center;"><input type="submit" id="loginbtn" name="submit" value="Login" style="margin-top: 15px;" /></td>
</tr>
<tr>
<td></td>
<td style="text-align: center;"><a href="#" id="flipToRecover" class="flipLink">Can't access your account?</a></td>
</tr>
</table>
</form>
</div>
<div id="signupbox">
<form id="register" method="post" action="./">
<table style="margin: 30px 0 0 150px;">
<tr>
<td>Email<span style="color: red;">*</span>:</td>
<td><input type="text" name="regEmail" id="regEmail" placeholder="Your Email" /></td>
</tr>
<tr>
<td>Password<span style="color: red;">*</span>:</td>
<td><input type="password" name="password" id="password" placeholder="Password" /></td>
</tr>
<tr>
<td>First Name:</td>
<td><input type="text" name="first_name" id="first_name" placeholder="Your Name" /></td>
</tr>
<tr>
<td>Last Name:</td>
<td><input type="text" name="last_name" id="last_name" placeholder="Your Last Name" /></td>
</tr>
<tr>
<td>Birth date:</td>
<td><input type="date" name="birth_date" id="birth_date" placeholder="Your Birthday"/></td>
</tr>
<tr>
<td>Sex:</td>
<td><input type="radio" name="s" id="s" value="m" checked /> Male
<input type="radio" name="s" id="s" value="f" /> Female</td>
</tr>
<tr>
<td></td>
<td style="text-align: center;"><input type="submit" id="registrationbtn" name="submit" value="Signup" style="margin-top: 15px;"/></td>
</tr>
</table>
</form>
<div id="reg_result"></div>
</div>
</div>
</div>
</body>
</html>