From c7998f56f08ecddc1762918d658255c8890df4a8 Mon Sep 17 00:00:00 2001 From: Ludovic Stephan Date: Tue, 15 Sep 2020 20:04:52 +0200 Subject: [PATCH] Datetimepicker tweaks --- kfet/static/kfet/css/history.css | 4 ++++ kfet/templates/kfet/history.html | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/kfet/static/kfet/css/history.css b/kfet/static/kfet/css/history.css index 42e73527..437fcd71 100644 --- a/kfet/static/kfet/css/history.css +++ b/kfet/static/kfet/css/history.css @@ -109,3 +109,7 @@ #history .entry .glyphicon { padding-left:15px; } + +#history-form .form-group { + position: relative; +} diff --git a/kfet/templates/kfet/history.html b/kfet/templates/kfet/history.html index bff55d12..c3ebc8b0 100644 --- a/kfet/templates/kfet/history.html +++ b/kfet/templates/kfet/history.html @@ -62,7 +62,11 @@ $(document).ready(function() { format : 'YYYY-MM-DD HH:mm', stepping : 5, locale : 'fr', - showTodayButton: true + showTodayButton: true, + widgetPositioning: { + horizontal: "left", + vertical: "bottom", + } }; $from_date.datetimepicker($.extend({}, defaults_datetimepicker, {