move notify box, make it more visible

This commit is contained in:
Andrew Dolgov 2005-10-16 15:10:14 +01:00
parent 14ba5dccff
commit 828a8ecc9a
6 changed files with 41 additions and 24 deletions

View File

@ -57,13 +57,15 @@ function p_notify(msg) {
if (!n || !nb) return;
if (msg == "") msg = " ";
nb.innerHTML = msg;
if (msg.length == 0) {
/* if (msg.length == 0) {
n.style.display = "none";
} else {
n.style.display = "block";
}
} */
}
@ -74,13 +76,15 @@ function notify(msg) {
if (!n || !nb) return;
if (msg == "") msg = " ";
nb.innerHTML = msg;
if (msg.length == 0) {
/* if (msg.length == 0) {
n.style.display = "none";
} else {
n.style.display = "block";
}
} */
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 8.4 KiB

View File

@ -16,8 +16,8 @@
sodipodi:docbase="/naboo/home/fox/public_html/testbox/tt-rss/images"
sodipodi:docname="ttrss_logo.svg"
inkscape:export-filename="/naboo/home/fox/public_html/testbox/tt-rss/images/ttrss_logo.png"
inkscape:export-xdpi="150.00000"
inkscape:export-ydpi="150.00000">
inkscape:export-xdpi="139.35001"
inkscape:export-ydpi="139.35001">
<defs
id="defs4">
<linearGradient

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -18,20 +18,22 @@
<table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
<? if (DISPLAY_HEADER) { ?>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0" width="100%"><tr>
<td class="header" valign="middle">
<img src="images/ttrss_logo.png" alt="logo">
</td>
<td align="right" valign="top">
<div id="notify"><span id="notify_body"></div>
</td>
</tr></table>
</td>
</tr>
<? } ?>
<tr>
<td class="prefsToolbar" valign="middle">
<table width='100%' cellspacing='0' cellpadding='0'>
<td><span id="notify"><span id="notify_body"></span></td>
<td align='right'>
<input type="submit" onclick="gotoMain()"
class="button" value="Return to main"></td>
</table>
<td class="prefsToolbar" valign="middle" align="right">
<input type="submit" onclick="gotoMain()" class="button" value="Return to main">
</td>
</tr>
</tr>
<td id="prefContent" class="prefContent" valign="top">

View File

@ -10,7 +10,7 @@ body {
table.main td.header {
padding : 10px 10px 10px 50px;
height : 80px;
height : 70px;
font-size : 24pt;
font-weight : bold;
background-image : url("images/vgrad_light_rev2.png");
@ -210,11 +210,15 @@ a:hover {
}
#notify {
font-weight : bold;
font-size : 10pt;
display : none;
width : 350px;
text-align : right;
color : gray;
border-style : solid;
border-width : 0px 0px 1px 1px;
border-color : #c0c0c0;
background-color : white;
padding : 3px;
width : 350px;
}
#dispSwitch {

View File

@ -31,19 +31,26 @@
<body onload="init()">
<table width="100%" height="100%" cellspacing=0 cellpadding=0 class="main">
<table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
<? if (DISPLAY_HEADER) { ?>
<tr>
<td class="header" valign="middle" colspan="2">
<td colspan="2">
<table cellspacing="0" cellpadding="0" width="100%"><tr>
<td class="header" valign="middle">
<img src="images/ttrss_logo.png" alt="logo">
</td>
<td align="right" valign="top">
<div id="notify"><span id="notify_body"></div>
</td>
</tr></table>
</td>
</tr>
<? } ?>
<tr>
<td class="mainToolbar" colspan="2">
<table width='100%' cellspacing='0' cellpadding='0'>
<td><span id="notify"><span id="notify_body"></span></td>
<td><!-- <span id="notify"><span id="notify_body"></span> --></td>
<td align='right'>
<input type="submit" onclick="gotoPreferences()"
class="button" value="Preferences"></td>