-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
73 lines (69 loc) · 2.24 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
<html>
<head>
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.8/themes/hot-sneaks/jquery-ui.css" type="text/css" media="all">
<link rel="stylesheet" href="styles.css">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js"></script>
<script src="script.js" type="text/javascript"></script>
</head>
<body>
<h1>FamilySearch API Sample</h1>
<header class="welcome ui-widget-header"><span>Welcome Guest</span> <a id="authlink" href="oauth.php">Sign In</a></header>
<div id="content" class="content">
<div id="tabs">
<ul>
<li><a href="#tabs-1">Search</a></li>
<li><a href="#tabs-2">Person Details</a></li>
<li><a href="#tabs-3">Discussions</a></li>
</ul>
<div id="tabs-1">
<form id="searchForm">
<fieldset>
<legend>A simple search form with submit validation and default messages</legend>
<p>
<label for="givenNameSearch">Given Name</label>
<em>*</em><input id="givenNameSearch" name="givenName" size="25" class="required" />
</p>
<p>
<label for="familyNameSearch">Family Name</label>
<em>*</em><input id="familyNameSearch" name="familyName" size="25" class="required email" />
</p>
<p>
<fieldset >
<legend>Gender</legend>
<label for="gender_male">
<input type="radio" id="gender_male" value="Male" name="gender" validate="required:true" checked>
Male
</label>
<label for="gender_female">
<input type="radio" id="gender_female" value="Female" name="gender">
Female
</label>
</fieldset>
</p>
<p>
<input class="submit" type="submit" value="Search"/>
</p>
</fieldset>
</form>
<table id="searchResults">
<caption>Search Results</caption>
<thead><tr><th>ID</th><th>Name</th><th>Score</th></tr></thead>
<tbody>
<tr><td colspan="3">No results</td></tr>
</tbody>
</table>
</div>
<div id="tabs-2">
<p>Person Details go here</p>
</div>
<div id="tabs-3">
<p>Discussions go here</p>
</div>
</div>
</div>
<footer>
<div id="errors" class="errors"></div>
</footer>
</body>
</html>