-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDataTables Bootstrap 3 example.html
167 lines (159 loc) · 8.85 KB
/
DataTables Bootstrap 3 example.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!-- saved from url=(0062)http://www.datatables.net/manual/styling/bootstrap-simple.html -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DataTables Bootstrap 3 example</title>
<link rel="stylesheet" type="text/css" href="./DataTables Bootstrap 3 example_files/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="./DataTables Bootstrap 3 example_files/dataTables.bootstrap.css">
<script type="text/javascript" language="javascript" src="./DataTables Bootstrap 3 example_files/jquery-1.10.2.min.js"></script>
<script type="text/javascript" language="javascript" src="./DataTables Bootstrap 3 example_files/jquery.dataTables.min.js"></script>
<script type="text/javascript" language="javascript" src="./DataTables Bootstrap 3 example_files/dataTables.bootstrap.js"></script>
<script type="text/javascript" charset="utf-8">
$(document).ready(function() {
$('#example').dataTable();
} );
</script>
<style type="text/css"></style></head>
<body>
<div class="container">
<div id="example_wrapper" class="dataTables_wrapper form-inline dt-bootstrap no-footer">
<div class="row">
<div class="col-sm-6">
<div class="dataTables_length" id="example_length">
<label>Show
<select name="example_length" aria-controls="example" class="form-control input-sm">
<option value="10">10</option>
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
</select> entries
</label>
</div>
</div>
<div class="col-sm-6">
<div id="example_filter" class="dataTables_filter">
<label>Search:
<input type="search" class="form-control input-sm" placeholder="" aria-controls="example">
</label>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<table id="example" class="table table-striped table-bordered dataTable no-footer" cellspacing="0" width="100%" role="grid" aria-describedby="example_info" style="width: 100%;">
<thead>
<tr role="row">
<th class="sorting_asc" tabindex="0" aria-controls="example" rowspan="1" colspan="1" aria-label="Name: activate to sort column descending" style="width: 251px;" aria-sort="ascending">Name</th>
<th class="sorting" tabindex="0" aria-controls="example" rowspan="1" colspan="1" aria-label="Position: activate to sort column ascending" style="width: 402px;">Position</th>
<th class="sorting" tabindex="0" aria-controls="example" rowspan="1" colspan="1" aria-label="Office: activate to sort column ascending" style="width: 189px;">Office</th>
<th class="sorting" tabindex="0" aria-controls="example" rowspan="1" colspan="1" aria-label="Salary: activate to sort column ascending" style="width: 149px;">Salary</th>
</tr>
</thead>
<tbody>
<tr role="row" class="odd">
<td class="sorting_1">Airi Satou</td>
<td>Accountant</td>
<td>Tokyo</td>
<td>$162,700</td>
</tr>
<tr role="row" class="even">
<td class="sorting_1">Angelica Ramos</td>
<td>Chief Executive Officer (CEO)</td>
<td>London</td>
<td>$1,200,000</td>
</tr>
<tr role="row" class="odd">
<td class="sorting_1">Ashton Cox</td>
<td>Junior Technical Author</td>
<td>San Francisco</td>
<td>$86,000</td>
</tr>
<tr role="row" class="even">
<td class="sorting_1">Bradley Greer</td>
<td>Software Engineer</td>
<td>London</td>
<td>$132,000</td>
</tr>
<tr role="row" class="odd">
<td class="sorting_1">Brenden Wagner</td>
<td>Software Engineer</td>
<td>San Francisco</td>
<td>$206,850</td>
</tr>
<tr role="row" class="even">
<td class="sorting_1">Brielle Williamson</td>
<td>Integration Specialist</td>
<td>New York</td>
<td>$372,000</td>
</tr>
<tr role="row" class="odd">
<td class="sorting_1">Bruno Nash</td>
<td>Software Engineer</td>
<td>London</td>
<td>$163,500</td>
</tr>
<tr role="row" class="even">
<td class="sorting_1">Caesar Vance</td>
<td>Pre-Sales Support</td>
<td>New York</td>
<td>$106,450</td>
</tr>
<tr role="row" class="odd">
<td class="sorting_1">Cara Stevens</td>
<td>Sales Assistant</td>
<td>New York</td>
<td>$145,600</td>
</tr>
<tr role="row" class="even">
<td class="sorting_1">Cedric Kelly</td>
<td>Senior Javascript Developer</td>
<td>Edinburgh</td>
<td>$433,060</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row">
<div class="col-sm-6">
<div class="dataTables_info" id="example_info" role="status" aria-live="polite">Showing 1 to 10 of 57 entries</div>
</div>
<div class="col-sm-6">
<div class="dataTables_paginate paging_simple_numbers" id="example_paginate">
<ul class="pagination">
<li class="paginate_button previous disabled" aria-controls="example" tabindex="0" id="example_previous">
<a href="http://www.datatables.net/manual/styling/bootstrap-simple.html#">Previous</a>
</li>
<li class="paginate_button active" aria-controls="example" tabindex="0">
<a href="http://www.datatables.net/manual/styling/bootstrap-simple.html#">1</a>
</li>
<li class="paginate_button " aria-controls="example" tabindex="0">
<a href="http://www.datatables.net/manual/styling/bootstrap-simple.html#">2</a>
</li>
<li class="paginate_button " aria-controls="example" tabindex="0">
<a href="http://www.datatables.net/manual/styling/bootstrap-simple.html#">3</a>
</li>
<li class="paginate_button " aria-controls="example" tabindex="0">
<a href="http://www.datatables.net/manual/styling/bootstrap-simple.html#">4</a>
</li>
<li class="paginate_button " aria-controls="example" tabindex="0">
<a href="http://www.datatables.net/manual/styling/bootstrap-simple.html#">5</a>
</li>
<li class="paginate_button " aria-controls="example" tabindex="0">
<a href="http://www.datatables.net/manual/styling/bootstrap-simple.html#">6</a>
</li>
<li class="paginate_button next" aria-controls="example" tabindex="0" id="example_next">
<a href="http://www.datatables.net/manual/styling/bootstrap-simple.html#">Next</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
// For demo to fit into DataTables site builder...
$('#example')
.removeClass( 'display' )
.addClass('table table-striped table-bordered');
</script>
</body></html>