| | |
| | | '<i class="fa fa-calendar glyphicon glyphicon-calendar"></i>' + |
| | | '<div class="calendar-time">' + |
| | | '<div></div>' + |
| | | '<i class="fa fa-clock-o glyphicon glyphicon-time"></i>' + |
| | | '<i class="fa fa-clock-o glyphicon glyphicon-time" style="position: relative; left:12.3rem; bottom: 1.23rem "></i>' + |
| | | '</div>' + |
| | | '</div>' + |
| | | '<div class="calendar-table"></div>' + |
| | |
| | | }); |
| | | } else if ($attrs["rangeType"] === "singleDate") { |
| | | $($element).daterangepicker({ |
| | | timePicker: false, |
| | | timePicker: true, |
| | | timePickerSeconds : true, |
| | | autoUpdateInput: true, |
| | | autoApply : true, |
| | | singleDatePicker : true, |
| | |
| | | |
| | | //parentEl : $scope.parentEl !== undefined ? $scope.parentEl : "", |
| | | locale: { |
| | | format: 'YYYY-MM-DD', |
| | | format: 'YYYY-MM-DD/hh-mm-ss A', |
| | | applyLabel: options.applyLabel, |
| | | cancelLabel: options.cancelLabel, |
| | | daysOfWeek: options.daysOfWeek, |