0001-hide-header-from-time-only-picker-14736.patch
chrono/manager/static/css/style.css | ||
---|---|---|
30 | 30 |
font-size: 1rem; |
31 | 31 |
opacity: 0.6; |
32 | 32 |
} |
33 | ||
34 |
.time-only-picker thead { |
|
35 |
display: none; |
|
36 |
} |
|
37 | ||
38 |
.time-only-picker tbody td { |
|
39 |
width: 200px; |
|
40 |
} |
chrono/manager/static/js/bootstrap-datetimepicker.js | ||
---|---|---|
151 | 151 |
mousedown: $.proxy(this.mousedown, this) |
152 | 152 |
}); |
153 | 153 | |
154 |
if (this.maxView == 1) { |
|
155 |
this.picker.addClass('time-only-picker'); |
|
156 |
} |
|
157 | ||
154 | 158 |
if (this.wheelViewModeNavigation) { |
155 | 159 |
if ($.fn.mousewheel) { |
156 | 160 |
this.picker.on({mousewheel: $.proxy(this.mousewheel, this)}); |
157 |
- |