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 (!n || !nb) return;
if (msg == "") msg = " ";
nb.innerHTML = msg; nb.innerHTML = msg;
if (msg.length == 0) { /* if (msg.length == 0) {
n.style.display = "none"; n.style.display = "none";
} else { } else {
n.style.display = "block"; n.style.display = "block";
} } */
} }
@ -74,13 +76,15 @@ function notify(msg) {
if (!n || !nb) return; if (!n || !nb) return;
if (msg == "") msg = " ";
nb.innerHTML = msg; nb.innerHTML = msg;
if (msg.length == 0) { /* if (msg.length == 0) {
n.style.display = "none"; n.style.display = "none";
} else { } else {
n.style.display = "block"; 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:docbase="/naboo/home/fox/public_html/testbox/tt-rss/images"
sodipodi:docname="ttrss_logo.svg" sodipodi:docname="ttrss_logo.svg"
inkscape:export-filename="/naboo/home/fox/public_html/testbox/tt-rss/images/ttrss_logo.png" inkscape:export-filename="/naboo/home/fox/public_html/testbox/tt-rss/images/ttrss_logo.png"
inkscape:export-xdpi="150.00000" inkscape:export-xdpi="139.35001"
inkscape:export-ydpi="150.00000"> inkscape:export-ydpi="139.35001">
<defs <defs
id="defs4"> id="defs4">
<linearGradient <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"> <table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
<? if (DISPLAY_HEADER) { ?> <? if (DISPLAY_HEADER) { ?>
<tr> <tr>
<td class="header" valign="middle"> <td colspan="2">
<img src="images/ttrss_logo.png" alt="logo"> <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> </td>
</tr> </tr>
<? } ?> <? } ?>
<tr> <tr>
<td class="prefsToolbar" valign="middle"> <td class="prefsToolbar" valign="middle" align="right">
<input type="submit" onclick="gotoMain()" class="button" value="Return to main">
<table width='100%' cellspacing='0' cellpadding='0'> </td>
<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>
</tr> </tr>
</tr> </tr>
<td id="prefContent" class="prefContent" valign="top"> <td id="prefContent" class="prefContent" valign="top">

View File

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

View File

@ -31,11 +31,18 @@
<body onload="init()"> <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) { ?> <? if (DISPLAY_HEADER) { ?>
<tr> <tr>
<td class="header" valign="middle" colspan="2"> <td colspan="2">
<img src="images/ttrss_logo.png" alt="logo"> <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> </td>
</tr> </tr>
<? } ?> <? } ?>
@ -43,7 +50,7 @@
<td class="mainToolbar" colspan="2"> <td class="mainToolbar" colspan="2">
<table width='100%' cellspacing='0' cellpadding='0'> <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'> <td align='right'>
<input type="submit" onclick="gotoPreferences()" <input type="submit" onclick="gotoPreferences()"
class="button" value="Preferences"></td> class="button" value="Preferences"></td>