bootstrap-datetimepicker-rails 0.0.10.1 → 0.0.11
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.
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* @license
|
3
3
|
* =========================================================
|
4
|
-
* bootstrap-datetimepicker.js
|
4
|
+
* bootstrap-datetimepicker.js
|
5
5
|
* http://www.eyecon.ro/bootstrap-datepicker
|
6
6
|
* =========================================================
|
7
7
|
* Copyright 2012 Stefan Petre
|
@@ -32,7 +32,7 @@
|
|
32
32
|
this.id = dpgId++;
|
33
33
|
this.init(element, options);
|
34
34
|
};
|
35
|
-
|
35
|
+
|
36
36
|
var dateToDate = function(dt) {
|
37
37
|
if (typeof dt === 'string') {
|
38
38
|
return new Date(dt);
|
@@ -54,7 +54,7 @@
|
|
54
54
|
this.pickTime = options.pickTime;
|
55
55
|
this.isInput = this.$element.is('input');
|
56
56
|
this.component = false;
|
57
|
-
if (this.$element.
|
57
|
+
if (this.$element.find('.input-append') || this.$element.find('.input-prepend'))
|
58
58
|
this.component = this.$element.find('.add-on');
|
59
59
|
this.format = options.format;
|
60
60
|
if (!this.format) {
|
@@ -206,7 +206,7 @@
|
|
206
206
|
if (!date) this.setValue(null);
|
207
207
|
else this.setValue(date.valueOf());
|
208
208
|
},
|
209
|
-
|
209
|
+
|
210
210
|
setStartDate: function(date) {
|
211
211
|
if (date instanceof Date) {
|
212
212
|
this.startDate = date;
|
@@ -222,7 +222,7 @@
|
|
222
222
|
this.update();
|
223
223
|
}
|
224
224
|
},
|
225
|
-
|
225
|
+
|
226
226
|
setEndDate: function(date) {
|
227
227
|
if (date instanceof Date) {
|
228
228
|
this.endDate = date;
|
@@ -262,19 +262,40 @@
|
|
262
262
|
place: function(){
|
263
263
|
var position = 'absolute';
|
264
264
|
var offset = this.component ? this.component.offset() : this.$element.offset();
|
265
|
+
this.width = this.component ? this.component.outerWidth() : this.$element.outerWidth();
|
265
266
|
offset.top = offset.top + this.height;
|
266
267
|
|
268
|
+
var $window = $(window);
|
269
|
+
|
270
|
+
if ( this.options.width != undefined ) {
|
271
|
+
this.widget.width( this.options.width );
|
272
|
+
}
|
273
|
+
|
274
|
+
if ( this.options.orientation == 'left' ) {
|
275
|
+
this.widget.addClass( 'left-oriented' );
|
276
|
+
offset.left = offset.left - this.widget.width() + 20;
|
277
|
+
}
|
278
|
+
|
267
279
|
if (this._isInFixed()) {
|
268
|
-
var $window = $(window);
|
269
280
|
position = 'fixed';
|
270
281
|
offset.top -= $window.scrollTop();
|
271
282
|
offset.left -= $window.scrollLeft();
|
272
283
|
}
|
273
284
|
|
285
|
+
if ($window.width() < offset.left + this.widget.outerWidth()) {
|
286
|
+
offset.right = $window.width() - offset.left - this.width;
|
287
|
+
offset.left = 'auto';
|
288
|
+
this.widget.addClass('pull-right');
|
289
|
+
} else {
|
290
|
+
offset.right = 'auto';
|
291
|
+
this.widget.removeClass('pull-right');
|
292
|
+
}
|
293
|
+
|
274
294
|
this.widget.css({
|
275
295
|
position: position,
|
276
296
|
top: offset.top,
|
277
|
-
left: offset.left
|
297
|
+
left: offset.left,
|
298
|
+
right: offset.right
|
278
299
|
});
|
279
300
|
},
|
280
301
|
|
@@ -294,7 +315,10 @@
|
|
294
315
|
} else {
|
295
316
|
dateStr = this.$element.find('input').val();
|
296
317
|
}
|
297
|
-
if (
|
318
|
+
if (dateStr) {
|
319
|
+
this._date = this.parseDate(dateStr);
|
320
|
+
}
|
321
|
+
if (!this._date) {
|
298
322
|
var tmp = new Date()
|
299
323
|
this._date = UTCDate(tmp.getFullYear(),
|
300
324
|
tmp.getMonth(),
|
@@ -303,8 +327,6 @@
|
|
303
327
|
tmp.getMinutes(),
|
304
328
|
tmp.getSeconds(),
|
305
329
|
tmp.getMilliseconds())
|
306
|
-
} else {
|
307
|
-
this._date = this.parseDate(dateStr);
|
308
330
|
}
|
309
331
|
}
|
310
332
|
this.viewDate = UTCDate(this._date.getUTCFullYear(), this._date.getUTCMonth(), 1, 0, 0, 0, 0);
|
@@ -314,11 +336,10 @@
|
|
314
336
|
|
315
337
|
fillDow: function() {
|
316
338
|
var dowCnt = this.weekStart;
|
317
|
-
var html = '<tr>';
|
339
|
+
var html = $('<tr>');
|
318
340
|
while (dowCnt < this.weekStart + 7) {
|
319
|
-
html
|
341
|
+
html.append('<th class="dow">' + dates[this.language].daysMin[(dowCnt++) % 7] + '</th>');
|
320
342
|
}
|
321
|
-
html += '</tr>';
|
322
343
|
this.widget.find('.datepicker-days thead').append(html);
|
323
344
|
},
|
324
345
|
|
@@ -344,14 +365,14 @@
|
|
344
365
|
var startMonth = typeof this.startDate === 'object' ? this.startDate.getUTCMonth() : -1;
|
345
366
|
var endYear = typeof this.endDate === 'object' ? this.endDate.getUTCFullYear() : Infinity;
|
346
367
|
var endMonth = typeof this.endDate === 'object' ? this.endDate.getUTCMonth() : 12;
|
347
|
-
|
368
|
+
|
348
369
|
this.widget.find('.datepicker-days').find('.disabled').removeClass('disabled');
|
349
370
|
this.widget.find('.datepicker-months').find('.disabled').removeClass('disabled');
|
350
371
|
this.widget.find('.datepicker-years').find('.disabled').removeClass('disabled');
|
351
|
-
|
372
|
+
|
352
373
|
this.widget.find('.datepicker-days th:eq(1)').text(
|
353
374
|
dates[this.language].months[month] + ' ' + year);
|
354
|
-
|
375
|
+
|
355
376
|
var prevMonth = UTCDate(year, month-1, 28, 0, 0, 0, 0);
|
356
377
|
var day = DPGlobal.getDaysInMonth(
|
357
378
|
prevMonth.getUTCFullYear(), prevMonth.getUTCMonth());
|
@@ -363,15 +384,17 @@
|
|
363
384
|
if ((year == endYear && month >= endMonth) || year > endYear) {
|
364
385
|
this.widget.find('.datepicker-days th:eq(2)').addClass('disabled');
|
365
386
|
}
|
366
|
-
|
387
|
+
|
367
388
|
var nextMonth = new Date(prevMonth.valueOf());
|
368
389
|
nextMonth.setUTCDate(nextMonth.getUTCDate() + 42);
|
369
390
|
nextMonth = nextMonth.valueOf();
|
370
391
|
var html = [];
|
392
|
+
var row;
|
371
393
|
var clsName;
|
372
394
|
while (prevMonth.valueOf() < nextMonth) {
|
373
395
|
if (prevMonth.getUTCDay() === this.weekStart) {
|
374
|
-
|
396
|
+
row = $('<tr>');
|
397
|
+
html.push(row);
|
375
398
|
}
|
376
399
|
clsName = '';
|
377
400
|
if (prevMonth.getUTCFullYear() < year ||
|
@@ -392,13 +415,10 @@
|
|
392
415
|
if (prevMonth.valueOf() > this.endDate) {
|
393
416
|
clsName += ' disabled';
|
394
417
|
}
|
395
|
-
|
396
|
-
if (prevMonth.getUTCDay() === this.weekEnd) {
|
397
|
-
html.push('</tr>');
|
398
|
-
}
|
418
|
+
row.append('<td class="day' + clsName + '">' + prevMonth.getUTCDate() + '</td>');
|
399
419
|
prevMonth.setUTCDate(prevMonth.getUTCDate() + 1);
|
400
420
|
}
|
401
|
-
this.widget.find('.datepicker-days tbody').empty().append(html
|
421
|
+
this.widget.find('.datepicker-days tbody').empty().append(html);
|
402
422
|
var currentYear = this._date.getUTCFullYear();
|
403
423
|
|
404
424
|
var months = this.widget.find('.datepicker-months').find(
|
@@ -410,7 +430,7 @@
|
|
410
430
|
this.widget.find('.datepicker-months th:eq(0)').addClass('disabled');
|
411
431
|
}
|
412
432
|
if (currentYear + 1 > endYear) {
|
413
|
-
this.widget.find('.datepicker-months th:eq(2)').addClass('disabled');
|
433
|
+
this.widget.find('.datepicker-months th:eq(2)').addClass('disabled');
|
414
434
|
}
|
415
435
|
for (var i = 0; i < 12; i++) {
|
416
436
|
if ((year == startYear && startMonth > i) || (year < startYear)) {
|
@@ -680,7 +700,7 @@
|
|
680
700
|
if (value === 12) value = 0;
|
681
701
|
else value = value % 12;
|
682
702
|
}
|
683
|
-
}
|
703
|
+
}
|
684
704
|
this._date.setUTCHours(value);
|
685
705
|
this.actions.showPicker.call(this);
|
686
706
|
},
|
@@ -1036,22 +1056,22 @@
|
|
1036
1056
|
$(document).off('mousedown.datetimepicker' + this.id);
|
1037
1057
|
}
|
1038
1058
|
},
|
1039
|
-
|
1059
|
+
|
1040
1060
|
_isInFixed: function() {
|
1041
1061
|
if (this.$element) {
|
1042
1062
|
var parents = this.$element.parents();
|
1043
1063
|
var inFixed = false;
|
1044
|
-
for (var i=0; i<parents.length; i++) {
|
1045
|
-
if ($(parents[i]).css('position') == 'fixed') {
|
1046
|
-
inFixed = true;
|
1047
|
-
break;
|
1048
|
-
}
|
1064
|
+
for (var i=0; i<parents.length; i++) {
|
1065
|
+
if ($(parents[i]).css('position') == 'fixed') {
|
1066
|
+
inFixed = true;
|
1067
|
+
break;
|
1068
|
+
}
|
1049
1069
|
};
|
1050
|
-
return inFixed;
|
1070
|
+
return inFixed;
|
1051
1071
|
} else {
|
1052
1072
|
return false;
|
1053
1073
|
}
|
1054
|
-
}
|
1074
|
+
}
|
1055
1075
|
};
|
1056
1076
|
|
1057
1077
|
$.fn.datetimepicker = function ( option, val ) {
|
@@ -1189,7 +1209,7 @@
|
|
1189
1209
|
getDaysInMonth: function (year, month) {
|
1190
1210
|
return [31, (DPGlobal.isLeapYear(year) ? 29 : 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month]
|
1191
1211
|
},
|
1192
|
-
headTemplate:
|
1212
|
+
headTemplate:
|
1193
1213
|
'<thead>' +
|
1194
1214
|
'<tr>' +
|
1195
1215
|
'<th class="prev">‹</th>' +
|
@@ -5,4 +5,4 @@
|
|
5
5
|
* Licensed under the Apache License v2.0
|
6
6
|
* http://www.apache.org/licenses/LICENSE-2.0
|
7
7
|
*
|
8
|
-
*/.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-datetimepicker-widget{top:0;left:0;width:250px;padding:4px;margin-top:1px;z-index:3000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.bootstrap-datetimepicker-widget:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:6px}.bootstrap-datetimepicker-widget:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:7px}.bootstrap-datetimepicker-widget>ul{list-style-type:none;margin:0}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{width:100%;font-weight:bold;font-size:1.2em}.bootstrap-datetimepicker-widget table[data-hour-format="12"] .separator{width:4px;padding:0;margin:0}.bootstrap-datetimepicker-widget .datepicker>div{display:none}.bootstrap-datetimepicker-widget .picker-switch{text-align:center}.bootstrap-datetimepicker-widget table{width:100%;margin:0}.bootstrap-datetimepicker-widget td,.bootstrap-datetimepicker-widget th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.bootstrap-datetimepicker-widget td.day:hover,.bootstrap-datetimepicker-widget td.hour:hover,.bootstrap-datetimepicker-widget td.minute:hover,.bootstrap-datetimepicker-widget td.second:hover{background:#eee;cursor:pointer}.bootstrap-datetimepicker-widget td.old,.bootstrap-datetimepicker-widget td.new{color:#999}.bootstrap-datetimepicker-widget td.active,.bootstrap-datetimepicker-widget td.active:hover{color:#fff;background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget td.active:hover,.bootstrap-datetimepicker-widget td.active:hover:hover,.bootstrap-datetimepicker-widget td.active:active,.bootstrap-datetimepicker-widget td.active:hover:active,.bootstrap-datetimepicker-widget td.active.active,.bootstrap-datetimepicker-widget td.active:hover.active,.bootstrap-datetimepicker-widget td.active.disabled,.bootstrap-datetimepicker-widget td.active:hover.disabled,.bootstrap-datetimepicker-widget td.active[disabled],.bootstrap-datetimepicker-widget td.active:hover[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.bootstrap-datetimepicker-widget td.active:active,.bootstrap-datetimepicker-widget td.active:hover:active,.bootstrap-datetimepicker-widget td.active.active,.bootstrap-datetimepicker-widget td.active:hover.active{background-color:#039 \9}.bootstrap-datetimepicker-widget td.disabled,.bootstrap-datetimepicker-widget td.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget td span{display:block;width:47px;height:54px;line-height:54px;float:left;margin:2px;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.bootstrap-datetimepicker-widget td span:hover{background:#eee}.bootstrap-datetimepicker-widget td span.active{color:#fff;background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget td span.active:hover,.bootstrap-datetimepicker-widget td span.active:active,.bootstrap-datetimepicker-widget td span.active.active,.bootstrap-datetimepicker-widget td span.active.disabled,.bootstrap-datetimepicker-widget td span.active[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.bootstrap-datetimepicker-widget td span.active:active,.bootstrap-datetimepicker-widget td span.active.active{background-color:#039 \9}.bootstrap-datetimepicker-widget td span.old{color:#999}.bootstrap-datetimepicker-widget td span.disabled,.bootstrap-datetimepicker-widget td span.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget th.switch{width:145px}.bootstrap-datetimepicker-widget th.next,.bootstrap-datetimepicker-widget th.prev{font-size:21px}.bootstrap-datetimepicker-widget th.disabled,.bootstrap-datetimepicker-widget th.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget thead tr:first-child th:hover{background:#eee}.input-append.date .add-on i,.input-prepend.date .add-on i{display:block;cursor:pointer;width:16px;height:16px}
|
8
|
+
*/.clearfix{*zoom:1}.clearfix:before,.clearfix:after{display:table;content:"";line-height:0}.clearfix:after{clear:both}.hide-text{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.input-block-level{display:block;width:100%;min-height:30px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.bootstrap-datetimepicker-widget{top:0;left:0;width:250px;padding:4px;margin-top:1px;z-index:3000;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.bootstrap-datetimepicker-widget:before{content:'';display:inline-block;border-left:7px solid transparent;border-right:7px solid transparent;border-bottom:7px solid #ccc;border-bottom-color:rgba(0,0,0,0.2);position:absolute;top:-7px;left:6px}.bootstrap-datetimepicker-widget:after{content:'';display:inline-block;border-left:6px solid transparent;border-right:6px solid transparent;border-bottom:6px solid #fff;position:absolute;top:-6px;left:7px}.bootstrap-datetimepicker-widget.pull-right:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.pull-right:after{left:auto;right:7px}.bootstrap-datetimepicker-widget>ul{list-style-type:none;margin:0}.bootstrap-datetimepicker-widget .timepicker-hour,.bootstrap-datetimepicker-widget .timepicker-minute,.bootstrap-datetimepicker-widget .timepicker-second{width:100%;font-weight:bold;font-size:1.2em}.bootstrap-datetimepicker-widget table[data-hour-format="12"] .separator{width:4px;padding:0;margin:0}.bootstrap-datetimepicker-widget .datepicker>div{display:none}.bootstrap-datetimepicker-widget .picker-switch{text-align:center}.bootstrap-datetimepicker-widget table{width:100%;margin:0}.bootstrap-datetimepicker-widget td,.bootstrap-datetimepicker-widget th{text-align:center;width:20px;height:20px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.bootstrap-datetimepicker-widget td.day:hover,.bootstrap-datetimepicker-widget td.hour:hover,.bootstrap-datetimepicker-widget td.minute:hover,.bootstrap-datetimepicker-widget td.second:hover{background:#eee;cursor:pointer}.bootstrap-datetimepicker-widget td.old,.bootstrap-datetimepicker-widget td.new{color:#999}.bootstrap-datetimepicker-widget td.active,.bootstrap-datetimepicker-widget td.active:hover{color:#fff;background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget td.active:hover,.bootstrap-datetimepicker-widget td.active:hover:hover,.bootstrap-datetimepicker-widget td.active:active,.bootstrap-datetimepicker-widget td.active:hover:active,.bootstrap-datetimepicker-widget td.active.active,.bootstrap-datetimepicker-widget td.active:hover.active,.bootstrap-datetimepicker-widget td.active.disabled,.bootstrap-datetimepicker-widget td.active:hover.disabled,.bootstrap-datetimepicker-widget td.active[disabled],.bootstrap-datetimepicker-widget td.active:hover[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.bootstrap-datetimepicker-widget td.active:active,.bootstrap-datetimepicker-widget td.active:hover:active,.bootstrap-datetimepicker-widget td.active.active,.bootstrap-datetimepicker-widget td.active:hover.active{background-color:#039 \9}.bootstrap-datetimepicker-widget td.disabled,.bootstrap-datetimepicker-widget td.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget td span{display:block;width:47px;height:54px;line-height:54px;float:left;margin:2px;cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.bootstrap-datetimepicker-widget td span:hover{background:#eee}.bootstrap-datetimepicker-widget td span.active{color:#fff;background-color:#006dcc;background-image:-moz-linear-gradient(top,#08c,#04c);background-image:-webkit-gradient(linear,0 0,0 100%,from(#08c),to(#04c));background-image:-webkit-linear-gradient(top,#08c,#04c);background-image:-o-linear-gradient(top,#08c,#04c);background-image:linear-gradient(to bottom,#08c,#04c);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc',endColorstr='#ff0044cc',GradientType=0);border-color:#04c #04c #002a80;border-color:rgba(0,0,0,0.1) rgba(0,0,0,0.1) rgba(0,0,0,0.25);*background-color:#04c;filter:progid:DXImageTransform.Microsoft.gradient(enabled = false);color:#fff;text-shadow:0 -1px 0 rgba(0,0,0,0.25)}.bootstrap-datetimepicker-widget td span.active:hover,.bootstrap-datetimepicker-widget td span.active:active,.bootstrap-datetimepicker-widget td span.active.active,.bootstrap-datetimepicker-widget td span.active.disabled,.bootstrap-datetimepicker-widget td span.active[disabled]{color:#fff;background-color:#04c;*background-color:#003bb3}.bootstrap-datetimepicker-widget td span.active:active,.bootstrap-datetimepicker-widget td span.active.active{background-color:#039 \9}.bootstrap-datetimepicker-widget td span.old{color:#999}.bootstrap-datetimepicker-widget td span.disabled,.bootstrap-datetimepicker-widget td span.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget th.switch{width:145px}.bootstrap-datetimepicker-widget th.next,.bootstrap-datetimepicker-widget th.prev{font-size:21px}.bootstrap-datetimepicker-widget th.disabled,.bootstrap-datetimepicker-widget th.disabled:hover{background:0;color:#999;cursor:not-allowed}.bootstrap-datetimepicker-widget thead tr:first-child th{cursor:pointer}.bootstrap-datetimepicker-widget thead tr:first-child th:hover{background:#eee}.input-append.date .add-on i,.input-prepend.date .add-on i{display:block;cursor:pointer;width:16px;height:16px}.bootstrap-datetimepicker-widget.left-oriented:before{left:auto;right:6px}.bootstrap-datetimepicker-widget.left-oriented:after{left:auto;right:7px}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-datetimepicker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-05-09 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: This gem packages the bootstrap-datetimepicker (JavaScripts & stylesheets)
|
15
15
|
for Rails 3.1+ asset pipeline
|