summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-05-17 11:29:46 +0100
committerAndrew Dolgov <[email protected]>2006-05-17 11:29:46 +0100
commit7e3e8f744bca7329468933477f7de998a55f475e (patch)
tree95e4841e48965657620d1a2b34c3c5efff43cd5a
parent08125733f855099969434d2fa961830db1613029 (diff)
rework no-daemon warning
-rw-r--r--tt-rss.css9
-rw-r--r--tt-rss.php5
2 files changed, 12 insertions, 2 deletions
diff --git a/tt-rss.css b/tt-rss.css
index 40c7ebe5e..67feb6ef4 100644
--- a/tt-rss.css
+++ b/tt-rss.css
@@ -1092,3 +1092,12 @@ a.cdmToggleLink:hover {
padding : 10px;
font-weight : normal;
}
+
+div.noDaemonWarning {
+ position : absolute;
+ background-color : #ecf4ff;
+ border : 1px solid #88b0f0;
+ padding : 10px;
+ margin : 5px;
+ z-index : 2;
+}
diff --git a/tt-rss.php b/tt-rss.php
index 90fbbb70d..4828e2a4d 100644
--- a/tt-rss.php
+++ b/tt-rss.php
@@ -75,7 +75,7 @@ window.onload = init;
</script>
<? if (ENABLE_UPDATE_DAEMON && !file_is_locked("update_daemon.lock")) { ?>
- <div class="warning">
+ <div class="noDaemonWarning">
<b>Warning:</b> Update daemon is enabled in configuration, but daemon
process is not running, which prevents all feeds from updating. Please
start the daemon process or contact instance owner.
@@ -265,7 +265,8 @@ window.onload = init;
</tr><tr>
<td class="content" id="content" valign="top">
<iframe frameborder="0" name="content-frame"
- id="content-frame" class="contentFrame"> </iframe>
+ id="content-frame" class="contentFrame"
+ src="backend.php?op=error&msg=No%20article%20selected."> </iframe>
</td>
</tr>
<? } ?>