mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-13 13:11:31 +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;
|
z-index: 999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.splash {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
.nav-tabs > li {
|
.nav-tabs > li {
|
||||||
float:none;
|
float:none;
|
||||||
|
|
|
@ -732,5 +732,18 @@ $(document).ready(function() {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
e.preventDefault();
|
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