]> git.wh0rd.org Git - tt-rss.git/commitdiff
move notify box, make it more visible
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 16 Oct 2005 14:10:14 +0000 (15:10 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 16 Oct 2005 14:10:14 +0000 (15:10 +0100)
functions.js
images/ttrss_logo.png
images/ttrss_logo.svg
prefs.php
tt-rss.css
tt-rss.php

index cc8a5fbdf6b619df0d6ac315739671a5b4bdfd42..d79490a416aedb56ff08896fd0fde90311a097bc 100644 (file)
@@ -57,13 +57,15 @@ function p_notify(msg) {
 
        if (!n || !nb) return;
 
+       if (msg == "") msg = "&nbsp;";
+
        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 = "&nbsp;";
+
        nb.innerHTML = msg;
 
-       if (msg.length == 0) {
+/*     if (msg.length == 0) {
                n.style.display = "none";
        } else {
                n.style.display = "block";
-       }
+       } */
 
 }
 
index e52780f20f1ac94e3e083c80539ff624ed3e9191..02e566d61d01da1a606b3ede6408583efa6cb952 100644 (file)
Binary files a/images/ttrss_logo.png and b/images/ttrss_logo.png differ
index e8bfd1d8546856045a1bdf121535c597b7b442b1..e8aed3abd6096bf24f21b76cac07b8fc4c836a24 100644 (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
index 375612f446f37c7b61ed8a99adc444e70dac28fe..17b93f47a1d8ec740230a591ef3db2ec0b8e8a22 100644 (file)
--- a/prefs.php
+++ b/prefs.php
 <table width="100%" height="100%" cellspacing="0" cellpadding="0" class="main">
 <? if (DISPLAY_HEADER) { ?>
 <tr>
-       <td class="header" valign="middle">     
-               <img src="images/ttrss_logo.png" alt="logo">    
+       <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">
index 5e87a353c87ceba5495029e54669a4e9c74af95c..388b2e44beff19f070d0879250c8446d5e2b6105 100644 (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 {
index 96261bb665402a87c728eac6261d919c5a55788d..7dbe9223684aaef8e032b44c4c3b668af28840d1 100644 (file)
 
 <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"> 
-               <img src="images/ttrss_logo.png" alt="logo">    
+       <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>
 <? } ?>
@@ -43,7 +50,7 @@
        <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>