rework no-daemon warning

This commit is contained in:
Andrew Dolgov 2006-05-17 11:29:46 +01:00
parent 08125733f8
commit 7e3e8f744b
2 changed files with 12 additions and 2 deletions

View File

@ -1092,3 +1092,12 @@ a.cdmToggleLink:hover {
padding : 10px; padding : 10px;
font-weight : normal; font-weight : normal;
} }
div.noDaemonWarning {
position : absolute;
background-color : #ecf4ff;
border : 1px solid #88b0f0;
padding : 10px;
margin : 5px;
z-index : 2;
}

View File

@ -75,7 +75,7 @@ window.onload = init;
</script> </script>
<? if (ENABLE_UPDATE_DAEMON && !file_is_locked("update_daemon.lock")) { ?> <? 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 <b>Warning:</b> Update daemon is enabled in configuration, but daemon
process is not running, which prevents all feeds from updating. Please process is not running, which prevents all feeds from updating. Please
start the daemon process or contact instance owner. start the daemon process or contact instance owner.
@ -265,7 +265,8 @@ window.onload = init;
</tr><tr> </tr><tr>
<td class="content" id="content" valign="top"> <td class="content" id="content" valign="top">
<iframe frameborder="0" name="content-frame" <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> </td>
</tr> </tr>
<? } ?> <? } ?>