-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdemo_5.html
97 lines (73 loc) · 2.58 KB
/
demo_5.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JQuery Cloneable</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/theme.css"/>
<script type="text/javascript" src="js/jquery-1.8.2.min.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery-cloneable.min.js"></script>
<script type="text/javascript" src="js/demo/demo_5.js"></script>
</head>
<body>
<div class="container-fluid">
<div class="row-fluid">
<div class="span12">
<p class="text-info">Set data an specific index.</p>
</div>
</div>
<div class="row-fluid">
<div class="span12">
<table id="tableCloneable" class="table table-bordered table-striped">
<thead>
<tr>
<th>Photo</th>
<th>Full Name</th>
<th>Country</th>
<th>Education</th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="model">
<td style="text-align: center;">
<img name="photo[]" src="" class="img-polaroid" style="width: 48px; height: 48px;"/>
</td>
<td name="full_name[]"></td>
<td name="country[]"></td>
<td name="education[]"></td>
<td>
<button type="button" class="buttonEdit btn btn-primary input-block-level" tittle="Edit"><i class="icon-pencil icon-white"></i> Edit</button>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div id="windowEdit" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Edit</h3>
</div>
<div class="modal-body">
<input name="index" type="hidden"/>
Full name:
<input name="full_name" type="text" class="input-block-level" placeholder="Type a full name"/>
Country:
<select name="country" class="input-block-level">
<option value="">Select a country</option>
<option value="México">México</option>
<option value="United States">United States</option>
</select>
Education:
<textarea name="education" class="input-block-level" placeholder="Type a education"></textarea>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
<button id="buttonSave" class="btn btn-primary"><i class="icon-lock icon-white"></i> Save</button>
</div>
</div>
</div>
</body>
</html>