-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·68 lines (68 loc) · 3.18 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 lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Aslam Task</title>
<link href="css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<h2>User Form</h2>
<form action="" method="" name="userForm" autocomplete="off">
<div class="col-sm-4">
<div class="form-group">
<input type="hidden" id="id">
<label for="nme">Name:</label>
<input type="text" name="name" class="form-control" id="name" placeholder="Enter Name">
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label for="email">Email:</label>
<input type="email" class="form-control" name="email" id="email" placeholder="Enter email">
</div>
</div>
<div class="col-sm-4">
<div class="form-group">
<label for="pwd">Password:</label>
<input type="password" name="password" class="form-control" id="pwd" placeholder="Enter password">
</div>
</div>
<button type="submit" id="submit" class="btn btn-default">Submit</button>
<button type="button" style="display:none;" id="update" class="btn btn-default">Update</button>
</form>
<form id="frmupload" name="frmupload" enctype="multipart/form-data">
<label for="upfile">Upload file</label>
<div id="uploaddiv">
<div class="input-group" style="margin-bottom:10px;">
<input type="file" multiple="multiple" style="width:300px" name="image[]" id="image" class="form-control btn btn-primary pull-left">
<a href="javascript:void(0);" onclick="delfile(this);" class="btn btn-danger pull-right">remove</a>
</div>
</div>
<button type="button" name="addfile" class="btn btn-sm btn-success" id="addfile">add more file</button>
<input type="submit" value="Upload File" class="btn btn-sm btn-warning" id="btnupload">
</form>
<table class="table">
<thead>
<tr>
<th class="text-center">Name</th>
<th class="text-center">Email</th>
<th class="text-center">Password</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody id="userData"></tbody>
</table>
</div>
<div class="col-sm-2"></div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<!-- // <script src="update.js"></script> -->
<script src="js/main.js"></script>
</body>
</html>