]> git.wh0rd.org - tt-rss.git/commitdiff
rework no-daemon warning
authorAndrew Dolgov <fox@bah.spb.su>
Wed, 17 May 2006 10:29:46 +0000 (11:29 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Wed, 17 May 2006 10:29:46 +0000 (11:29 +0100)
tt-rss.css
tt-rss.php

index 40c7ebe5e15297a911b3d0165419f38740679e3a..67feb6ef4d3a29e0e39ca0c135f849cd7c78081e 100644 (file)
@@ -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;
+}
index 90fbbb70db92d3a72603d5d3f0c6052fffef28c9..4828e2a4db1f153b6463050b75ee15c66e091327 100644 (file)
@@ -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>
 <? } ?>