-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (62 loc) · 1.64 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/style.css">
<title></title>
<script data-main="js/main" src="/js/require.js"></script>
</head>
<body>
<div id="users">
</div>
<div id="information">
</div>
<script type="text/template" id="user">
<strong><%= name %> <%= lastName %></strong> - <%= gender %>, <%= age %> years old
</script>
<script type="text/template" id="infoTempl">
<li>
Name: <%= name %>
</li>
<li>
Last Name: <%= lastName %>
</li>
<li>
Gender: <%= gender %>
</li>
<li>
Age: <%= age %>
</li>
<li>
Phone Number: <%= phoneNumber %>
</li>
<a href="#" id='edit'>Edit</a>
<a href='#' id='close'>close</a>
</script>
<script type="text/template" id="editInfo">
<ul class="edit">
<li>
Name: <input type="text" id="name"> <span id="nameSpan"></span>
</li>
<li>
Last Name: <input type="text" id="lastName"> <span id="lastNameSpan"></span>
</li>
<li>
Gender:
<select size='1' id="gender">
<option value="male">Male</option>
<option value="female">Female</option>
</select> <span id="genderSpan"></span>
</li>
<li>
Age: <input type="text" id="age"> <span id="ageSpan"></span>
</li>
<li>
Phone Number: <input type="text" id="phoneNumber"> <span id="phoneNumberSpan"></span>
</li>
<input type="button" value="Save" id="saveButton">
<input type="button" value="Close" id="closeButton">
</ul>
</script>
</body>
</html>