/
index.php
107 lines (96 loc) · 4.66 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
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
<!DOCTYPE html>
<html>
<head>
<title>Datatable</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- This 2 is for jQuery UI -->
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.9/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<!-- This is for Bootstrap UI
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.9/css/dataTables.bootstrap.min.css">
-->
<!-- Plugin for Column Visiblity - CSS - 1 file -->
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/buttons/1.0.3/css/buttons.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="css/datable_custom.css">
</head>
<body>
<div class="header"><h1>Hpippm DataTable</h1></div>
<div class="container">
<table id="employee-grid" class="display" cellspacing="0" width="100%">
<thead>
<!-- Problamatic Part -->
<!-- <tr>
<th rowspan="2">Name</th>
<th colspan="2">HR Information</th>
<th colspan="3">Contact</th>
</tr> -->
<!-- Problamatic Part - END -->
<tr>
<th>Employee Name</th>
<th>Salary</th>
<th>Position</th>
<th>City</th>
<th>Extension</th>
<th style="min-width: 110px;">Joining Date</th>
<th>Age</th>
<th>Action</th>
</tr>
<tr>
<td><input type="text" id="0" placeholder="Search" class="employee-search-input"></td>
<td><input type="text" id="1" placeholder="Search" class="employee-search-input"></td>
<td><input type="text" id="2" placeholder="Search" class="employee-search-input" ></td>
<td><input type="text" id="3" placeholder="Search" class="employee-search-input" ></td>
<td><input type="text" id="4" placeholder="Search" class="employee-search-input" ></td>
<td valign="middle"><input type="text" id="5" placeholder="Select Date" class="employee-search-input datepicker" readonly="readonly"></td>
<td><input type="text" id="6" placeholder="Search" class="employee-search-input" ></td>
<th><input type="hidden" id="7" class="employee-search-input"></th>
</tr>
</thead>
</table>
</div>
<!-- Modal - Start -->
<div data-backdrop="static" data-keyboard="false" class="modal fade" id="addNewData" role="dialog">
<div class="modal-dialog">
<!-- Modal content for Pop Up -->
<div class="modal-content">
<div class="modal-header panel-primary">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Add a New Record</h4>
</div>
<div class="modal-body">
<div class="form-group">
<label for="usr">Name:</label>
<input type="text" class="form-control" id="usr">
</div>
<div class="form-group">
<label for="pwd">Password:</label>
<input type="password" class="form-control" id="pwd">
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-success">Add Data</button>
<input class="btn btn-danger" type="reset" value="Reset">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Modal - End -->
</body>
<!-- External Javascript Sources - Start -->
<script type="text/javascript" language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script type="text/javascript" language="javascript" src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- This 2 for jQuery UI -->
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" language="javascript" src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<!-- This 2 for Bootstrap UI
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.10.9/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/1.10.9/js/dataTables.bootstrap.min.js"></script>
-->
<!-- Plugin for Column Visiblity - JS - 2 files -->
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.0.3/js/dataTables.buttons.min.js"></script>
<script type="text/javascript" language="javascript" src="https://cdn.datatables.net/buttons/1.0.3/js/buttons.colVis.min.js"></script>
<script type="text/javascript" language="javascript" src="js/datatable_custom.js"></script>
<!-- External Javascript Sources - End -->
</html>