jtable-rails4 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.travis.yml +3 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +44 -0
- data/Rakefile +2 -0
- data/bin/console +14 -0
- data/bin/setup +7 -0
- data/jtable-rails4.gemspec +29 -0
- data/lib/jtable/rails4/version.rb +5 -0
- data/lib/jtable/rails4.rb +8 -0
- data/vendor/assets/javascripts/jtable/jquery.jtable.js +5021 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/close.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/column-asc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/column-desc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/column-sortable.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/delete.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/edit.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.css +282 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.less +83 -0
- data/vendor/assets/stylesheets/jtable/themes/basic/jtable_basic.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/add.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/bg-thead.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/close.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-asc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-desc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/column-sortable.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/delete.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/edit.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.css +398 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.less +296 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/jtable_jqueryui.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/jqueryui/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/jtable_theme_base.less +524 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/add.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/bg-thead.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/blue/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/close.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-asc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-desc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/column-sortable.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/delete.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/edit.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/gray/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/green/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/jtable_lightcolor_base.less +329 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/orange/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.css +521 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.less +90 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/lightcolor/red/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/add.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/blue/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/blue/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/brown/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/brown/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/close.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/column-asc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/column-desc.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/column-sortable.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/crimson/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/crimson/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkgray/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/darkorange/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/delete.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/edit.png +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/green/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/green/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.css +48 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.less +439 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/jtable_metro_base.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/lightgray/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/pink/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/pink/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/purple/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/purple/loading.gif +0 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.css +495 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.less +11 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/red/jtable.min.css +1 -0
- data/vendor/assets/stylesheets/jtable/themes/metro/red/loading.gif +0 -0
- metadata +226 -0
@@ -0,0 +1,398 @@
|
|
1
|
+
div.jtable-main-container {
|
2
|
+
position: relative;
|
3
|
+
}
|
4
|
+
div.jtable-main-container div.jtable-title {
|
5
|
+
position: relative;
|
6
|
+
text-align: left;
|
7
|
+
}
|
8
|
+
div.jtable-main-container div.jtable-title .jtable-close-button {
|
9
|
+
right: 0px;
|
10
|
+
top: 0px;
|
11
|
+
bottom: 0px;
|
12
|
+
position: absolute;
|
13
|
+
}
|
14
|
+
div.jtable-main-container div.jtable-title div.jtable-toolbar {
|
15
|
+
bottom: 0px;
|
16
|
+
right: 0px;
|
17
|
+
position: absolute;
|
18
|
+
display: inline-block;
|
19
|
+
margin-right: 5px;
|
20
|
+
}
|
21
|
+
div.jtable-main-container div.jtable-title div.jtable-toolbar span.jtable-toolbar-item {
|
22
|
+
position: relative;
|
23
|
+
display: inline-block;
|
24
|
+
margin: 0px 0px 0px 5px;
|
25
|
+
cursor: pointer;
|
26
|
+
font-size: 0.9em;
|
27
|
+
padding: 2px;
|
28
|
+
vertical-align: bottom;
|
29
|
+
}
|
30
|
+
div.jtable-main-container div.jtable-title div.jtable-toolbar span.jtable-toolbar-item span.jtable-toolbar-item-icon {
|
31
|
+
display: inline-block;
|
32
|
+
margin: 2px;
|
33
|
+
vertical-align: middle;
|
34
|
+
width: 16px;
|
35
|
+
height: 16px;
|
36
|
+
}
|
37
|
+
div.jtable-main-container div.jtable-title div.jtable-toolbar span.jtable-toolbar-item span.jtable-toolbar-item-text {
|
38
|
+
display: inline-block;
|
39
|
+
margin: 2px;
|
40
|
+
vertical-align: middle;
|
41
|
+
}
|
42
|
+
div.jtable-main-container div.jtable-title .jtable-close-button + div.jtable-toolbar {
|
43
|
+
margin-right: 30px;
|
44
|
+
}
|
45
|
+
div.jtable-main-container table.jtable {
|
46
|
+
width: 100%;
|
47
|
+
}
|
48
|
+
div.jtable-main-container table.jtable thead th {
|
49
|
+
vertical-align: middle;
|
50
|
+
text-align: left;
|
51
|
+
}
|
52
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header div.jtable-column-header-container {
|
53
|
+
position: relative;
|
54
|
+
}
|
55
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header div.jtable-column-header-container span.jtable-column-header-text {
|
56
|
+
display: inline-block;
|
57
|
+
}
|
58
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header div.jtable-column-header-container div.jtable-column-resize-handler {
|
59
|
+
position: absolute;
|
60
|
+
height: 24px;
|
61
|
+
width: 8px;
|
62
|
+
right: -8px;
|
63
|
+
top: -2px;
|
64
|
+
z-index: 2;
|
65
|
+
cursor: col-resize;
|
66
|
+
}
|
67
|
+
div.jtable-main-container table.jtable thead th.jtable-command-column-header {
|
68
|
+
text-align: center;
|
69
|
+
}
|
70
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header-selecting {
|
71
|
+
text-align: center;
|
72
|
+
width: 1%;
|
73
|
+
}
|
74
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header-selecting input {
|
75
|
+
cursor: pointer;
|
76
|
+
}
|
77
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header-sortable {
|
78
|
+
cursor: pointer;
|
79
|
+
}
|
80
|
+
div.jtable-main-container table.jtable tbody tr > td .jtable-command-button {
|
81
|
+
margin: 0px;
|
82
|
+
padding: 0px;
|
83
|
+
cursor: pointer;
|
84
|
+
border: none;
|
85
|
+
display: inline;
|
86
|
+
}
|
87
|
+
div.jtable-main-container table.jtable tbody tr > td .jtable-command-button span {
|
88
|
+
display: none;
|
89
|
+
}
|
90
|
+
div.jtable-main-container table.jtable tbody tr > td.jtable-command-column {
|
91
|
+
text-align: center;
|
92
|
+
vertical-align: middle;
|
93
|
+
}
|
94
|
+
div.jtable-main-container table.jtable tbody tr > td.jtable-selecting-column {
|
95
|
+
text-align: center;
|
96
|
+
vertical-align: middle;
|
97
|
+
}
|
98
|
+
div.jtable-main-container table.jtable tbody tr > td.jtable-selecting-column input {
|
99
|
+
cursor: pointer;
|
100
|
+
}
|
101
|
+
div.jtable-main-container table.jtable tbody tr.jtable-no-data-row {
|
102
|
+
text-align: center;
|
103
|
+
}
|
104
|
+
div.jtable-main-container > div.jtable-bottom-panel {
|
105
|
+
position: relative;
|
106
|
+
min-height: 24px;
|
107
|
+
text-align: left;
|
108
|
+
}
|
109
|
+
div.jtable-main-container > div.jtable-bottom-panel div.jtable-right-area {
|
110
|
+
right: 0px;
|
111
|
+
top: 0px;
|
112
|
+
bottom: 0px;
|
113
|
+
position: absolute;
|
114
|
+
}
|
115
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list {
|
116
|
+
display: inline-block;
|
117
|
+
}
|
118
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number,
|
119
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-space,
|
120
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-first,
|
121
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-last,
|
122
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-previous,
|
123
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-next,
|
124
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-active {
|
125
|
+
padding: 2px 5px;
|
126
|
+
display: inline-block;
|
127
|
+
cursor: pointer;
|
128
|
+
}
|
129
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-space,
|
130
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-active,
|
131
|
+
div.jtable-main-container > div.jtable-bottom-panel .jtable-page-list .jtable-page-number-disabled {
|
132
|
+
cursor: default;
|
133
|
+
}
|
134
|
+
div.jtable-main-container > div.jtable-bottom-panel span.jtable-page-size-change {
|
135
|
+
margin-left: 5px;
|
136
|
+
}
|
137
|
+
div.jtable-main-container > div.jtable-bottom-panel span.jtable-goto-page {
|
138
|
+
margin-left: 5px;
|
139
|
+
}
|
140
|
+
div.jtable-main-container > div.jtable-bottom-panel span.jtable-goto-page input[type=text] {
|
141
|
+
width: 22px;
|
142
|
+
}
|
143
|
+
div.jtable-main-container > div.jtable-bottom-panel span.jtable-page-info {
|
144
|
+
vertical-align: middle;
|
145
|
+
}
|
146
|
+
div.jtable-main-container div.jtable-column-resize-bar {
|
147
|
+
opacity: 0.5;
|
148
|
+
filter: alpha(opacity=50);
|
149
|
+
position: absolute;
|
150
|
+
display: none;
|
151
|
+
width: 1px;
|
152
|
+
background-color: #000;
|
153
|
+
}
|
154
|
+
div.jtable-main-container div.jtable-column-selection-container {
|
155
|
+
position: absolute;
|
156
|
+
display: none;
|
157
|
+
border: 1px solid #C8C8C8;
|
158
|
+
background: #fff;
|
159
|
+
color: #000;
|
160
|
+
z-index: 101;
|
161
|
+
padding: 5px;
|
162
|
+
}
|
163
|
+
div.jtable-main-container div.jtable-column-selection-container ul.jtable-column-select-list {
|
164
|
+
margin: 0px;
|
165
|
+
padding: 0px;
|
166
|
+
list-style: none;
|
167
|
+
}
|
168
|
+
div.jtable-main-container div.jtable-column-selection-container ul.jtable-column-select-list li {
|
169
|
+
margin: 0px;
|
170
|
+
padding: 2px 0px;
|
171
|
+
}
|
172
|
+
div.jtable-main-container div.jtable-column-selection-container ul.jtable-column-select-list li label span {
|
173
|
+
position: relative;
|
174
|
+
top: -1px;
|
175
|
+
margin-left: 4px;
|
176
|
+
}
|
177
|
+
div.jtable-main-container div.jtable-column-selection-container ul.jtable-column-select-list li input[type="checkbox"] {
|
178
|
+
cursor: pointer;
|
179
|
+
}
|
180
|
+
form.jtable-dialog-form div.jtable-input-field-container {
|
181
|
+
padding: 2px 0px 3px 0px;
|
182
|
+
border-bottom: 1px solid #ddd;
|
183
|
+
}
|
184
|
+
form.jtable-dialog-form div.jtable-input-field-container:last-child {
|
185
|
+
border: none;
|
186
|
+
}
|
187
|
+
form.jtable-dialog-form div.jtable-input-label {
|
188
|
+
padding: 2px 3px;
|
189
|
+
font-size: 1.1em;
|
190
|
+
color: #666;
|
191
|
+
}
|
192
|
+
form.jtable-dialog-form div.jtable-input {
|
193
|
+
padding: 2px;
|
194
|
+
}
|
195
|
+
form.jtable-dialog-form div.jtable-date-input {
|
196
|
+
/* No additional style */
|
197
|
+
|
198
|
+
}
|
199
|
+
form.jtable-dialog-form div.jtable-text-input {
|
200
|
+
/* No additional style */
|
201
|
+
|
202
|
+
}
|
203
|
+
form.jtable-dialog-form span.jtable-option-text-clickable {
|
204
|
+
position: relative;
|
205
|
+
top: -2px;
|
206
|
+
}
|
207
|
+
form.jtable-dialog-form div.jtable-textarea-input textarea {
|
208
|
+
width: 300px;
|
209
|
+
min-height: 60px;
|
210
|
+
}
|
211
|
+
form.jtable-dialog-form div.jtable-checkbox-input span,
|
212
|
+
form.jtable-dialog-form div.jtable-radio-input span {
|
213
|
+
padding-left: 4px;
|
214
|
+
}
|
215
|
+
form.jtable-dialog-form div.jtable-radio-input input,
|
216
|
+
form.jtable-dialog-form div.jtable-checkbox-input input,
|
217
|
+
form.jtable-dialog-form span.jtable-option-text-clickable {
|
218
|
+
cursor: pointer;
|
219
|
+
}
|
220
|
+
div.jtable-busy-panel-background {
|
221
|
+
opacity: 0.1;
|
222
|
+
filter: alpha(opacity=50);
|
223
|
+
z-index: 998;
|
224
|
+
position: absolute;
|
225
|
+
background-color: #000;
|
226
|
+
}
|
227
|
+
div.jtable-busy-panel-background.jtable-busy-panel-background-invisible {
|
228
|
+
background-color: transparent;
|
229
|
+
}
|
230
|
+
div.jtable-busy-message {
|
231
|
+
cursor: wait;
|
232
|
+
z-index: 999;
|
233
|
+
position: absolute;
|
234
|
+
margin: 5px;
|
235
|
+
}
|
236
|
+
div.jtable-contextmenu-overlay {
|
237
|
+
position: fixed;
|
238
|
+
left: 0px;
|
239
|
+
top: 0px;
|
240
|
+
width: 100%;
|
241
|
+
height: 100%;
|
242
|
+
z-index: 100;
|
243
|
+
}
|
244
|
+
div.jtable-main-container div.jtable-title {
|
245
|
+
position: relative;
|
246
|
+
line-height: 34px;
|
247
|
+
padding-left: 10px;
|
248
|
+
}
|
249
|
+
div.jtable-main-container div.jtable-title .jtable-close-button {
|
250
|
+
right: 6px;
|
251
|
+
top: 6px;
|
252
|
+
bottom: 6px;
|
253
|
+
position: absolute;
|
254
|
+
opacity: 0.8;
|
255
|
+
filter: alpha(opacity=50);
|
256
|
+
background: url('close.png') no-repeat;
|
257
|
+
width: 22px;
|
258
|
+
height: 22px;
|
259
|
+
}
|
260
|
+
div.jtable-main-container div.jtable-title .jtable-close-button:hover {
|
261
|
+
opacity: 1;
|
262
|
+
filter: alpha(opacity=50);
|
263
|
+
}
|
264
|
+
div.jtable-main-container div.jtable-title div.jtable-toolbar {
|
265
|
+
bottom: 0px;
|
266
|
+
right: 0px;
|
267
|
+
position: absolute;
|
268
|
+
line-height: 20px;
|
269
|
+
margin-right: 2px;
|
270
|
+
margin-bottom: 2px;
|
271
|
+
}
|
272
|
+
div.jtable-main-container div.jtable-title div.jtable-toolbar span.jtable-toolbar-item.jtable-toolbar-item-add-record span.jtable-toolbar-item-icon {
|
273
|
+
background-image: url('add.png');
|
274
|
+
}
|
275
|
+
div.jtable-main-container table.jtable {
|
276
|
+
border-collapse: collapse;
|
277
|
+
border-spacing: 0;
|
278
|
+
}
|
279
|
+
div.jtable-main-container table.jtable thead th {
|
280
|
+
padding: 4px 3px 4px 6px;
|
281
|
+
}
|
282
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header div.jtable-column-header-container {
|
283
|
+
height: 20px;
|
284
|
+
}
|
285
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header span.jtable-column-header-text {
|
286
|
+
margin-top: 3px;
|
287
|
+
}
|
288
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header-selecting {
|
289
|
+
padding: 5px;
|
290
|
+
}
|
291
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header-sortable div.jtable-column-header-container {
|
292
|
+
background: url('column-sortable.png') no-repeat right;
|
293
|
+
}
|
294
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header-sorted-asc div.jtable-column-header-container {
|
295
|
+
background: url('column-asc.png') no-repeat right;
|
296
|
+
}
|
297
|
+
div.jtable-main-container table.jtable thead th.jtable-column-header-sorted-desc div.jtable-column-header-container {
|
298
|
+
background: url('column-desc.png') no-repeat right;
|
299
|
+
}
|
300
|
+
div.jtable-main-container table.jtable tbody > tr {
|
301
|
+
padding: 2px;
|
302
|
+
height: 30px;
|
303
|
+
}
|
304
|
+
div.jtable-main-container table.jtable tbody > tr > td {
|
305
|
+
padding: 5px;
|
306
|
+
border: 1px solid #ddd;
|
307
|
+
}
|
308
|
+
div.jtable-main-container table.jtable tbody > tr > td:first-child {
|
309
|
+
border-left: none;
|
310
|
+
}
|
311
|
+
div.jtable-main-container table.jtable tbody > tr > td .jtable-edit-command-button {
|
312
|
+
background: url('edit.png') no-repeat;
|
313
|
+
width: 16px;
|
314
|
+
height: 16px;
|
315
|
+
}
|
316
|
+
div.jtable-main-container table.jtable tbody > tr > td .jtable-delete-command-button {
|
317
|
+
background: url('delete.png') no-repeat;
|
318
|
+
width: 16px;
|
319
|
+
height: 16px;
|
320
|
+
}
|
321
|
+
div.jtable-main-container table.jtable tbody > tr.jtable-child-row > td {
|
322
|
+
padding: 2px 1px 2px 2px;
|
323
|
+
}
|
324
|
+
div.jtable-main-container table.jtable tbody > tr.jtable-child-row > td div.jtable-toolbar {
|
325
|
+
margin-right: 33px;
|
326
|
+
}
|
327
|
+
div.jtable-main-container table.jtable tbody > tr.jtable-child-row > td .jtable {
|
328
|
+
border: none;
|
329
|
+
}
|
330
|
+
div.jtable-main-container table.jtable tbody > tr.jtable-child-row > td .jtable-title,
|
331
|
+
div.jtable-main-container table.jtable tbody > tr.jtable-child-row > td .jtable-bottom-panel {
|
332
|
+
-webkit-border-radius: 0px;
|
333
|
+
-moz-border-radius: 0px;
|
334
|
+
border-radius: 0px;
|
335
|
+
border: none;
|
336
|
+
}
|
337
|
+
div.jtable-main-container div.jtable-bottom-panel {
|
338
|
+
padding: 1px;
|
339
|
+
min-height: 24px;
|
340
|
+
line-height: 16px;
|
341
|
+
font-size: 0.9em;
|
342
|
+
}
|
343
|
+
div.jtable-main-container div.jtable-bottom-panel div.jtable-right-area {
|
344
|
+
padding: 2px;
|
345
|
+
}
|
346
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-list {
|
347
|
+
margin: 3px;
|
348
|
+
}
|
349
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number,
|
350
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-space,
|
351
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-first,
|
352
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-last,
|
353
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-previous,
|
354
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-next,
|
355
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-list .jtable-page-number-active {
|
356
|
+
padding: 2px 5px;
|
357
|
+
}
|
358
|
+
div.jtable-main-container div.jtable-bottom-panel span.jtable-page-size-change {
|
359
|
+
vertical-align: middle;
|
360
|
+
}
|
361
|
+
div.jtable-main-container div.jtable-bottom-panel span.jtable-goto-page {
|
362
|
+
vertical-align: middle;
|
363
|
+
}
|
364
|
+
div.jtable-main-container div.jtable-bottom-panel .jtable-page-info {
|
365
|
+
display: inline-block;
|
366
|
+
padding: 4px;
|
367
|
+
}
|
368
|
+
div.jtable-main-container div.jtable-bottom-panel span.jtable-add-record {
|
369
|
+
margin: 3px;
|
370
|
+
}
|
371
|
+
div.jtable-main-container div.jtable-bottom-panel span.jtable-add-record a {
|
372
|
+
font-weight: bold;
|
373
|
+
text-decoration: none;
|
374
|
+
}
|
375
|
+
div.jtable-main-container div.jtable-bottom-panel span.jtable-add-record a:hover {
|
376
|
+
text-decoration: underline;
|
377
|
+
}
|
378
|
+
div.jtable-main-container div.jtable-column-selection-container {
|
379
|
+
-webkit-border-radius: 3px;
|
380
|
+
-moz-border-radius: 3px;
|
381
|
+
border-radius: 3px;
|
382
|
+
-webkit-box-shadow: 2px 2px 4px rgba(50, 51, 50, 0.75);
|
383
|
+
-moz-box-shadow: 2px 2px 4px rgba(50, 51, 50, 0.75);
|
384
|
+
box-shadow: 2px 2px 4px rgba(50, 51, 50, 0.75);
|
385
|
+
}
|
386
|
+
form.jtable-dialog-form div.jtable-input-label {
|
387
|
+
font-weight: bold;
|
388
|
+
}
|
389
|
+
div.jtable-busy-message {
|
390
|
+
-webkit-border-radius: 3px;
|
391
|
+
-moz-border-radius: 3px;
|
392
|
+
border-radius: 3px;
|
393
|
+
-webkit-box-shadow: 2px 2px 4px rgba(50, 51, 50, 0.75);
|
394
|
+
-moz-box-shadow: 2px 2px 4px rgba(50, 51, 50, 0.75);
|
395
|
+
box-shadow: 2px 2px 4px rgba(50, 51, 50, 0.75);
|
396
|
+
padding: 5px;
|
397
|
+
color: none;
|
398
|
+
}
|
@@ -0,0 +1,296 @@
|
|
1
|
+
@import "../jtable_theme_base.less";
|
2
|
+
|
3
|
+
.jtable_jqueryui_base()
|
4
|
+
{
|
5
|
+
.jtable_theme_base;
|
6
|
+
|
7
|
+
div.jtable-main-container
|
8
|
+
{
|
9
|
+
div.jtable-title
|
10
|
+
{
|
11
|
+
position: relative;
|
12
|
+
line-height: 34px;
|
13
|
+
padding-left: 10px;
|
14
|
+
|
15
|
+
.jtable-close-button
|
16
|
+
{
|
17
|
+
.dock(right, 6px);
|
18
|
+
.opacity(0.8);
|
19
|
+
background: url('close.png') no-repeat;
|
20
|
+
width: 22px;
|
21
|
+
height: 22px;
|
22
|
+
|
23
|
+
&:hover
|
24
|
+
{
|
25
|
+
.opacity(1);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
// Toolbar -------------------------------------------------------------
|
30
|
+
|
31
|
+
div.jtable-toolbar
|
32
|
+
{
|
33
|
+
.dock(bottom-right);
|
34
|
+
|
35
|
+
line-height:20px;
|
36
|
+
margin-right:2px;
|
37
|
+
margin-bottom:2px;
|
38
|
+
|
39
|
+
span.jtable-toolbar-item
|
40
|
+
{
|
41
|
+
&.jtable-toolbar-item-add-record
|
42
|
+
{
|
43
|
+
span.jtable-toolbar-item-icon
|
44
|
+
{
|
45
|
+
background-image: url('add.png');
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
table.jtable
|
53
|
+
{
|
54
|
+
border-collapse: collapse;
|
55
|
+
border-spacing: 0;
|
56
|
+
|
57
|
+
thead
|
58
|
+
{
|
59
|
+
th
|
60
|
+
{
|
61
|
+
padding: 4px 3px 4px 6px;
|
62
|
+
|
63
|
+
&:first-child
|
64
|
+
{
|
65
|
+
}
|
66
|
+
|
67
|
+
&th:last-child
|
68
|
+
{
|
69
|
+
}
|
70
|
+
|
71
|
+
&.jtable-column-header
|
72
|
+
{
|
73
|
+
div.jtable-column-header-container
|
74
|
+
{
|
75
|
+
height: 20px;
|
76
|
+
|
77
|
+
div.jtable-column-resize-handler
|
78
|
+
{
|
79
|
+
}
|
80
|
+
}
|
81
|
+
|
82
|
+
span.jtable-column-header-text
|
83
|
+
{
|
84
|
+
margin-top: 3px;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
&.jtable-column-header-selecting
|
89
|
+
{
|
90
|
+
padding: 5px;
|
91
|
+
}
|
92
|
+
|
93
|
+
&.jtable-column-header-sortable div.jtable-column-header-container
|
94
|
+
{
|
95
|
+
background: url('column-sortable.png') no-repeat right;
|
96
|
+
}
|
97
|
+
|
98
|
+
&.jtable-column-header-sorted-asc div.jtable-column-header-container
|
99
|
+
{
|
100
|
+
background: url('column-asc.png') no-repeat right;
|
101
|
+
}
|
102
|
+
|
103
|
+
&.jtable-column-header-sorted-desc div.jtable-column-header-container
|
104
|
+
{
|
105
|
+
background: url('column-desc.png') no-repeat right;
|
106
|
+
}
|
107
|
+
}
|
108
|
+
}
|
109
|
+
|
110
|
+
tbody
|
111
|
+
{
|
112
|
+
> tr
|
113
|
+
{
|
114
|
+
padding: 2px;
|
115
|
+
height: 30px;
|
116
|
+
|
117
|
+
> td
|
118
|
+
{
|
119
|
+
padding: 5px;
|
120
|
+
border: 1px solid #ddd; //TODO
|
121
|
+
|
122
|
+
&:first-child
|
123
|
+
{
|
124
|
+
border-left: none;
|
125
|
+
}
|
126
|
+
|
127
|
+
.jtable-edit-command-button
|
128
|
+
{
|
129
|
+
background: url('edit.png') no-repeat;
|
130
|
+
width: 16px;
|
131
|
+
height: 16px;
|
132
|
+
}
|
133
|
+
|
134
|
+
.jtable-delete-command-button
|
135
|
+
{
|
136
|
+
background: url('delete.png') no-repeat;
|
137
|
+
width: 16px;
|
138
|
+
height: 16px;
|
139
|
+
}
|
140
|
+
}
|
141
|
+
|
142
|
+
&.jtable-row-even
|
143
|
+
{
|
144
|
+
}
|
145
|
+
|
146
|
+
&:hover
|
147
|
+
{
|
148
|
+
}
|
149
|
+
|
150
|
+
&.jtable-row-selected
|
151
|
+
{
|
152
|
+
|
153
|
+
}
|
154
|
+
|
155
|
+
&.jtable-child-row
|
156
|
+
{
|
157
|
+
> td
|
158
|
+
{
|
159
|
+
padding: 2px 1px 2px 2px;
|
160
|
+
|
161
|
+
div.jtable-toolbar
|
162
|
+
{
|
163
|
+
margin-right: 33px;
|
164
|
+
}
|
165
|
+
|
166
|
+
.jtable
|
167
|
+
{
|
168
|
+
border: none;
|
169
|
+
}
|
170
|
+
|
171
|
+
.jtable-title,
|
172
|
+
.jtable-bottom-panel
|
173
|
+
{
|
174
|
+
.border-radius(0px);
|
175
|
+
border: none;
|
176
|
+
}
|
177
|
+
}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
div.jtable-bottom-panel
|
184
|
+
{
|
185
|
+
padding: 1px;
|
186
|
+
min-height: 24px;
|
187
|
+
line-height: 16px;
|
188
|
+
font-size: 0.9em;
|
189
|
+
|
190
|
+
div.jtable-right-area
|
191
|
+
{
|
192
|
+
padding: 2px;
|
193
|
+
}
|
194
|
+
|
195
|
+
.jtable-page-list
|
196
|
+
{
|
197
|
+
margin: 3px;
|
198
|
+
|
199
|
+
.jtable-page-number,
|
200
|
+
.jtable-page-number-space,
|
201
|
+
.jtable-page-number-first,
|
202
|
+
.jtable-page-number-last,
|
203
|
+
.jtable-page-number-previous,
|
204
|
+
.jtable-page-number-next,
|
205
|
+
.jtable-page-number-active
|
206
|
+
{
|
207
|
+
padding: 2px 5px;
|
208
|
+
}
|
209
|
+
|
210
|
+
.jtable-page-number:hover,
|
211
|
+
.jtable-page-number-first:hover,
|
212
|
+
.jtable-page-number-last:hover,
|
213
|
+
.jtable-page-number-previous:hover,
|
214
|
+
.jtable-page-number-next:hover
|
215
|
+
{
|
216
|
+
}
|
217
|
+
|
218
|
+
.jtable-page-number-active
|
219
|
+
{
|
220
|
+
}
|
221
|
+
|
222
|
+
.jtable-page-number-disabled
|
223
|
+
{
|
224
|
+
//.opacity(0.5);
|
225
|
+
|
226
|
+
&.jtable-page-number-active
|
227
|
+
{
|
228
|
+
//.opacity(1);
|
229
|
+
}
|
230
|
+
|
231
|
+
&:hover
|
232
|
+
{
|
233
|
+
}
|
234
|
+
}
|
235
|
+
}
|
236
|
+
|
237
|
+
span.jtable-page-size-change
|
238
|
+
{
|
239
|
+
vertical-align: middle;
|
240
|
+
}
|
241
|
+
|
242
|
+
span.jtable-goto-page
|
243
|
+
{
|
244
|
+
vertical-align: middle;
|
245
|
+
}
|
246
|
+
|
247
|
+
.jtable-page-info
|
248
|
+
{
|
249
|
+
display: inline-block;
|
250
|
+
padding: 4px;
|
251
|
+
}
|
252
|
+
|
253
|
+
span.jtable-add-record
|
254
|
+
{
|
255
|
+
margin: 3px;
|
256
|
+
|
257
|
+
a
|
258
|
+
{
|
259
|
+
font-weight: bold;
|
260
|
+
text-decoration: none;
|
261
|
+
|
262
|
+
&:hover
|
263
|
+
{
|
264
|
+
text-decoration: underline;
|
265
|
+
}
|
266
|
+
}
|
267
|
+
}
|
268
|
+
}
|
269
|
+
|
270
|
+
div.jtable-column-selection-container
|
271
|
+
{
|
272
|
+
.border-radius(3px);
|
273
|
+
.box-shadow(2px 2px 4px rgba(50, 51, 50, 0.75));
|
274
|
+
}
|
275
|
+
}
|
276
|
+
|
277
|
+
form.jtable-dialog-form
|
278
|
+
{
|
279
|
+
div.jtable-input-label
|
280
|
+
{
|
281
|
+
font-weight: bold;
|
282
|
+
}
|
283
|
+
}
|
284
|
+
|
285
|
+
div.jtable-busy-message
|
286
|
+
{
|
287
|
+
.border-radius(3px);
|
288
|
+
.box-shadow(2px 2px 4px rgba(50, 51, 50, 0.75));
|
289
|
+
padding: 5px;
|
290
|
+
color:none;
|
291
|
+
}
|
292
|
+
}
|
293
|
+
|
294
|
+
////////////////////////////////////////////////////////////////
|
295
|
+
|
296
|
+
.jtable_jqueryui_base();
|