diff --git a/styles/bootstrap/application.css b/styles/bootstrap/application.css index 70c47bb5f..9817043ba 100644 --- a/styles/bootstrap/application.css +++ b/styles/bootstrap/application.css @@ -154,6 +154,10 @@ div.timeline-event-selected { z-index: 999; } +div.splash { + display: none; +} + @media (max-width: 480px) { .nav-tabs > li { float:none; diff --git a/styles/bootstrap/application.js b/styles/bootstrap/application.js index 87af66699..a36a3da2c 100644 --- a/styles/bootstrap/application.js +++ b/styles/bootstrap/application.js @@ -732,5 +732,18 @@ $(document).ready(function() { e.stopPropagation(); e.preventDefault(); }); - + + $('div.splash').each(function(index) { + var element = $(this); + var msgtype = element.data('type'); + var msg = element.text(); + noty({ + text: msg, + type: msgtype, + dismissQueue: true, + layout: 'topRight', + theme: 'defaultTheme', + timeout: 1500, + }); + }); });