Tweak report
This commit is contained in:
parent
ad8af8eb8f
commit
b978dfb077
@ -84,7 +84,7 @@
|
||||
<div class="input-group-prepend " data-target=".datetimepicker-1" data-toggle="datetimepicker">
|
||||
<div class="input-group-text "><i class="fa fa-calendar"></i>  <?php echo $transLang['START']; ?></div>
|
||||
</div>
|
||||
<input value="<?php if (isset($_POST['starttime'])) { echo $_POST['starttime']; }; ?>" name="starttime" type="text" class="datetimepicker-input form-control datetimepicker-1" id="datetimepicker-1" data-target=".datetimepicker-1" autocomplete="new-password" required />
|
||||
<input name="starttime" type="text" class="datetimepicker-input form-control datetimepicker-1" id="datetimepicker-1" data-target=".datetimepicker-1" autocomplete="new-password" required />
|
||||
</div>
|
||||
</div>
|
||||
<div class='col-sm'>
|
||||
@ -92,17 +92,17 @@
|
||||
<div class="input-group-prepend" data-target=".datetimepicker-2" data-toggle="datetimepicker">
|
||||
<div class="input-group-text"><i class="fa fa-calendar"></i>  <?php echo $transLang['END']; ?></div>
|
||||
</div>
|
||||
<input value="<?php if (isset($_POST['endtime'])) { echo $_POST['endtime']; }; ?>" name="endtime" type="text" class="datetimepicker-input form-control datetimepicker-2" id="datetimepicker-2" data-target=".datetimepicker-2" autocomplete="new-password" required />
|
||||
<input name="endtime" type="text" class="datetimepicker-input form-control datetimepicker-2" id="datetimepicker-2" data-target=".datetimepicker-2" autocomplete="new-password" required />
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('.datetimepicker-1').datetimepicker({'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss'});
|
||||
$('.datetimepicker-1').datetimepicker({defaultDate:'<?php if (isset($_POST['starttime'])) { echo $_POST['starttime']; }; ?>', 'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss'});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$('.datetimepicker-2').datetimepicker({'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss'});
|
||||
$('.datetimepicker-2').datetimepicker({defaultDate:'<?php if (isset($_POST['endtime'])) { echo $_POST['endtime']; }; ?>', 'sideBySide':true, 'format':'YYYY-MM-DD HH:mm:ss'});
|
||||
});
|
||||
</script>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user