annotate DataTables-1.9.4/media/src/ext/ext.classes.js @ 0:ac5f9272033b draft

first upload
author saskia-hiltemann
date Tue, 01 Jul 2014 11:42:23 -0400
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
1
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
2 $.extend( DataTable.ext.oStdClasses, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
3 "sTable": "dataTable",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
4
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
5 /* Two buttons buttons */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
6 "sPagePrevEnabled": "paginate_enabled_previous",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
7 "sPagePrevDisabled": "paginate_disabled_previous",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
8 "sPageNextEnabled": "paginate_enabled_next",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
9 "sPageNextDisabled": "paginate_disabled_next",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
10 "sPageJUINext": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
11 "sPageJUIPrev": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
12
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
13 /* Full numbers paging buttons */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
14 "sPageButton": "paginate_button",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
15 "sPageButtonActive": "paginate_active",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
16 "sPageButtonStaticDisabled": "paginate_button paginate_button_disabled",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
17 "sPageFirst": "first",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
18 "sPagePrevious": "previous",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
19 "sPageNext": "next",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
20 "sPageLast": "last",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
21
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
22 /* Striping classes */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
23 "sStripeOdd": "odd",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
24 "sStripeEven": "even",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
25
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
26 /* Empty row */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
27 "sRowEmpty": "dataTables_empty",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
28
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
29 /* Features */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
30 "sWrapper": "dataTables_wrapper",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
31 "sFilter": "dataTables_filter",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
32 "sInfo": "dataTables_info",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
33 "sPaging": "dataTables_paginate paging_", /* Note that the type is postfixed */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
34 "sLength": "dataTables_length",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
35 "sProcessing": "dataTables_processing",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
36
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
37 /* Sorting */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
38 "sSortAsc": "sorting_asc",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
39 "sSortDesc": "sorting_desc",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
40 "sSortable": "sorting", /* Sortable in both directions */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
41 "sSortableAsc": "sorting_asc_disabled",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
42 "sSortableDesc": "sorting_desc_disabled",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
43 "sSortableNone": "sorting_disabled",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
44 "sSortColumn": "sorting_", /* Note that an int is postfixed for the sorting order */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
45 "sSortJUIAsc": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
46 "sSortJUIDesc": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
47 "sSortJUI": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
48 "sSortJUIAscAllowed": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
49 "sSortJUIDescAllowed": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
50 "sSortJUIWrapper": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
51 "sSortIcon": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
52
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
53 /* Scrolling */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
54 "sScrollWrapper": "dataTables_scroll",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
55 "sScrollHead": "dataTables_scrollHead",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
56 "sScrollHeadInner": "dataTables_scrollHeadInner",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
57 "sScrollBody": "dataTables_scrollBody",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
58 "sScrollFoot": "dataTables_scrollFoot",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
59 "sScrollFootInner": "dataTables_scrollFootInner",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
60
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
61 /* Misc */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
62 "sFooterTH": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
63 "sJUIHeader": "",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
64 "sJUIFooter": ""
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
65 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
66
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
67
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
68 $.extend( DataTable.ext.oJUIClasses, DataTable.ext.oStdClasses, {
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
69 /* Two buttons buttons */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
70 "sPagePrevEnabled": "fg-button ui-button ui-state-default ui-corner-left",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
71 "sPagePrevDisabled": "fg-button ui-button ui-state-default ui-corner-left ui-state-disabled",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
72 "sPageNextEnabled": "fg-button ui-button ui-state-default ui-corner-right",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
73 "sPageNextDisabled": "fg-button ui-button ui-state-default ui-corner-right ui-state-disabled",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
74 "sPageJUINext": "ui-icon ui-icon-circle-arrow-e",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
75 "sPageJUIPrev": "ui-icon ui-icon-circle-arrow-w",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
76
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
77 /* Full numbers paging buttons */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
78 "sPageButton": "fg-button ui-button ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
79 "sPageButtonActive": "fg-button ui-button ui-state-default ui-state-disabled",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
80 "sPageButtonStaticDisabled": "fg-button ui-button ui-state-default ui-state-disabled",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
81 "sPageFirst": "first ui-corner-tl ui-corner-bl",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
82 "sPageLast": "last ui-corner-tr ui-corner-br",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
83
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
84 /* Features */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
85 "sPaging": "dataTables_paginate fg-buttonset ui-buttonset fg-buttonset-multi "+
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
86 "ui-buttonset-multi paging_", /* Note that the type is postfixed */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
87
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
88 /* Sorting */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
89 "sSortAsc": "ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
90 "sSortDesc": "ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
91 "sSortable": "ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
92 "sSortableAsc": "ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
93 "sSortableDesc": "ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
94 "sSortableNone": "ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
95 "sSortJUIAsc": "css_right ui-icon ui-icon-triangle-1-n",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
96 "sSortJUIDesc": "css_right ui-icon ui-icon-triangle-1-s",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
97 "sSortJUI": "css_right ui-icon ui-icon-carat-2-n-s",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
98 "sSortJUIAscAllowed": "css_right ui-icon ui-icon-carat-1-n",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
99 "sSortJUIDescAllowed": "css_right ui-icon ui-icon-carat-1-s",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
100 "sSortJUIWrapper": "DataTables_sort_wrapper",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
101 "sSortIcon": "DataTables_sort_icon",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
102
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
103 /* Scrolling */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
104 "sScrollHead": "dataTables_scrollHead ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
105 "sScrollFoot": "dataTables_scrollFoot ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
106
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
107 /* Misc */
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
108 "sFooterTH": "ui-state-default",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
109 "sJUIHeader": "fg-toolbar ui-toolbar ui-widget-header ui-corner-tl ui-corner-tr ui-helper-clearfix",
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
110 "sJUIFooter": "fg-toolbar ui-toolbar ui-widget-header ui-corner-bl ui-corner-br ui-helper-clearfix"
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
111 } );
ac5f9272033b first upload
saskia-hiltemann
parents:
diff changeset
112