aboutsummaryrefslogtreecommitdiff
path: root/template/feedback-read.phtml
diff options
context:
space:
mode:
authorMaZderMind2015-03-31 21:56:23 +0200
committerMaZderMind2015-03-31 21:56:23 +0200
commit69156f7cf1cc8e74425934677fff83b70799fe1b (patch)
treeba6064ba888f04df18aa8fd7ed63e7e88415d703 /template/feedback-read.phtml
parent7a163c226c99eb97fb9ce59ce5774da513bcdfd1 (diff)
Datepicker in Feedback-Read GUI
Diffstat (limited to '')
-rw-r--r--template/feedback-read.phtml24
1 files changed, 22 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>