]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Fix for bug 245924: updates Bugzilla footer to take advantage of HTML4 and CSS format...
authormyk%mozilla.org <>
Wed, 23 Jun 2004 04:07:38 +0000 (04:07 +0000)
committermyk%mozilla.org <>
Wed, 23 Jun 2004 04:07:38 +0000 (04:07 +0000)
Patch by Vitaly Harisov.
r=myk
a=myk

css/global.css
skins/standard/global.css
template/en/default/global/banner.html.tmpl
template/en/default/global/footer.html.tmpl
template/en/default/global/useful-links.html.tmpl
template/en/default/search/search-specific.html.tmpl

index 7f725603d308db591892657985d8b3cb04a76647..7cbda7b0a49e8caeab3d7dccb705ac26346f37e2 100644 (file)
@@ -17,6 +17,8 @@
   *
   * Contributor(s): Byron Jones <bugzilla@glob.com.au>
   *                 Christian Reis <kiko@async.com.br>
+  *                 Vitaly Harisov <vitaly@rathedg.com>
+  *                 Svetlana Harisova <light@rathedg.com>
   */
 
 /* banner (begin) */
     }
 /* banner (end) */
 
+/* footer (begin) */
+    #footer
+    {
+        float: left;
+    }
+
+    #footer form
+    {
+        background: #FFFFE0;
+        border: 1px solid #000;
+    }
+
+    #footer span
+    {
+        display: block;
+    }
+
+    #footer .btn, #footer .txt
+    {
+        font-size: 0.8em;
+    }
+
+    #footer #useful-links
+    {
+        padding: 0.3em;
+    }
+
+    /* hide from MSIE and NN4 */
+    [id]#footer #useful-links
+    {
+        margin: 0.3em;
+        display: table;
+    }
+
+    #footer .group
+    {
+        display: table-row;
+    }
+
+    #footer #link-action,
+    #footer #link-edit,
+    #footer #link-saved
+    {
+        width: 7.2em;
+        display: block;
+        float: left;
+
+        vertical-align: baseline;
+
+        padding: 0.1em 0.2em;
+    }
+
+    #footer #link-action
+    {
+        padding-top: 0.45em;
+    }
+
+    /* hide from MSIE and NN4 */
+    [id]#footer #link-action,
+    [id]#footer #link-edit,
+    [id]#footer #link-saved
+    {
+        display: table-cell;
+        float: none;
+        width: auto;
+
+        padding-top: 0;
+    }
+
+    #footer .links
+    {
+        display: block;
+
+        padding: 0.1em 0.2em;
+    }
+
+    /* hide from MSIE and NN4 */
+    [id]#footer .links
+    {
+        display: table-cell;
+
+        padding-top: 0;
+        
+        vertical-align: baseline;
+    }
+
+    /* hide from MSIE and NN4 */
+    #footer+*
+    {
+        clear: both;
+    }
+/* footer (end) */
+
 .bz_obsolete { text-decoration: line-through; }
 .bz_inactive { text-decoration: line-through; }
 .bz_closed { text-decoration: line-through; }
index 7f725603d308db591892657985d8b3cb04a76647..7cbda7b0a49e8caeab3d7dccb705ac26346f37e2 100644 (file)
@@ -17,6 +17,8 @@
   *
   * Contributor(s): Byron Jones <bugzilla@glob.com.au>
   *                 Christian Reis <kiko@async.com.br>
+  *                 Vitaly Harisov <vitaly@rathedg.com>
+  *                 Svetlana Harisova <light@rathedg.com>
   */
 
 /* banner (begin) */
     }
 /* banner (end) */
 
+/* footer (begin) */
+    #footer
+    {
+        float: left;
+    }
+
+    #footer form
+    {
+        background: #FFFFE0;
+        border: 1px solid #000;
+    }
+
+    #footer span
+    {
+        display: block;
+    }
+
+    #footer .btn, #footer .txt
+    {
+        font-size: 0.8em;
+    }
+
+    #footer #useful-links
+    {
+        padding: 0.3em;
+    }
+
+    /* hide from MSIE and NN4 */
+    [id]#footer #useful-links
+    {
+        margin: 0.3em;
+        display: table;
+    }
+
+    #footer .group
+    {
+        display: table-row;
+    }
+
+    #footer #link-action,
+    #footer #link-edit,
+    #footer #link-saved
+    {
+        width: 7.2em;
+        display: block;
+        float: left;
+
+        vertical-align: baseline;
+
+        padding: 0.1em 0.2em;
+    }
+
+    #footer #link-action
+    {
+        padding-top: 0.45em;
+    }
+
+    /* hide from MSIE and NN4 */
+    [id]#footer #link-action,
+    [id]#footer #link-edit,
+    [id]#footer #link-saved
+    {
+        display: table-cell;
+        float: none;
+        width: auto;
+
+        padding-top: 0;
+    }
+
+    #footer .links
+    {
+        display: block;
+
+        padding: 0.1em 0.2em;
+    }
+
+    /* hide from MSIE and NN4 */
+    [id]#footer .links
+    {
+        display: table-cell;
+
+        padding-top: 0;
+        
+        vertical-align: baseline;
+    }
+
+    /* hide from MSIE and NN4 */
+    #footer+*
+    {
+        clear: both;
+    }
+/* footer (end) */
+
 .bz_obsolete { text-decoration: line-through; }
 .bz_inactive { text-decoration: line-through; }
 .bz_closed { text-decoration: line-through; }
index 95a7605b9532496fe6458fe5ae985b63478fd7ba..42ccce1aafa33160d08e64aa758e625df31bc147 100644 (file)
@@ -18,6 +18,7 @@
   #
   # Contributor(s): Gervase Markham <gerv@gerv.net>
   #                 Matthew Tuck <matty@chariot.net.au>
+  #                 Vitaly Harisov  <vitaly@rathedg.com>
   #%]
 
 [%# Migration note: this file corresponds to the old Param 'bannerhtml' %]
index 4bde601d8fbee226f039e326578ad67fb7b8bd24..fc10166213074d93803ab5c13b84bb3e39ef4d81 100644 (file)
@@ -17,6 +17,7 @@
   # Rights Reserved.
   #
   # Contributor(s): Gervase Markham <gerv@gerv.net>
+  #                 Svetlana Harisova <light@rathedg.com>
   #%]
 
 [%# INTERFACE:
   # 'footerhtml'
   #%]
 
-<table border="0">
-  <tr>
-    <td bgcolor="#000000" valign="top">
-      <table border="0" cellpadding="10" cellspacing="0" width="100%"
-             bgcolor="lightyellow">
-        <tr>
-          <td>
+<div id="footer">
+  <div class="intro"></div>
 
 [%# Migration note: the old param 'blurbhtml' goes here %]
 
 
            [% PROCESS "global/useful-links.html.tmpl" %]
 
-          </td>
-        </tr>
-      </table>
-    </td>
-  </tr>
-</table>
+  <div class="outro"></div>
+</div>
+
 </body>
 </html>
index d238a42538fb272b622c53c36667cbe8b679a776..8e208927c5c3ef55a40c5249d11732f571723ca4 100644 (file)
@@ -17,6 +17,7 @@
   # Rights Reserved.
   #
   # Contributor(s): Gervase Markham <gerv@gerv.net>
+  #                 Svetlana Harisova <light@rathedg.com>
   #%]
 
 [%# Migration note: this whole file corresponds to the old %commandmenu% 
 [% PROCESS global/variables.none.tmpl %]
 
 <form method="get" action="show_bug.cgi">
-  <table width="100%" cellspacing="4">
-    <tr>
-      <td>
-        Actions:
-      </td>
-      
-      <td valign="middle">
+<div id="useful-links">
+  <div class="group">
+    <div id="link-action">Actions:</div>
+    <div class="links">
         <a href="enter_bug.cgi">New</a> | 
         <a href="query.cgi">Search</a> |
         
-        <input type="submit" value="Find"> [% terms.bug %] # 
-        <input name="id" size="6"> | 
+        <input class="btn" type="submit" value="Find"> [% terms.bug %] # 
+        <input class="txt" name="id" size="6"> | 
         
         <a href="report.cgi">Reports</a> 
         
             [% END %]
             | <a href="query.cgi?GoAheadAndLogIn=1">Log&nbsp;In</a>
         [% END %]
-      </td>
-    </tr>
+    </div>
+  </div>
       
     [% IF user.login %] 
-    <tr>
-      <td>
-        Edit:
-      </td>
-      <td valign="middle">
+  <div class="group">
+    <div id="link-edit">Edit:</div>
+    <div class="links">
+
         <a href="userprefs.cgi">Prefs</a>
         [% ' | <a href="editparams.cgi">Parameters</a>' 
                                                   IF user.groups.tweakparams %]
                                                  IF user.groups.creategroups %]
         [% ' | <a href="editkeywords.cgi">Keywords</a>' 
                                                  IF user.groups.editkeywords %]
-      </td>
-    </tr> 
+    </div>
+  </div>
     [% END %]
     
 
     [%# Saved searches %]
     
-    <tr>
+  <div class="group">
+    <div id="link-saved">
       [% IF user.showmybugslink OR user.queries.size %]
-        <td>
           Saved&nbsp;Searches:
-        </td>
       [% END %]
-      
-      <td valign="middle">
+    </div>
+    <div class="links">
         [% IF user.showmybugslink %]
           [% filtered_username = user.login FILTER url_quote %]
           <a href="[% Param('mybugstemplate').replace('%userid%', filtered_username) %]">My&nbsp;[% terms.Bugs %]</a>
             [% print_pipe = 1 %]
           [% END %]
         [% END %]
-      </td>
-    </tr>
-    
-  </table>
+    </div>
+  </div>
+</div>
 </form>
index 345483320c7c2bfeb42f075047c28c8d8afc0687..ca3dae67b480ffa9f74ffb053bfb9d797f081b05 100644 (file)
@@ -101,7 +101,8 @@ for "crash secure SSL flash".
     <td>
       <input type="submit" value="Search">
     </td>
-
+  </tr>
+</table>
 </form>
 
 [% PROCESS global/footer.html.tmpl %]