DateTimePicker v4.17.47 - 零件

我们创建了[Eonasdan](https:github.com Eonasdan){:target =“_ blank”}制作的日期时间选择器的设计。我们更改了颜色,排版和按钮,因此它看起来像仪表板的其余部分。

有关更多信息,请查看[Full Github文档](https:eonasdan.github.io bootstrap-datetimepicker){:target =“_ blank”}。

这是一个编码示例:

<!-- input with datetimepicker -->
<div class="form-group">
    <label class="label-control">Datetime Picker</label>
    <input type="text" class="form-control datetimepicker" value="21/06/2018"/>
</div>
<!-- javascript for init -->
$('.datetimepicker').datetimepicker({
    icons: {
        time: "fa fa-clock-o",
        date: "fa fa-calendar",
        up: "fa fa-chevron-up",
        down: "fa fa-chevron-down",
        previous: 'fa fa-chevron-left',
        next: 'fa fa-chevron-right',
        today: 'fa fa-screenshot',
        clear: 'fa fa-trash',
        close: 'fa fa-remove'
    }
});