Homer - Responsive Admin Theme

Special Admin Theme for small and medium webapp with very clean and aesthetic style and feel.

Alerts

Notification and custom alerts
Sweet alert

Sweet Alert is a beautiful replacement for standard Javascript's "Alert".

Examples Action
A basic message
A success message!
A warning message, with a function attached to the "Confirm"-button
... and by passing a parameter, you can execute something else for "Cancel".

You can easy add sweet alert in your controller by adding code like this:

swal({
    title: "Good job!",
    text: "You clicked the button!",
    type: "success"
});
Toastr notification

Minimalistic and extensible notification service for Homer theme.

Example with Homer template

You can easy add any notification in your scripts by adding code like this:

Command: toastr["success"]("Example message ", "Example title")

toastr.options = {
  "closeButton": true,
  "debug": false,
  "newestOnTop": false,
  "progressBar": false,
  "positionClass": "toast-top-center",
  "preventDuplicates": false,
  "onclick": null,
  "showDuration": "300",
  "hideDuration": "1000",
  "timeOut": "5000",
  "extendedTimeOut": "1000",
  "showEasing": "swing",
  "hideEasing": "linear",
  "showMethod": "fadeIn",
  "hideMethod": "fadeOut"
}