From 8481e94df752a2ed628ec5745add5c52351b3594 Mon Sep 17 00:00:00 2001
From: enured <enis.nuredini@uzh.ch>
Date: Tue, 25 Jan 2022 19:21:13 +0100
Subject: [PATCH] F10096 Datepicker and documentation is implented

(cherry picked from commit 1141502e97116dcab71a3e4ea69a4ac788fc0a1c)
---
 Documentation/Installation.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/Documentation/Installation.rst b/Documentation/Installation.rst
index 471418b4c..c8ee9beaf 100644
--- a/Documentation/Installation.rst
+++ b/Documentation/Installation.rst
@@ -249,6 +249,9 @@ Setup CSS & JS
 
         # Only needed in case FullCalendar is used
         file08 = typo3conf/ext/qfq/Resources/Public/Css/fullcalendar.min.css
+
+        # Only needed in case FormElement 'datetime'/'date' is used
+        file09 = typo3conf/ext/qfq/Resources/Public/Css/bootstrap-datetimepicker.min.css
     }
 
     page.includeJS {
@@ -273,9 +276,26 @@ Setup CSS & JS
         # Only needed in case FullCalendar is used
         file16 = typo3conf/ext/qfq/Resources/Public/JavaScript/moment.min.js
         file17 = typo3conf/ext/qfq/Resources/Public/JavaScript/fullcalendar.min.js
+
+        # Only needed in case FormElement 'datetime'/'date' is used
+        file18 = typo3conf/ext/qfq/Resources/Public/JavaScript/bootstrap-datetimepicker.min.js
     }
 
 
+.. _datetimepicker:
+
+Datetimepicker
+----------
+Include the JS and CSS Files to get datetimepicker work:
+Following scripts are needed:
+
+* bootstrap-datetimepicker.min.css
+* bootstrap-datetimepicker.min.js
+
+As first option both can be inserted to the setup of the main Template like the other scripts shown above.
+
+Second option is to use the UZH CD template.
+
 .. _form-editor:
 
 FormEditor
-- 
GitLab