| author | Tomas Zeman <tzeman@volny.cz> |
| Thu, 12 Apr 2012 10:52:42 +0200 | |
| changeset 46 | 3092875edd20 |
| child 47 | cb88ced8aadf |
| permissions | -rw-r--r-- |
|
46
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
1 |
/* |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
2 |
* Copyright 2011-2012 Tomas Zeman <tzeman@volny.cz> |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
3 |
* |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
4 |
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
5 |
* you may not use this file except in compliance with the License. |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
6 |
* You may obtain a copy of the License at |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
7 |
* |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
8 |
* http://www.apache.org/licenses/LICENSE-2.0 |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
9 |
* |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
10 |
* Unless required by applicable law or agreed to in writing, software |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
11 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
12 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
13 |
* See the License for the specific language governing permissions and |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
14 |
* limitations under the License. |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
15 |
*/ |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
16 |
|
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
17 |
/* Grid layout w.r.t. Bootstrap. */ |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
18 |
$.extend( $.fn.dataTableExt.oStdClasses, {
|
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
19 |
"sDom": "<'row'<'span6'l><'span6'f>r>t<'row'<'span6'i><'span6'p>>", |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
20 |
}); |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
21 |
|
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
22 |
/* Default number of displayed rows. */ |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
23 |
$.fn.dataTable.defaults.iDisplayLength = 50; |
|
3092875edd20
imported patch datatables+bootstrap-2.patch
Tomas Zeman <tzeman@volny.cz>
parents:
diff
changeset
|
24 |