Projet

Général

Profil

0001-hide-header-from-time-only-picker-14736.patch

Frédéric Péters, 11 avril 2017 10:19

Télécharger (1,33 ko)

Voir les différences:

Subject: [PATCH] hide header from time-only picker (#14736)

 chrono/manager/static/css/style.css                  | 8 ++++++++
 chrono/manager/static/js/bootstrap-datetimepicker.js | 4 ++++
 2 files changed, 12 insertions(+)
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
-