bootstrap-ui-datetime-picker
bootstrap-ui-datetime-picker copied to clipboard
Popup template
Hey, Is there a good way of setting a custom template for the date-picker popup? I just wanted to change the classes of the buttons. I can achieve that on the original datepicker directive by having the config:
.config(function (uibDatepickerPopupConfig) {
uibDatepickerPopupConfig.datepickerPopupTemplateUrl = 'views/_datepickerTemplate.html'
})
Thanks
If u just want to change the buttons styles, u can achieve this by using css classes...
I can try to use a selector to change the classes to btn-primary
but that doesn't solve if I want to change the displacement of the buttons.
A custom template popup it would be great! Otherwise, just a option to choose the type (class) of the buttons would be nice too. I just want to use all buttons with btn-default
class. Currently, there's a way to define visibility and text, you could just add another option to customize the css class.
Button classes can now be changed