summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--feedlist.js7
-rw-r--r--tt-rss.css16
-rw-r--r--tt-rss.php2
3 files changed, 25 insertions, 0 deletions
diff --git a/feedlist.js b/feedlist.js
index 8f9898ac7..1be1020c6 100644
--- a/feedlist.js
+++ b/feedlist.js
@@ -227,6 +227,13 @@ function init() {
hideOrShowFeeds(document, getCookie("ttrss_vf_hreadf") == 1);
document.onkeydown = hotkey_handler;
parent.setTimeout("timeout()", 0);
+
+ var o = parent.document.getElementById("overlay");
+
+ if (o) {
+ o.style.display = "none";
+ }
+
} catch (e) {
exception_error("feedlist/init", e);
}
diff --git a/tt-rss.css b/tt-rss.css
index ed320a0c2..aefc66be3 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -1015,3 +1015,19 @@ div.cdmContent a:hover {
padding : 0px;
font-size : x-small;
}
+
+#overlay {
+ background : white;
+ left : 0;
+ top : 0;
+ height : 100%;
+ width : 100%;
+ z-index : 100;
+ position : absolute;
+}
+
+#overlay_inner {
+ font-weight : bold;
+ text-align : center;
+ margin : 10px;
+}
diff --git a/tt-rss.php b/tt-rss.php
index e22d8408a..68ab5268c 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -59,6 +59,8 @@
<body>
+<div id="overlay"><div id="overlay_inner">Loading, please wait...</div></div>
+
<script type="text/javascript">
if (document.addEventListener) {
document.addEventListener("DOMContentLoaded", init, null);