Notification: remove useless notification system
This commit is contained in:
parent
7a597a802c
commit
9d16c0365a
4 changed files with 0 additions and 26 deletions
|
@ -1,23 +0,0 @@
|
|||
//App.messages = App.cable.subscriptions.create('NotificationsChannel', {
|
||||
// received: function (data) {
|
||||
// if (window.location.href.indexOf('backoffice') !== -1) {
|
||||
// $("#notification-alert").html(data['message']);
|
||||
//
|
||||
// slideIn_notification_alert();
|
||||
// }
|
||||
// }
|
||||
//});
|
||||
|
||||
function slideIn_notification_alert (){
|
||||
$("#notification-alert").animate({
|
||||
right: '20px'
|
||||
}, 250);
|
||||
|
||||
setTimeout(slideOut_notification_alert, 3500);
|
||||
}
|
||||
|
||||
function slideOut_notification_alert (){
|
||||
$("#notification-alert").animate({
|
||||
right: '-250px'
|
||||
}, 200);
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
#notification-alert.alert.alert-success
|
|
@ -54,7 +54,6 @@
|
|||
%i.fa.fa-times{ style: 'position: fixed; top: 10; right: 30; color: white;' }
|
||||
|
||||
= render partial: 'layouts/switch_devise_profile_module'
|
||||
= render partial: 'layouts/notifications_alert'
|
||||
|
||||
= render partial: 'layouts/footer', locals: { main_container_size: main_container_size }
|
||||
= render partial: 'layouts/google_analytics'
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
= yield
|
||||
|
||||
= render :partial => "layouts/switch_devise_profile_module"
|
||||
= render :partial => "layouts/notifications_alert"
|
||||
|
||||
= render partial: "layouts/new_footer"
|
||||
= render partial: "layouts/google_analytics"
|
||||
|
|
Loading…
Reference in a new issue