diff options
Diffstat (limited to '')
-rw-r--r-- | template/feedback-read.phtml | 24 | ||||
-rw-r--r-- | template/page.phtml | 1 |
2 files changed, 23 insertions, 2 deletions
diff --git a/template/feedback-read.phtml b/template/feedback-read.phtml index 6886181..0c42d37 100644 --- a/template/feedback-read.phtml +++ b/template/feedback-read.phtml @@ -10,7 +10,17 @@ <label class="sr-only" for="from">From Date</label> <div class="input-group"> <div class="input-group-addon">From:</div> - <input type="date" class="form-control" name="from" id="from" value="<?=h(date('Y-m-d', $from))?>"> + <input + type="text" + data-provide="datepicker" + data-date-format="yyyy-mm-dd" + data-date-week-start="1" + data-date-today-btn="linked" + data-date-today-highlight="true" + class="form-control" + name="from" + id="from" + value="<?=h(date('Y-m-d', $from))?>"> </div> </div> @@ -18,7 +28,17 @@ <label class="sr-only" for="to">To Date</label> <div class="input-group"> <div class="input-group-addon">To:</div> - <input type="date" class="form-control" name="to" id="to" value="<?=h(date('Y-m-d', $to))?>"> + <input + type="text" + data-provide="datepicker" + data-date-format="yyyy-mm-dd" + data-date-week-start="1" + data-date-today-btn="linked" + data-date-today-highlight="true" + class="form-control" + name="to" + id="to" + value="<?=h(date('Y-m-d', $to))?>"> </div> </div> diff --git a/template/page.phtml b/template/page.phtml index cb79c16..3766135 100644 --- a/template/page.phtml +++ b/template/page.phtml @@ -47,6 +47,7 @@ <script type="text/javascript" src="assets/js/lib/jquery.min.js"></script> <script type="text/javascript" src="assets/js/lib/jquery.scrollTo.min.js"></script> <script type="text/javascript" src="assets/js/lib/bootstrap.min.js"></script> + <script type="text/javascript" src="assets/js/lib/bootstrap-datepicker.min.js"></script> <script type="text/javascript" src="assets/mejs/mediaelement-and-player.min.js"></script> <script type="text/javascript" src="assets/js/lustiges-script.js"></script> |