Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Template.AddClass.rendered = function(){
- $('.datepicker').datetimepicker({
- format: 'MM/DD/YYYY',
- 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',
- inline: true
- }
- });
- $('.timepicker').datetimepicker({
- // format: 'H:mm', // use this format if you want the 24hours timepicker
- format: 'h:mm A', //use this format if you want the 12hours timpiecker with AM/PM toggle
- 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',
- inline: true
- }
- });
- $(".selectpicker").selectpicker();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement