mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
div.splash will be used as splash message
make it hidden on the page
This commit is contained in:
parent
238eed8810
commit
01aac2c23c
|
@ -154,6 +154,10 @@ div.timeline-event-selected {
|
|||
z-index: 999;
|
||||
}
|
||||
|
||||
div.splash {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.nav-tabs > li {
|
||||
float:none;
|
||||
|
|
|
@ -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,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user