-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
78 lines (78 loc) · 3.04 KB
/
index.php
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
<?php
include('inc/header.php');
?>
<title>UCSC - MIS - Independant Studies</title>
<script src="js/jquery.dataTables.min.js"></script>
<script src="js/dataTables.bootstrap.min.js"></script>
<link rel="stylesheet" href="css/dataTables.bootstrap.min.css" />
<script src="js/data.js"></script>
<div class="container contact">
<h2>Week 7 - Secure Software Development</h2>
<div class="col-lg-10 col-md-10 col-sm-9 col-xs-12">
<div class="panel-heading">
<div class="row">
<div class="col-md-10">
<h3 class="panel-title"></h3>
</div>
<div class="col-md-2" align="right">
<button type="button" name="add" id="addEmployee" class="btn btn-success btn-xs">Insert Employee Details</button>
</div>
</div>
</div>
<table id="employeeList" class="table table-bordered table-striped">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Age</th>
<th>Skills</th>
<th>Address</th>
<th>Designation</th>
<th></th>
<th></th>
</tr>
</thead>
</table>
</div>
<div id="employeeModal" class="modal fade">
<div class="modal-dialog">
<form method="post" id="employeeForm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title"><i class="fa fa-plus"></i> Edit User</h4>
</div>
<div class="modal-body">
<div class="form-group"
<label for="name" class="control-label">Name</label>
<input type="text" class="form-control" id="empName" name="empName" placeholder="Name" required>
</div>
<div class="form-group">
<label for="age" class="control-label">Age</label>
<input type="number" class="form-control" id="empAge" name="empAge" placeholder="Age">
</div>
<div class="form-group">
<label for="lastname" class="control-label">Skills</label>
<input type="text" class="form-control" id="empSkills" name="empSkills" placeholder="Skills" required>
</div>
<div class="form-group">
<label for="address" class="control-label">Address</label>
<textarea class="form-control" rows="5" id="address" name="address"></textarea>
</div>
<div class="form-group">
<label for="lastname" class="control-label">Designation</label>
<input type="text" class="form-control" id="designation" name="designation" placeholder="Designation">
</div>
</div>
<div class="modal-footer">
<input type="hidden" name="empId" id="empId" />
<input type="hidden" name="action" id="action" value="" />
<input type="submit" name="save" id="save" class="btn btn-info" value="Save" />
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</form>
</div>
</div>
</div>
<?php include('inc/footer.php');?>