-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
116 lines (101 loc) · 2.6 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
<!DOCTYPE html>
<html>
<head>
<title>User Manager</title>
<meta charset="utf-8" />
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
<!--jQuery-->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<style>
.bold {
font-weight:bold;
}
.margin-top-20 {
margin-top:20px;
}
</style>
</head>
<body>
<div class="container">
<h1>User Manager</h1>
<div>
<a href="#" class="btn btn-primary" data-target="#add-user-modal" data-toggle="modal">Add User</a>
</div>
</div>
<div class="container margin-top-20">
<table class="table striped">
<thead>
<tr>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
<th>Email</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>
Arun
</td>
<td>
Sood
</td>
<td>
arsood
</td>
<td>
</td>
<td>
<a href="#" class="btn btn-primary">Edit</a>
</td>
</tr>
</tbody>
</table>
</div>
<div id="add-user-modal" class="modal fade">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title">Add a User</h4>
</div>
<div class="modal-body">
<div class="bold">
First Name
</div>
<div class="margin-top-20">
<input name="firstname" type="text" class="form-control" placeholder="First Name" />
</div>
<div class="bold margin-top-20">
Last Name
</div>
<div class="margin-top-20">
<input name="lastname" type="text" class="form-control" placeholder="Last Name" />
</div>
<div class="bold margin-top-20">
Username
</div>
<div class="margin-top-20">
<input name="username" type="text" class="form-control" placeholder="Username" />
</div>
<div class="bold margin-top-20">
Email
</div>
<div class="margin-top-20">
<input name="email" type="text" class="form-control" placeholder="Email" />
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button data-dismiss="modal" type="submit" class="btn btn-primary">Save User</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</body>
</html>