-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.html
53 lines (50 loc) · 2.22 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
<!DOCTYPE html>
<html>
<head>
<title>CRUD JQuery</title>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css">
</head>
<body>
<div class="container-fluid" style="padding: 0px; margin: 0px;">
<div class="jumbotron">
<h1 class="text-center">CRUD Oprations Using JQuery AJAX</h1>
</div>
</div>
<div class="container" style="padding-top: 25px;">
<div class="row">
<div class="col-md-12">
<div class="pull-right">
<button class="btn btn-success" id="show-add">Add New Record</button>
</div>
<div id="link-add" class="form-inline">
<div class="form-group col-md-3">
<input type="text" name="name" id="name" placeholder="Name" class="form-control" required />
</div>
<div class="form-group col-md-3">
<input type="text" name="username" id="username" placeholder="Username" class="form-control" required/>
</div>
<div class="form-group col-md-3">
<input type="text" id="password" name="password" placeholder="Password" class="form-control" required />
</div>
<div class="form-group col-md-3">
<button type="button" class="btn btn-primary" id="add" name="add">Add Record</button>
<button type="button" href="javascript:void(0);" class="btn btn-default" id="cancel" name="add" onclick="$('#link-add').slideUp(400);$('#show-add').show(600);">Cancel</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div id="records_content"></div>
<br>
<div class="col-md-offset-1 col-md-10" id="table_content">
</div>
</div>
</div>
</div>
<script src="js/jquery-2.2.0.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="app.js"></script>
</body>
</html>