202 |
203 |
204 |
205 |
206 |
207 |
208 |
209 |
210 |
211 |
212 |
213 |
214 |
215 |
216 |
217 |
--------------------------------------------------------------------------------
/public/styles/jquery.datetimepicker.css:
--------------------------------------------------------------------------------
1 | .xdsoft_datetimepicker{
2 | box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.506);
3 | background: #FFFFFF;
4 | border-bottom: 1px solid #BBBBBB;
5 | border-left: 1px solid #CCCCCC;
6 | border-right: 1px solid #CCCCCC;
7 | border-top: 1px solid #CCCCCC;
8 | color: #333333;
9 | font-family: "Helvetica Neue", "Helvetica", "Arial", sans-serif;
10 | padding: 8px;
11 | padding-left: 0;
12 | padding-top: 2px;
13 | position: absolute;
14 | z-index: 9999;
15 | -moz-box-sizing: border-box;
16 | box-sizing: border-box;
17 | display:none;
18 | }
19 |
20 | .xdsoft_datetimepicker iframe {
21 | position: absolute;
22 | left: 0;
23 | top: 0;
24 | width: 75px;
25 | height: 210px;
26 | background: transparent;
27 | border:none;
28 | }
29 | /*For IE8 or lower*/
30 | .xdsoft_datetimepicker button {
31 | border:none !important;
32 | }
33 |
34 | .xdsoft_noselect{
35 | -webkit-touch-callout: none;
36 | -webkit-user-select: none;
37 | -khtml-user-select: none;
38 | -moz-user-select: none;
39 | -ms-user-select: none;
40 | -o-user-select: none;
41 | user-select: none;
42 | }
43 | .xdsoft_noselect::selection { background: transparent; }
44 | .xdsoft_noselect::-moz-selection { background: transparent; }
45 | .xdsoft_datetimepicker.xdsoft_inline{
46 | display: inline-block;
47 | position: static;
48 | box-shadow: none;
49 | }
50 | .xdsoft_datetimepicker *{
51 | -moz-box-sizing: border-box;
52 | box-sizing: border-box;
53 | padding: 0;
54 | margin: 0;
55 | }
56 | .xdsoft_datetimepicker .xdsoft_datepicker, .xdsoft_datetimepicker .xdsoft_timepicker{
57 | display:none;
58 | }
59 | .xdsoft_datetimepicker .xdsoft_datepicker.active, .xdsoft_datetimepicker .xdsoft_timepicker.active{
60 | display:block;
61 | }
62 | .xdsoft_datetimepicker .xdsoft_datepicker{
63 | width: 224px;
64 | float:left;
65 | margin-left:8px;
66 | }
67 | .xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_datepicker{
68 | width: 256px;
69 | }
70 | .xdsoft_datetimepicker .xdsoft_timepicker{
71 | width: 58px;
72 | float:left;
73 | text-align:center;
74 | margin-left:8px;
75 | margin-top: 0;
76 | }
77 | .xdsoft_datetimepicker .xdsoft_datepicker.active+.xdsoft_timepicker{
78 | margin-top:8px;
79 | margin-bottom:3px
80 | }
81 | .xdsoft_datetimepicker .xdsoft_mounthpicker{
82 | position: relative;
83 | text-align: center;
84 | }
85 |
86 | .xdsoft_datetimepicker .xdsoft_label i,
87 | .xdsoft_datetimepicker .xdsoft_prev,
88 | .xdsoft_datetimepicker .xdsoft_next,
89 | .xdsoft_datetimepicker .xdsoft_today_button{
90 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6Q0NBRjI1NjM0M0UwMTFFNDk4NkFGMzJFQkQzQjEwRUIiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6Q0NBRjI1NjQ0M0UwMTFFNDk4NkFGMzJFQkQzQjEwRUIiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpDQ0FGMjU2MTQzRTAxMUU0OTg2QUYzMkVCRDNCMTBFQiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpDQ0FGMjU2MjQzRTAxMUU0OTg2QUYzMkVCRDNCMTBFQiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PoNEP54AAAIOSURBVHja7Jq9TsMwEMcxrZD4WpBYeKUCe+kTMCACHZh4BFfHO/AAIHZGFhYkBBsSEqxsLCAgXKhbXYOTxh9pfJVP+qutnZ5s/5Lz2Y5I03QhWji2GIcgAokWgfCxNvcOCCGKqiSqhUp0laHOne05vdEyGMfkdxJDVjgwDlEQgYQBgx+ULJaWSXXS6r/ER5FBVR8VfGftTKcITNs+a1XpcFoExREIDF14AVIFxgQUS+h520cdud6wNkC0UBw6BCO/HoCYwBhD8QCkQ/x1mwDyD4plh4D6DDV0TAGyo4HcawLIBBSLDkHeH0Mg2yVP3l4TQMZQDDsEOl/MgHQqhMNuE0D+oBh0CIr8MAKyazBH9WyBuKxDWgbXfjNf32TZ1KWm/Ap1oSk/R53UtQ5xTh3LUlMmT8gt6g51Q9p+SobxgJQ/qmsfZhWywGFSl0yBjCLJCMgXail3b7+rumdVJ2YRss4cN+r6qAHDkPWjPjdJCF4n9RmAD/V9A/Wp4NQassDjwlB6XBiCxcJQWmZZb8THFilfy/lfrTvLghq2TqTHrRMTKNJ0sIhdo15RT+RpyWwFdY96UZ/LdQKBGjcXpcc1AlSFEfLmouD+1knuxBDUVrvOBmoOC/rEcN7OQxKVeJTCiAdUzUJhA2Oez9QTkp72OTVcxDcXY8iKNkxGAJXmJCOQwOa6dhyXsOa6XwEGAKdeb5ET3rQdAAAAAElFTkSuQmCC);
91 | }
92 |
93 | .xdsoft_datetimepicker .xdsoft_label i{
94 | opacity:0.5;
95 | background-position:-92px -19px;
96 | display: inline-block;
97 | width: 9px;
98 | height: 20px;
99 | vertical-align: middle;
100 | }
101 |
102 | .xdsoft_datetimepicker .xdsoft_prev{
103 | float: left;
104 | background-position:-20px 0;
105 | }
106 | .xdsoft_datetimepicker .xdsoft_today_button{
107 | float: left;
108 | background-position:-70px 0;
109 | margin-left:5px;
110 | }
111 |
112 | .xdsoft_datetimepicker .xdsoft_next{
113 | float: right;
114 | background-position: 0 0;
115 | }
116 |
117 | .xdsoft_datetimepicker .xdsoft_next,
118 | .xdsoft_datetimepicker .xdsoft_prev ,
119 | .xdsoft_datetimepicker .xdsoft_today_button{
120 | background-color: transparent;
121 | background-repeat: no-repeat;
122 | border: 0 none currentColor;
123 | cursor: pointer;
124 | display: block;
125 | height: 30px;
126 | opacity: 0.5;
127 | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
128 | outline: medium none currentColor;
129 | overflow: hidden;
130 | padding: 0;
131 | position: relative;
132 | text-indent: 100%;
133 | white-space: nowrap;
134 | width: 20px;
135 | }
136 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev,
137 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_next{
138 | float:none;
139 | background-position:-40px -15px;
140 | height: 15px;
141 | width: 30px;
142 | display: block;
143 | margin-left:14px;
144 | margin-top:7px;
145 | }
146 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_prev{
147 | background-position:-40px 0;
148 | margin-bottom:7px;
149 | margin-top: 0;
150 | }
151 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box{
152 | height:151px;
153 | overflow:hidden;
154 | border-bottom:1px solid #DDDDDD;
155 | }
156 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div{
157 | background: #F5F5F5;
158 | border-top:1px solid #DDDDDD;
159 | color: #666666;
160 | font-size: 12px;
161 | text-align: center;
162 | border-collapse:collapse;
163 | cursor:pointer;
164 | border-bottom-width: 0;
165 | height:25px;
166 | line-height:25px;
167 | }
168 |
169 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div > div:first-child{
170 | border-top-width: 0;
171 | }
172 | .xdsoft_datetimepicker .xdsoft_today_button:hover,
173 | .xdsoft_datetimepicker .xdsoft_next:hover,
174 | .xdsoft_datetimepicker .xdsoft_prev:hover {
175 | opacity: 1;
176 | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
177 | }
178 | .xdsoft_datetimepicker .xdsoft_label{
179 | display: inline;
180 | position: relative;
181 | z-index: 9999;
182 | margin: 0;
183 | padding: 5px 3px;
184 | font-size: 14px;
185 | line-height: 20px;
186 | font-weight: bold;
187 | background-color: #fff;
188 | float:left;
189 | width:182px;
190 | text-align:center;
191 | cursor:pointer;
192 | }
193 | .xdsoft_datetimepicker .xdsoft_label:hover>span{
194 | text-decoration:underline;
195 | }
196 | .xdsoft_datetimepicker .xdsoft_label:hover i{
197 | opacity:1.0;
198 | }
199 | .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select{
200 | border:1px solid #ccc;
201 | position:absolute;
202 | right: 0;
203 | top:30px;
204 | z-index:101;
205 | display:none;
206 | background:#fff;
207 | max-height:160px;
208 | overflow-y:hidden;
209 | }
210 | .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_monthselect{right:-7px;}
211 | .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select.xdsoft_yearselect{right:2px;}
212 | .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover{
213 | color: #fff;
214 | background: #ff8000;
215 | }
216 | .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option{
217 | padding:2px 10px 2px 5px;
218 | text-decoration:none !important;
219 | }
220 | .xdsoft_datetimepicker .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{
221 | background: #33AAFF;
222 | box-shadow: #178FE5 0 1px 3px 0 inset;
223 | color:#fff;
224 | font-weight: 700;
225 | }
226 | .xdsoft_datetimepicker .xdsoft_month{
227 | width:100px;
228 | text-align:right;
229 | }
230 | .xdsoft_datetimepicker .xdsoft_calendar{
231 | clear:both;
232 | }
233 | .xdsoft_datetimepicker .xdsoft_year{
234 | width: 48px;
235 | margin-left: 5px;
236 | }
237 | .xdsoft_datetimepicker .xdsoft_calendar table{
238 | border-collapse:collapse;
239 | width:100%;
240 |
241 | }
242 | .xdsoft_datetimepicker .xdsoft_calendar td > div{
243 | padding-right:5px;
244 | }
245 | .xdsoft_datetimepicker .xdsoft_calendar th{
246 | height: 25px;
247 | }
248 | .xdsoft_datetimepicker .xdsoft_calendar td,.xdsoft_datetimepicker .xdsoft_calendar th{
249 | width:14.2857142%;
250 | background: #F5F5F5;
251 | border:1px solid #DDDDDD;
252 | color: #666666;
253 | font-size: 12px;
254 | text-align: right;
255 | vertical-align: middle;
256 | padding: 0;
257 | border-collapse:collapse;
258 | cursor:pointer;
259 | height: 25px;
260 | }
261 | .xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar td,.xdsoft_datetimepicker.xdsoft_showweeks .xdsoft_calendar th{
262 | width:12.5%;
263 | }
264 | .xdsoft_datetimepicker .xdsoft_calendar th{
265 | background: #F1F1F1;
266 | }
267 | .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_today{
268 | color:#33AAFF;
269 | }
270 | .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_default,
271 | .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_current,
272 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{
273 | background: #33AAFF;
274 | box-shadow: #178FE5 0 1px 3px 0 inset;
275 | color:#fff;
276 | font-weight: 700;
277 | }
278 | .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month,
279 | .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled,
280 | .xdsoft_datetimepicker .xdsoft_time_box >div >div.xdsoft_disabled{
281 | opacity:0.5;
282 | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
283 | }
284 | .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_other_month.xdsoft_disabled{
285 | opacity:0.2;
286 | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
287 | }
288 | .xdsoft_datetimepicker .xdsoft_calendar td:hover,
289 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div:hover{
290 | color: #fff !important;
291 | background: #ff8000 !important;
292 | box-shadow: none !important;
293 | }
294 | .xdsoft_datetimepicker .xdsoft_calendar td.xdsoft_disabled:hover,
295 | .xdsoft_datetimepicker .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_disabled:hover{
296 | color: inherit !important;
297 | background: inherit !important;
298 | box-shadow: inherit !important;
299 | }
300 | .xdsoft_datetimepicker .xdsoft_calendar th{
301 | font-weight: 700;
302 | text-align: center;
303 | color: #999;
304 | cursor:default;
305 | }
306 | .xdsoft_datetimepicker .xdsoft_copyright{ color:#ccc !important; font-size:10px;clear:both;float:none;margin-left:8px;}
307 | .xdsoft_datetimepicker .xdsoft_copyright a{ color:#eee !important;}
308 | .xdsoft_datetimepicker .xdsoft_copyright a:hover{ color:#aaa !important;}
309 |
310 |
311 | .xdsoft_time_box{
312 | position:relative;
313 | border:1px solid #ccc;
314 | }
315 | .xdsoft_scrollbar >.xdsoft_scroller{
316 | background:#ccc !important;
317 | height:20px;
318 | border-radius:3px;
319 | }
320 | .xdsoft_scrollbar{
321 | position:absolute;
322 | width:7px;
323 | right: 0;
324 | top: 0;
325 | bottom: 0;
326 | cursor:pointer;
327 | }
328 | .xdsoft_scroller_box{
329 | position:relative;
330 | }
331 |
332 |
333 | .xdsoft_datetimepicker.xdsoft_dark{
334 | box-shadow: 0 5px 15px -5px rgba(255, 255, 255, 0.506);
335 | background: #000000;
336 | border-bottom: 1px solid #444444;
337 | border-left: 1px solid #333333;
338 | border-right: 1px solid #333333;
339 | border-top: 1px solid #333333;
340 | color: #cccccc;
341 | }
342 |
343 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box{
344 | border-bottom:1px solid #222222;
345 | }
346 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div{
347 | background: #0a0a0a;
348 | border-top:1px solid #222222;
349 | color: #999999;
350 | }
351 |
352 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_label{
353 | background-color: #000;
354 | }
355 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select{
356 | border:1px solid #333;
357 | background:#000;
358 | }
359 |
360 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select > div > .xdsoft_option:hover{
361 | color: #000;
362 | background: #007fff;
363 | }
364 |
365 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_label > .xdsoft_select > div > .xdsoft_option.xdsoft_current{
366 | background: #cc5500;
367 | box-shadow: #b03e00 0 1px 3px 0 inset;
368 | color:#000;
369 | }
370 |
371 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_label i,
372 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_prev,
373 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_next,
374 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_today_button{
375 | background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeCAYAAADaW7vzAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6QUExQUUzOTA0M0UyMTFFNDlBM0FFQTJENTExRDVBODYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6QUExQUUzOTE0M0UyMTFFNDlBM0FFQTJENTExRDVBODYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpBQTFBRTM4RTQzRTIxMUU0OUEzQUVBMkQ1MTFENUE4NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpBQTFBRTM4RjQzRTIxMUU0OUEzQUVBMkQ1MTFENUE4NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pp0VxGEAAAIASURBVHja7JrNSgMxEMebtgh+3MSLr1T1Xn2CHoSKB08+QmR8Bx9A8e7RixdB9CKCoNdexIugxFlJa7rNZneTbLIpM/CnNLsdMvNjM8l0mRCiQ9Ye61IKCAgZAUnH+mU3MMZaHYChBnJUDzWOFZdVfc5+ZFLbrWDeXPwbxIqrLLfaeS0hEBVGIRQCEiZoHQwtlGSByCCdYBl8g8egTTAWoKQMRBRBcZxYlhzhKegqMOageErsCHVkk3hXIFooDgHB1KkHIHVgzKB4ADJQ/A1jAFmAYhkQqA5TOBtocrKrgXwQA8gcFIuAIO8sQSA7hidvPwaQGZSaAYHOUWJABhWWw2EMIH9QagQERU4SArJXo0ZZL18uvaxejXt/Em8xjVBXmvFr1KVm/AJ10tRe2XnraNqaJvKE3KHuUbfK1E+VHB0q40/y3sdQSxY4FHWeKJCunP8UyDdqJZenT3ntVV5jIYCAh20vT7ioP8tpf6E2lfEMwERe+whV1MHjwZB7PBiCxcGQWwKZKD62lfGNnP/1poFAA60T7rF1UgcKd2id3KDeUS+oLWV8DfWAepOfq00CgQabi9zjcgJVYVD7PVzQUAUGAQkbNJTBICDhgwYTjDYD6XeW08ZKh+A4pYkzenOxXUbvZcWz7E8ykRMnIHGX1XPl+1m2vPYpL+2qdb8CDAARlKFEz/ZVkAAAAABJRU5ErkJggg==);
376 | }
377 |
378 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td,
379 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th{
380 | background: #0a0a0a;
381 | border:1px solid #222222;
382 | color: #999999;
383 | }
384 |
385 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th{
386 | background: #0e0e0e;
387 | }
388 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_today{
389 | color:#cc5500;
390 | }
391 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_default,
392 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td.xdsoft_current,
393 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div.xdsoft_current{
394 | background: #cc5500;
395 | box-shadow: #b03e00 0 1px 3px 0 inset;
396 | color:#000;
397 | }
398 |
399 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar td:hover,
400 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_timepicker .xdsoft_time_box >div >div:hover{
401 | color: #000 !important;
402 | background: #007fff !important;
403 | }
404 |
405 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_calendar th{
406 | color: #666;
407 | }
408 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright{ color:#333 !important;}
409 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright a{ color:#111 !important;}
410 | .xdsoft_datetimepicker.xdsoft_dark .xdsoft_copyright a:hover{ color:#555 !important;}
411 |
412 |
413 | .xdsoft_dark .xdsoft_time_box{
414 | border:1px solid #333;
415 | }
416 | .xdsoft_dark .xdsoft_scrollbar >.xdsoft_scroller{
417 | background:#333 !important;
418 | }
419 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 2, June 1991
3 |
4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 | Everyone is permitted to copy and distribute verbatim copies
7 | of this license document, but changing it is not allowed.
8 |
9 | Preamble
10 |
11 | The licenses for most software are designed to take away your
12 | freedom to share and change it. By contrast, the GNU General Public
13 | License is intended to guarantee your freedom to share and change free
14 | software--to make sure the software is free for all its users. This
15 | General Public License applies to most of the Free Software
16 | Foundation's software and to any other program whose authors commit to
17 | using it. (Some other Free Software Foundation software is covered by
18 | the GNU Lesser General Public License instead.) You can apply it to
19 | your programs, too.
20 |
21 | When we speak of free software, we are referring to freedom, not
22 | price. Our General Public Licenses are designed to make sure that you
23 | have the freedom to distribute copies of free software (and charge for
24 | this service if you wish), that you receive source code or can get it
25 | if you want it, that you can change the software or use pieces of it
26 | in new free programs; and that you know you can do these things.
27 |
28 | To protect your rights, we need to make restrictions that forbid
29 | anyone to deny you these rights or to ask you to surrender the rights.
30 | These restrictions translate to certain responsibilities for you if you
31 | distribute copies of the software, or if you modify it.
32 |
33 | For example, if you distribute copies of such a program, whether
34 | gratis or for a fee, you must give the recipients all the rights that
35 | you have. You must make sure that they, too, receive or can get the
36 | source code. And you must show them these terms so they know their
37 | rights.
38 |
39 | We protect your rights with two steps: (1) copyright the software, and
40 | (2) offer you this license which gives you legal permission to copy,
41 | distribute and/or modify the software.
42 |
43 | Also, for each author's protection and ours, we want to make certain
44 | that everyone understands that there is no warranty for this free
45 | software. If the software is modified by someone else and passed on, we
46 | want its recipients to know that what they have is not the original, so
47 | that any problems introduced by others will not reflect on the original
48 | authors' reputations.
49 |
50 | Finally, any free program is threatened constantly by software
51 | patents. We wish to avoid the danger that redistributors of a free
52 | program will individually obtain patent licenses, in effect making the
53 | program proprietary. To prevent this, we have made it clear that any
54 | patent must be licensed for everyone's free use or not licensed at all.
55 |
56 | The precise terms and conditions for copying, distribution and
57 | modification follow.
58 |
59 | GNU GENERAL PUBLIC LICENSE
60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61 |
62 | 0. This License applies to any program or other work which contains
63 | a notice placed by the copyright holder saying it may be distributed
64 | under the terms of this General Public License. The "Program", below,
65 | refers to any such program or work, and a "work based on the Program"
66 | means either the Program or any derivative work under copyright law:
67 | that is to say, a work containing the Program or a portion of it,
68 | either verbatim or with modifications and/or translated into another
69 | language. (Hereinafter, translation is included without limitation in
70 | the term "modification".) Each licensee is addressed as "you".
71 |
72 | Activities other than copying, distribution and modification are not
73 | covered by this License; they are outside its scope. The act of
74 | running the Program is not restricted, and the output from the Program
75 | is covered only if its contents constitute a work based on the
76 | Program (independent of having been made by running the Program).
77 | Whether that is true depends on what the Program does.
78 |
79 | 1. You may copy and distribute verbatim copies of the Program's
80 | source code as you receive it, in any medium, provided that you
81 | conspicuously and appropriately publish on each copy an appropriate
82 | copyright notice and disclaimer of warranty; keep intact all the
83 | notices that refer to this License and to the absence of any warranty;
84 | and give any other recipients of the Program a copy of this License
85 | along with the Program.
86 |
87 | You may charge a fee for the physical act of transferring a copy, and
88 | you may at your option offer warranty protection in exchange for a fee.
89 |
90 | 2. You may modify your copy or copies of the Program or any portion
91 | of it, thus forming a work based on the Program, and copy and
92 | distribute such modifications or work under the terms of Section 1
93 | above, provided that you also meet all of these conditions:
94 |
95 | a) You must cause the modified files to carry prominent notices
96 | stating that you changed the files and the date of any change.
97 |
98 | b) You must cause any work that you distribute or publish, that in
99 | whole or in part contains or is derived from the Program or any
100 | part thereof, to be licensed as a whole at no charge to all third
101 | parties under the terms of this License.
102 |
103 | c) If the modified program normally reads commands interactively
104 | when run, you must cause it, when started running for such
105 | interactive use in the most ordinary way, to print or display an
106 | announcement including an appropriate copyright notice and a
107 | notice that there is no warranty (or else, saying that you provide
108 | a warranty) and that users may redistribute the program under
109 | these conditions, and telling the user how to view a copy of this
110 | License. (Exception: if the Program itself is interactive but
111 | does not normally print such an announcement, your work based on
112 | the Program is not required to print an announcement.)
113 |
114 | These requirements apply to the modified work as a whole. If
115 | identifiable sections of that work are not derived from the Program,
116 | and can be reasonably considered independent and separate works in
117 | themselves, then this License, and its terms, do not apply to those
118 | sections when you distribute them as separate works. But when you
119 | distribute the same sections as part of a whole which is a work based
120 | on the Program, the distribution of the whole must be on the terms of
121 | this License, whose permissions for other licensees extend to the
122 | entire whole, and thus to each and every part regardless of who wrote it.
123 |
124 | Thus, it is not the intent of this section to claim rights or contest
125 | your rights to work written entirely by you; rather, the intent is to
126 | exercise the right to control the distribution of derivative or
127 | collective works based on the Program.
128 |
129 | In addition, mere aggregation of another work not based on the Program
130 | with the Program (or with a work based on the Program) on a volume of
131 | a storage or distribution medium does not bring the other work under
132 | the scope of this License.
133 |
134 | 3. You may copy and distribute the Program (or a work based on it,
135 | under Section 2) in object code or executable form under the terms of
136 | Sections 1 and 2 above provided that you also do one of the following:
137 |
138 | a) Accompany it with the complete corresponding machine-readable
139 | source code, which must be distributed under the terms of Sections
140 | 1 and 2 above on a medium customarily used for software interchange; or,
141 |
142 | b) Accompany it with a written offer, valid for at least three
143 | years, to give any third party, for a charge no more than your
144 | cost of physically performing source distribution, a complete
145 | machine-readable copy of the corresponding source code, to be
146 | distributed under the terms of Sections 1 and 2 above on a medium
147 | customarily used for software interchange; or,
148 |
149 | c) Accompany it with the information you received as to the offer
150 | to distribute corresponding source code. (This alternative is
151 | allowed only for noncommercial distribution and only if you
152 | received the program in object code or executable form with such
153 | an offer, in accord with Subsection b above.)
154 |
155 | The source code for a work means the preferred form of the work for
156 | making modifications to it. For an executable work, complete source
157 | code means all the source code for all modules it contains, plus any
158 | associated interface definition files, plus the scripts used to
159 | control compilation and installation of the executable. However, as a
160 | special exception, the source code distributed need not include
161 | anything that is normally distributed (in either source or binary
162 | form) with the major components (compiler, kernel, and so on) of the
163 | operating system on which the executable runs, unless that component
164 | itself accompanies the executable.
165 |
166 | If distribution of executable or object code is made by offering
167 | access to copy from a designated place, then offering equivalent
168 | access to copy the source code from the same place counts as
169 | distribution of the source code, even though third parties are not
170 | compelled to copy the source along with the object code.
171 |
172 | 4. You may not copy, modify, sublicense, or distribute the Program
173 | except as expressly provided under this License. Any attempt
174 | otherwise to copy, modify, sublicense or distribute the Program is
175 | void, and will automatically terminate your rights under this License.
176 | However, parties who have received copies, or rights, from you under
177 | this License will not have their licenses terminated so long as such
178 | parties remain in full compliance.
179 |
180 | 5. You are not required to accept this License, since you have not
181 | signed it. However, nothing else grants you permission to modify or
182 | distribute the Program or its derivative works. These actions are
183 | prohibited by law if you do not accept this License. Therefore, by
184 | modifying or distributing the Program (or any work based on the
185 | Program), you indicate your acceptance of this License to do so, and
186 | all its terms and conditions for copying, distributing or modifying
187 | the Program or works based on it.
188 |
189 | 6. Each time you redistribute the Program (or any work based on the
190 | Program), the recipient automatically receives a license from the
191 | original licensor to copy, distribute or modify the Program subject to
192 | these terms and conditions. You may not impose any further
193 | restrictions on the recipients' exercise of the rights granted herein.
194 | You are not responsible for enforcing compliance by third parties to
195 | this License.
196 |
197 | 7. If, as a consequence of a court judgment or allegation of patent
198 | infringement or for any other reason (not limited to patent issues),
199 | conditions are imposed on you (whether by court order, agreement or
200 | otherwise) that contradict the conditions of this License, they do not
201 | excuse you from the conditions of this License. If you cannot
202 | distribute so as to satisfy simultaneously your obligations under this
203 | License and any other pertinent obligations, then as a consequence you
204 | may not distribute the Program at all. For example, if a patent
205 | license would not permit royalty-free redistribution of the Program by
206 | all those who receive copies directly or indirectly through you, then
207 | the only way you could satisfy both it and this License would be to
208 | refrain entirely from distribution of the Program.
209 |
210 | If any portion of this section is held invalid or unenforceable under
211 | any particular circumstance, the balance of the section is intended to
212 | apply and the section as a whole is intended to apply in other
213 | circumstances.
214 |
215 | It is not the purpose of this section to induce you to infringe any
216 | patents or other property right claims or to contest validity of any
217 | such claims; this section has the sole purpose of protecting the
218 | integrity of the free software distribution system, which is
219 | implemented by public license practices. Many people have made
220 | generous contributions to the wide range of software distributed
221 | through that system in reliance on consistent application of that
222 | system; it is up to the author/donor to decide if he or she is willing
223 | to distribute software through any other system and a licensee cannot
224 | impose that choice.
225 |
226 | This section is intended to make thoroughly clear what is believed to
227 | be a consequence of the rest of this License.
228 |
229 | 8. If the distribution and/or use of the Program is restricted in
230 | certain countries either by patents or by copyrighted interfaces, the
231 | original copyright holder who places the Program under this License
232 | may add an explicit geographical distribution limitation excluding
233 | those countries, so that distribution is permitted only in or among
234 | countries not thus excluded. In such case, this License incorporates
235 | the limitation as if written in the body of this License.
236 |
237 | 9. The Free Software Foundation may publish revised and/or new versions
238 | of the General Public License from time to time. Such new versions will
239 | be similar in spirit to the present version, but may differ in detail to
240 | address new problems or concerns.
241 |
242 | Each version is given a distinguishing version number. If the Program
243 | specifies a version number of this License which applies to it and "any
244 | later version", you have the option of following the terms and conditions
245 | either of that version or of any later version published by the Free
246 | Software Foundation. If the Program does not specify a version number of
247 | this License, you may choose any version ever published by the Free Software
248 | Foundation.
249 |
250 | 10. If you wish to incorporate parts of the Program into other free
251 | programs whose distribution conditions are different, write to the author
252 | to ask for permission. For software which is copyrighted by the Free
253 | Software Foundation, write to the Free Software Foundation; we sometimes
254 | make exceptions for this. Our decision will be guided by the two goals
255 | of preserving the free status of all derivatives of our free software and
256 | of promoting the sharing and reuse of software generally.
257 |
258 | NO WARRANTY
259 |
260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 | REPAIR OR CORRECTION.
269 |
270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 | POSSIBILITY OF SUCH DAMAGES.
279 |
280 | END OF TERMS AND CONDITIONS
281 |
282 | How to Apply These Terms to Your New Programs
283 |
284 | If you develop a new program, and you want it to be of the greatest
285 | possible use to the public, the best way to achieve this is to make it
286 | free software which everyone can redistribute and change under these terms.
287 |
288 | To do so, attach the following notices to the program. It is safest
289 | to attach them to the start of each source file to most effectively
290 | convey the exclusion of warranty; and each file should have at least
291 | the "copyright" line and a pointer to where the full notice is found.
292 |
293 | {description}
294 | Copyright (C) {year} {fullname}
295 |
296 | This program is free software; you can redistribute it and/or modify
297 | it under the terms of the GNU General Public License as published by
298 | the Free Software Foundation; either version 2 of the License, or
299 | (at your option) any later version.
300 |
301 | This program is distributed in the hope that it will be useful,
302 | but WITHOUT ANY WARRANTY; without even the implied warranty of
303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 | GNU General Public License for more details.
305 |
306 | You should have received a copy of the GNU General Public License along
307 | with this program; if not, write to the Free Software Foundation, Inc.,
308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309 |
310 | Also add information on how to contact you by electronic and paper mail.
311 |
312 | If the program is interactive, make it output a short notice like this
313 | when it starts in an interactive mode:
314 |
315 | Gnomovision version 69, Copyright (C) year name of author
316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 | This is free software, and you are welcome to redistribute it
318 | under certain conditions; type `show c' for details.
319 |
320 | The hypothetical commands `show w' and `show c' should show the appropriate
321 | parts of the General Public License. Of course, the commands you use may
322 | be called something other than `show w' and `show c'; they could even be
323 | mouse-clicks or menu items--whatever suits your program.
324 |
325 | You should also get your employer (if you work as a programmer) or your
326 | school, if any, to sign a "copyright disclaimer" for the program, if
327 | necessary. Here is a sample; alter the names:
328 |
329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 | `Gnomovision' (which makes passes at compilers) written by James Hacker.
331 |
332 | {signature of Ty Coon}, 1 April 1989
333 | Ty Coon, President of Vice
334 |
335 | This General Public License does not permit incorporating your program into
336 | proprietary programs. If your program is a subroutine library, you may
337 | consider it more useful to permit linking proprietary applications with the
338 | library. If this is what you want to do, use the GNU Lesser General
339 | Public License instead of this License.
340 |
341 |
--------------------------------------------------------------------------------
/public/js/jquery.datetimepicker.js:
--------------------------------------------------------------------------------
1 | /**
2 | * @preserve jQuery DateTimePicker plugin v2.4.1
3 | * @homepage http://xdsoft.net/jqplugins/datetimepicker/
4 | * (c) 2014, Chupurnov Valeriy.
5 | */
6 | /*global document,window,jQuery,setTimeout,clearTimeout*/
7 | (function ($) {
8 | 'use strict';
9 | var default_options = {
10 | i18n: {
11 | ar: { // Arabic
12 | months: [
13 | "كانون الثاني", "شباط", "آذار", "نيسان", "مايو", "حزيران", "تموز", "آب", "أيلول", "تشرين الأول", "تشرين الثاني", "كانون الأول"
14 | ],
15 | dayOfWeek: [
16 | "ن", "ث", "ع", "خ", "ج", "س", "ح"
17 | ]
18 | },
19 | ro: { // Romanian
20 | months: [
21 | "ianuarie", "februarie", "martie", "aprilie", "mai", "iunie", "iulie", "august", "septembrie", "octombrie", "noiembrie", "decembrie"
22 | ],
23 | dayOfWeek: [
24 | "l", "ma", "mi", "j", "v", "s", "d"
25 | ]
26 | },
27 | id: { // Indonesian
28 | months: [
29 | "Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"
30 | ],
31 | dayOfWeek: [
32 | "Sen", "Sel", "Rab", "Kam", "Jum", "Sab", "Min"
33 | ]
34 | },
35 | bg: { // Bulgarian
36 | months: [
37 | "Януари", "Февруари", "Март", "Април", "Май", "Юни", "Юли", "Август", "Септември", "Октомври", "Ноември", "Декември"
38 | ],
39 | dayOfWeek: [
40 | "Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"
41 | ]
42 | },
43 | fa: { // Persian/Farsi
44 | months: [
45 | 'فروردین', 'اردیبهشت', 'خرداد', 'تیر', 'مرداد', 'شهریور', 'مهر', 'آبان', 'آذر', 'دی', 'بهمن', 'اسفند'
46 | ],
47 | dayOfWeek: [
48 | 'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه'
49 | ]
50 | },
51 | ru: { // Russian
52 | months: [
53 | 'Январь', 'Февраль', 'Март', 'Апрель', 'Май', 'Июнь', 'Июль', 'Август', 'Сентябрь', 'Октябрь', 'Ноябрь', 'Декабрь'
54 | ],
55 | dayOfWeek: [
56 | "Вск", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"
57 | ]
58 | },
59 | uk: { // Ukrainian
60 | months: [
61 | 'Січень', 'Лютий', 'Березень', 'Квітень', 'Травень', 'Червень', 'Липень', 'Серпень', 'Вересень', 'Жовтень', 'Листопад', 'Грудень'
62 | ],
63 | dayOfWeek: [
64 | "Ндл", "Пнд", "Втр", "Срд", "Чтв", "Птн", "Сбт"
65 | ]
66 | },
67 | en: { // English
68 | months: [
69 | "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
70 | ],
71 | dayOfWeek: [
72 | "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
73 | ]
74 | },
75 | el: { // Ελληνικά
76 | months: [
77 | "Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"
78 | ],
79 | dayOfWeek: [
80 | "Κυρ", "Δευ", "Τρι", "Τετ", "Πεμ", "Παρ", "Σαβ"
81 | ]
82 | },
83 | de: { // German
84 | months: [
85 | 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember'
86 | ],
87 | dayOfWeek: [
88 | "So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"
89 | ]
90 | },
91 | nl: { // Dutch
92 | months: [
93 | "januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"
94 | ],
95 | dayOfWeek: [
96 | "zo", "ma", "di", "wo", "do", "vr", "za"
97 | ]
98 | },
99 | tr: { // Turkish
100 | months: [
101 | "Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"
102 | ],
103 | dayOfWeek: [
104 | "Paz", "Pts", "Sal", "Çar", "Per", "Cum", "Cts"
105 | ]
106 | },
107 | fr: { //French
108 | months: [
109 | "Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"
110 | ],
111 | dayOfWeek: [
112 | "Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"
113 | ]
114 | },
115 | es: { // Spanish
116 | months: [
117 | "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
118 | ],
119 | dayOfWeek: [
120 | "Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"
121 | ]
122 | },
123 | th: { // Thai
124 | months: [
125 | 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม'
126 | ],
127 | dayOfWeek: [
128 | 'อา.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.'
129 | ]
130 | },
131 | pl: { // Polish
132 | months: [
133 | "styczeń", "luty", "marzec", "kwiecień", "maj", "czerwiec", "lipiec", "sierpień", "wrzesień", "październik", "listopad", "grudzień"
134 | ],
135 | dayOfWeek: [
136 | "nd", "pn", "wt", "śr", "cz", "pt", "sb"
137 | ]
138 | },
139 | pt: { // Portuguese
140 | months: [
141 | "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
142 | ],
143 | dayOfWeek: [
144 | "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sab"
145 | ]
146 | },
147 | ch: { // Simplified Chinese
148 | months: [
149 | "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
150 | ],
151 | dayOfWeek: [
152 | "日", "一", "二", "三", "四", "五", "六"
153 | ]
154 | },
155 | se: { // Swedish
156 | months: [
157 | "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"
158 | ],
159 | dayOfWeek: [
160 | "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"
161 | ]
162 | },
163 | kr: { // Korean
164 | months: [
165 | "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"
166 | ],
167 | dayOfWeek: [
168 | "일", "월", "화", "수", "목", "금", "토"
169 | ]
170 | },
171 | it: { // Italian
172 | months: [
173 | "Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"
174 | ],
175 | dayOfWeek: [
176 | "Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"
177 | ]
178 | },
179 | da: { // Dansk
180 | months: [
181 | "January", "Februar", "Marts", "April", "Maj", "Juni", "July", "August", "September", "Oktober", "November", "December"
182 | ],
183 | dayOfWeek: [
184 | "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"
185 | ]
186 | },
187 | no: { // Norwegian
188 | months: [
189 | "Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"
190 | ],
191 | dayOfWeek: [
192 | "Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"
193 | ]
194 | },
195 | ja: { // Japanese
196 | months: [
197 | "1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"
198 | ],
199 | dayOfWeek: [
200 | "日", "月", "火", "水", "木", "金", "土"
201 | ]
202 | },
203 | vi: { // Vietnamese
204 | months: [
205 | "Tháng 1", "Tháng 2", "Tháng 3", "Tháng 4", "Tháng 5", "Tháng 6", "Tháng 7", "Tháng 8", "Tháng 9", "Tháng 10", "Tháng 11", "Tháng 12"
206 | ],
207 | dayOfWeek: [
208 | "CN", "T2", "T3", "T4", "T5", "T6", "T7"
209 | ]
210 | },
211 | sl: { // Slovenščina
212 | months: [
213 | "Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"
214 | ],
215 | dayOfWeek: [
216 | "Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"
217 | ]
218 | },
219 | cs: { // Čeština
220 | months: [
221 | "Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"
222 | ],
223 | dayOfWeek: [
224 | "Ne", "Po", "Út", "St", "Čt", "Pá", "So"
225 | ]
226 | },
227 | hu: { // Hungarian
228 | months: [
229 | "Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"
230 | ],
231 | dayOfWeek: [
232 | "Va", "Hé", "Ke", "Sze", "Cs", "Pé", "Szo"
233 | ]
234 | },
235 | az: { //Azerbaijanian (Azeri)
236 | months: [
237 | "Yanvar", "Fevral", "Mart", "Aprel", "May", "Iyun", "Iyul", "Avqust", "Sentyabr", "Oktyabr", "Noyabr", "Dekabr"
238 | ],
239 | dayOfWeek: [
240 | "B", "Be", "Ça", "Ç", "Ca", "C", "Ş"
241 | ]
242 | },
243 | bs: { //Bosanski
244 | months: [
245 | "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
246 | ],
247 | dayOfWeek: [
248 | "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"
249 | ]
250 | },
251 | ca: { //Català
252 | months: [
253 | "Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"
254 | ],
255 | dayOfWeek: [
256 | "Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"
257 | ]
258 | },
259 | 'en-GB': { //English (British)
260 | months: [
261 | "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
262 | ],
263 | dayOfWeek: [
264 | "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
265 | ]
266 | },
267 | et: { //"Eesti"
268 | months: [
269 | "Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"
270 | ],
271 | dayOfWeek: [
272 | "P", "E", "T", "K", "N", "R", "L"
273 | ]
274 | },
275 | eu: { //Euskara
276 | months: [
277 | "Urtarrila", "Otsaila", "Martxoa", "Apirila", "Maiatza", "Ekaina", "Uztaila", "Abuztua", "Iraila", "Urria", "Azaroa", "Abendua"
278 | ],
279 | dayOfWeek: [
280 | "Ig.", "Al.", "Ar.", "Az.", "Og.", "Or.", "La."
281 | ]
282 | },
283 | fi: { //Finnish (Suomi)
284 | months: [
285 | "Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"
286 | ],
287 | dayOfWeek: [
288 | "Su", "Ma", "Ti", "Ke", "To", "Pe", "La"
289 | ]
290 | },
291 | gl: { //Galego
292 | months: [
293 | "Xan", "Feb", "Maz", "Abr", "Mai", "Xun", "Xul", "Ago", "Set", "Out", "Nov", "Dec"
294 | ],
295 | dayOfWeek: [
296 | "Dom", "Lun", "Mar", "Mer", "Xov", "Ven", "Sab"
297 | ]
298 | },
299 | hr: { //Hrvatski
300 | months: [
301 | "Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"
302 | ],
303 | dayOfWeek: [
304 | "Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"
305 | ]
306 | },
307 | ko: { //Korean (한국어)
308 | months: [
309 | "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"
310 | ],
311 | dayOfWeek: [
312 | "일", "월", "화", "수", "목", "금", "토"
313 | ]
314 | },
315 | lt: { //Lithuanian (lietuvių)
316 | months: [
317 | "Sausio", "Vasario", "Kovo", "Balandžio", "Gegužės", "Birželio", "Liepos", "Rugpjūčio", "Rugsėjo", "Spalio", "Lapkričio", "Gruodžio"
318 | ],
319 | dayOfWeek: [
320 | "Sek", "Pir", "Ant", "Tre", "Ket", "Pen", "Šeš"
321 | ]
322 | },
323 | lv: { //Latvian (Latviešu)
324 | months: [
325 | "Janvāris", "Februāris", "Marts", "Aprīlis ", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"
326 | ],
327 | dayOfWeek: [
328 | "Sv", "Pr", "Ot", "Tr", "Ct", "Pk", "St"
329 | ]
330 | },
331 | mk: { //Macedonian (Македонски)
332 | months: [
333 | "јануари", "февруари", "март", "април", "мај", "јуни", "јули", "август", "септември", "октомври", "ноември", "декември"
334 | ],
335 | dayOfWeek: [
336 | "нед", "пон", "вто", "сре", "чет", "пет", "саб"
337 | ]
338 | },
339 | mn: { //Mongolian (Монгол)
340 | months: [
341 | "1-р сар", "2-р сар", "3-р сар", "4-р сар", "5-р сар", "6-р сар", "7-р сар", "8-р сар", "9-р сар", "10-р сар", "11-р сар", "12-р сар"
342 | ],
343 | dayOfWeek: [
344 | "Дав", "Мяг", "Лха", "Пүр", "Бсн", "Бям", "Ням"
345 | ]
346 | },
347 | 'pt-BR': { //Português(Brasil)
348 | months: [
349 | "Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"
350 | ],
351 | dayOfWeek: [
352 | "Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"
353 | ]
354 | },
355 | sk: { //Slovenčina
356 | months: [
357 | "Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"
358 | ],
359 | dayOfWeek: [
360 | "Ne", "Po", "Ut", "St", "Št", "Pi", "So"
361 | ]
362 | },
363 | sq: { //Albanian (Shqip)
364 | months: [
365 | "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"
366 | ],
367 | dayOfWeek: [
368 | "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"
369 | ]
370 | },
371 | 'sr-YU': { //Serbian (Srpski)
372 | months: [
373 | "Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"
374 | ],
375 | dayOfWeek: [
376 | "Ned", "Pon", "Uto", "Sre", "čet", "Pet", "Sub"
377 | ]
378 | },
379 | sr: { //Serbian Cyrillic (Српски)
380 | months: [
381 | "јануар", "фебруар", "март", "април", "мај", "јун", "јул", "август", "септембар", "октобар", "новембар", "децембар"
382 | ],
383 | dayOfWeek: [
384 | "нед", "пон", "уто", "сре", "чет", "пет", "суб"
385 | ]
386 | },
387 | sv: { //Svenska
388 | months: [
389 | "Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"
390 | ],
391 | dayOfWeek: [
392 | "Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"
393 | ]
394 | },
395 | 'zh-TW': { //Traditional Chinese (繁體中文)
396 | months: [
397 | "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
398 | ],
399 | dayOfWeek: [
400 | "日", "一", "二", "三", "四", "五", "六"
401 | ]
402 | },
403 | zh: { //Simplified Chinese (简体中文)
404 | months: [
405 | "一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"
406 | ],
407 | dayOfWeek: [
408 | "日", "一", "二", "三", "四", "五", "六"
409 | ]
410 | },
411 | he: { //Hebrew (עברית)
412 | months: [
413 | 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר'
414 | ],
415 | dayOfWeek: [
416 | 'א\'', 'ב\'', 'ג\'', 'ד\'', 'ה\'', 'ו\'', 'שבת'
417 | ]
418 | }
419 | },
420 | value: '',
421 | lang: 'en',
422 |
423 | format: 'Y/m/d H:i',
424 | formatTime: 'H:i',
425 | formatDate: 'Y/m/d',
426 |
427 | startDate: false, // new Date(), '1986/12/08', '-1970/01/05','-1970/01/05',
428 | step: 60,
429 | monthChangeSpinner: true,
430 |
431 | closeOnDateSelect: false,
432 | closeOnWithoutClick: true,
433 | closeOnInputClick: true,
434 |
435 | timepicker: true,
436 | datepicker: true,
437 | weeks: false,
438 |
439 | defaultTime: false, // use formatTime format (ex. '10:00' for formatTime: 'H:i')
440 | defaultDate: false, // use formatDate format (ex new Date() or '1986/12/08' or '-1970/01/05' or '-1970/01/05')
441 |
442 | minDate: false,
443 | maxDate: false,
444 | minTime: false,
445 | maxTime: false,
446 |
447 | allowTimes: [],
448 | opened: false,
449 | initTime: true,
450 | inline: false,
451 | theme: '',
452 |
453 | onSelectDate: function () {},
454 | onSelectTime: function () {},
455 | onChangeMonth: function () {},
456 | onChangeYear: function () {},
457 | onChangeDateTime: function () {},
458 | onShow: function () {},
459 | onClose: function () {},
460 | onGenerate: function () {},
461 |
462 | withoutCopyright: true,
463 | inverseButton: false,
464 | hours12: false,
465 | next: 'xdsoft_next',
466 | prev : 'xdsoft_prev',
467 | dayOfWeekStart: 0,
468 | parentID: 'body',
469 | timeHeightInTimePicker: 25,
470 | timepickerScrollbar: true,
471 | todayButton: true,
472 | defaultSelect: true,
473 |
474 | scrollMonth: true,
475 | scrollTime: true,
476 | scrollInput: true,
477 |
478 | lazyInit: false,
479 | mask: false,
480 | validateOnBlur: true,
481 | allowBlank: true,
482 | yearStart: 1950,
483 | yearEnd: 2050,
484 | style: '',
485 | id: '',
486 | fixed: false,
487 | roundTime: 'round', // ceil, floor
488 | className: '',
489 | weekends: [],
490 | disabledDates : [],
491 | yearOffset: 0,
492 | beforeShowDay: null,
493 |
494 | enterLikeTab: true
495 | };
496 | // fix for ie8
497 | if (!Array.prototype.indexOf) {
498 | Array.prototype.indexOf = function (obj, start) {
499 | var i, j;
500 | for (i = (start || 0), j = this.length; i < j; i += 1) {
501 | if (this[i] === obj) { return i; }
502 | }
503 | return -1;
504 | };
505 | }
506 | Date.prototype.countDaysInMonth = function () {
507 | return new Date(this.getFullYear(), this.getMonth() + 1, 0).getDate();
508 | };
509 | $.fn.xdsoftScroller = function (percent) {
510 | return this.each(function () {
511 | var timeboxparent = $(this),
512 | pointerEventToXY = function (e) {
513 | var out = {x: 0, y: 0},
514 | touch;
515 | if (e.type === 'touchstart' || e.type === 'touchmove' || e.type === 'touchend' || e.type === 'touchcancel') {
516 | touch = e.originalEvent.touches[0] || e.originalEvent.changedTouches[0];
517 | out.x = touch.clientX;
518 | out.y = touch.clientY;
519 | } else if (e.type === 'mousedown' || e.type === 'mouseup' || e.type === 'mousemove' || e.type === 'mouseover' || e.type === 'mouseout' || e.type === 'mouseenter' || e.type === 'mouseleave') {
520 | out.x = e.clientX;
521 | out.y = e.clientY;
522 | }
523 | return out;
524 | },
525 | move = 0,
526 | timebox,
527 | parentHeight,
528 | height,
529 | scrollbar,
530 | scroller,
531 | maximumOffset = 100,
532 | start = false,
533 | startY = 0,
534 | startTop = 0,
535 | h1 = 0,
536 | touchStart = false,
537 | startTopScroll = 0,
538 | calcOffset = function () {};
539 | if (percent === 'hide') {
540 | timeboxparent.find('.xdsoft_scrollbar').hide();
541 | return;
542 | }
543 | if (!$(this).hasClass('xdsoft_scroller_box')) {
544 | timebox = timeboxparent.children().eq(0);
545 | parentHeight = timeboxparent[0].clientHeight;
546 | height = timebox[0].offsetHeight;
547 | scrollbar = $('');
548 | scroller = $('');
549 | scrollbar.append(scroller);
550 |
551 | timeboxparent.addClass('xdsoft_scroller_box').append(scrollbar);
552 | calcOffset = function calcOffset(event) {
553 | var offset = pointerEventToXY(event).y - startY + startTopScroll;
554 | if (offset < 0) {
555 | offset = 0;
556 | }
557 | if (offset + scroller[0].offsetHeight > h1) {
558 | offset = h1 - scroller[0].offsetHeight;
559 | }
560 | timeboxparent.trigger('scroll_element.xdsoft_scroller', [maximumOffset ? offset / maximumOffset : 0]);
561 | };
562 |
563 | scroller
564 | .on('touchstart.xdsoft_scroller mousedown.xdsoft_scroller', function (event) {
565 | if (!parentHeight) {
566 | timeboxparent.trigger('resize_scroll.xdsoft_scroller', [percent]);
567 | }
568 |
569 | startY = pointerEventToXY(event).y;
570 | startTopScroll = parseInt(scroller.css('margin-top'), 10);
571 | h1 = scrollbar[0].offsetHeight;
572 |
573 | if (event.type === 'mousedown') {
574 | if (document) {
575 | $(document.body).addClass('xdsoft_noselect');
576 | }
577 | $([document.body, window]).on('mouseup.xdsoft_scroller', function arguments_callee() {
578 | $([document.body, window]).off('mouseup.xdsoft_scroller', arguments_callee)
579 | .off('mousemove.xdsoft_scroller', calcOffset)
580 | .removeClass('xdsoft_noselect');
581 | });
582 | $(document.body).on('mousemove.xdsoft_scroller', calcOffset);
583 | } else {
584 | touchStart = true;
585 | event.stopPropagation();
586 | event.preventDefault();
587 | }
588 | })
589 | .on('touchmove', function (event) {
590 | if (touchStart) {
591 | event.preventDefault();
592 | calcOffset(event);
593 | }
594 | })
595 | .on('touchend touchcancel', function (event) {
596 | touchStart = false;
597 | startTopScroll = 0;
598 | });
599 |
600 | timeboxparent
601 | .on('scroll_element.xdsoft_scroller', function (event, percentage) {
602 | if (!parentHeight) {
603 | timeboxparent.trigger('resize_scroll.xdsoft_scroller', [percentage, true]);
604 | }
605 | percentage = percentage > 1 ? 1 : (percentage < 0 || isNaN(percentage)) ? 0 : percentage;
606 |
607 | scroller.css('margin-top', maximumOffset * percentage);
608 |
609 | setTimeout(function () {
610 | timebox.css('marginTop', -parseInt((timebox[0].offsetHeight - parentHeight) * percentage, 10));
611 | }, 10);
612 | })
613 | .on('resize_scroll.xdsoft_scroller', function (event, percentage, noTriggerScroll) {
614 | var percent, sh;
615 | parentHeight = timeboxparent[0].clientHeight;
616 | height = timebox[0].offsetHeight;
617 | percent = parentHeight / height;
618 | sh = percent * scrollbar[0].offsetHeight;
619 | if (percent > 1) {
620 | scroller.hide();
621 | } else {
622 | scroller.show();
623 | scroller.css('height', parseInt(sh > 10 ? sh : 10, 10));
624 | maximumOffset = scrollbar[0].offsetHeight - scroller[0].offsetHeight;
625 | if (noTriggerScroll !== true) {
626 | timeboxparent.trigger('scroll_element.xdsoft_scroller', [percentage || Math.abs(parseInt(timebox.css('marginTop'), 10)) / (height - parentHeight)]);
627 | }
628 | }
629 | });
630 |
631 | timeboxparent.on('mousewheel', function (event) {
632 | var top = Math.abs(parseInt(timebox.css('marginTop'), 10));
633 |
634 | top = top - (event.deltaY * 20);
635 | if (top < 0) {
636 | top = 0;
637 | }
638 |
639 | timeboxparent.trigger('scroll_element.xdsoft_scroller', [top / (height - parentHeight)]);
640 | event.stopPropagation();
641 | return false;
642 | });
643 |
644 | timeboxparent.on('touchstart', function (event) {
645 | start = pointerEventToXY(event);
646 | startTop = Math.abs(parseInt(timebox.css('marginTop'), 10));
647 | });
648 |
649 | timeboxparent.on('touchmove', function (event) {
650 | if (start) {
651 | event.preventDefault();
652 | var coord = pointerEventToXY(event);
653 | timeboxparent.trigger('scroll_element.xdsoft_scroller', [(startTop - (coord.y - start.y)) / (height - parentHeight)]);
654 | }
655 | });
656 |
657 | timeboxparent.on('touchend touchcancel', function (event) {
658 | start = false;
659 | startTop = 0;
660 | });
661 | }
662 | timeboxparent.trigger('resize_scroll.xdsoft_scroller', [percent]);
663 | });
664 | };
665 |
666 | $.fn.datetimepicker = function (opt) {
667 | var KEY0 = 48,
668 | KEY9 = 57,
669 | _KEY0 = 96,
670 | _KEY9 = 105,
671 | CTRLKEY = 17,
672 | DEL = 46,
673 | ENTER = 13,
674 | ESC = 27,
675 | BACKSPACE = 8,
676 | ARROWLEFT = 37,
677 | ARROWUP = 38,
678 | ARROWRIGHT = 39,
679 | ARROWDOWN = 40,
680 | TAB = 9,
681 | F5 = 116,
682 | AKEY = 65,
683 | CKEY = 67,
684 | VKEY = 86,
685 | ZKEY = 90,
686 | YKEY = 89,
687 | ctrlDown = false,
688 | options = ($.isPlainObject(opt) || !opt) ? $.extend(true, {}, default_options, opt) : $.extend(true, {}, default_options),
689 |
690 | lazyInitTimer = 0,
691 | createDateTimePicker,
692 | destroyDateTimePicker,
693 | _xdsoft_datetime,
694 |
695 | lazyInit = function (input) {
696 | input
697 | .on('open.xdsoft focusin.xdsoft mousedown.xdsoft', function initOnActionCallback(event) {
698 | if (input.is(':disabled') || input.is(':hidden') || !input.is(':visible') || input.data('xdsoft_datetimepicker')) {
699 | return;
700 | }
701 | clearTimeout(lazyInitTimer);
702 | lazyInitTimer = setTimeout(function () {
703 |
704 | if (!input.data('xdsoft_datetimepicker')) {
705 | createDateTimePicker(input);
706 | }
707 | input
708 | .off('open.xdsoft focusin.xdsoft mousedown.xdsoft', initOnActionCallback)
709 | .trigger('open.xdsoft');
710 | }, 100);
711 | });
712 | };
713 |
714 | createDateTimePicker = function (input) {
715 | var datetimepicker = $(''),
716 | xdsoft_copyright = $('