mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 16:01:29 +00:00
loading splash screen
This commit is contained in:
@@ -65,6 +65,8 @@
|
||||
// display actions dropbox in feedlist, if disabled these actions are
|
||||
// available in the global actions dropbox
|
||||
|
||||
define(ENABLE_SPLASH, true);
|
||||
// enable splashscreen on loading
|
||||
|
||||
?>
|
||||
|
||||
|
||||
16
tt-rss.css
16
tt-rss.css
@@ -503,3 +503,19 @@ div.bigErrorMsg {
|
||||
padding : 30px;
|
||||
margin : 20px;
|
||||
}
|
||||
|
||||
#splash {
|
||||
z-index : 3;
|
||||
width : 100%;
|
||||
height : 100%;
|
||||
position : absolute;
|
||||
text-align : center;
|
||||
background-image : url("images/vgrad_light_rev.png");
|
||||
background-color : white;
|
||||
background-position : top left;
|
||||
background-repeat : repeat-x;
|
||||
}
|
||||
|
||||
td.innerSplash {
|
||||
margin : 35px;
|
||||
}
|
||||
|
||||
@@ -390,6 +390,11 @@ function init_second_stage() {
|
||||
setTimeout("timeout()", 2*1000);
|
||||
// scheduleFeedUpdate(true);
|
||||
|
||||
var splash = document.getElementById("splash");
|
||||
|
||||
if (splash) {
|
||||
splash.style.display = "none";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
10
tt-rss.php
10
tt-rss.php
@@ -31,6 +31,16 @@
|
||||
|
||||
<body onload="init()">
|
||||
|
||||
<? if (ENABLE_SPLASH) { ?>
|
||||
<div id="splash">
|
||||
<table width='100%' height='100%'><tr>
|
||||
<td class="innerSplash" valign="middle" align="center">
|
||||
<img src="images/ttrss_logo.png" alt="logo">
|
||||
<p>Loading, please wait...</p>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
<? } ?>
|
||||
|
||||
<table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
|
||||
<? if (DISPLAY_HEADER) { ?>
|
||||
<tr>
|
||||
|
||||
Reference in New Issue
Block a user