]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 109008 - Footer on create attachment page looks wrong. Patch by bbaetz; r=gerv.
authorgerv%gerv.net <>
Sat, 10 Aug 2002 15:10:21 +0000 (15:10 +0000)
committergerv%gerv.net <>
Sat, 10 Aug 2002 15:10:21 +0000 (15:10 +0000)
template/en/default/attachment/create.html.tmpl
template/en/default/attachment/edit.html.tmpl
template/en/default/attachment/show-multiple.html.tmpl

index 86d4185255028dbe5d23337997221f734bd95395..a80708ee3ebc6282c50ae6d9fcdd92e22d4c70de 100644 (file)
   h1 = h1
   h2 = h2
   style = "
-    th { text-align: right; vertical-align: baseline; white-space: nowrap; }
-    td { text-align: left; vertical-align: baseline; padding-bottom: 5px; }
+    table.attachment_entry th {
+      text-align: right;
+      vertical-align: baseline;
+      white-space: nowrap;
+    }
+
+    table.attachment_entry td {
+      text-align: left;
+      vertical-align: baseline;
+      padding-bottom: 5px;
+    }
   "
   onload="setContentTypeDisabledState();"
 %]
@@ -39,7 +48,7 @@
   <input type="hidden" name="bugid" value="[% bugid %]">
   <input type="hidden" name="action" value="insert">
    
-  <table>
+  <table class="attachment_entry">
     <tr>
       <th>File:</th>
       <td>
index d09a37902a3cc0801d57a3d59401c43d9813e325..5d01d28981323819ad58cd22f3b6f8f84b6f8278 100644 (file)
   h1 = h1
   h2 = h2
   style = "
-    th { text-align: right; vertical-align: top; }
-    td { text-align: left; vertical-align: top; }
-    td#info { text-align: right; vertical-align: top; }
-    td#actions { text-align: right; vertical-align: bottom; }
-    td#noview { text-align: left; vertical-align: center; }
+    table.attachment_info th { text-align: right; vertical-align: top; }
+    table.attachment_info td { text-align: left; vertical-align: top; }
+    #noview { text-align: left; vertical-align: center; }
   "
 %]
 
   <input type="hidden" name="action" value="update">
   <input type="hidden" name="contenttypemethod" value="manual">
 
-  <table width="100%">
+  <table class="attachment_info" width="100%">
 
     <tr>
       <td width="25%">
index 6d192ad89706096f1bc068b0005ef515aebf2ff4..5e12f622ed30316ffea295b77b2c6826890bace5 100644 (file)
   h1 = "View All Attachments for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>"
   h2 = filtered_summary
   style = "
-    th { text-align: right; vertical-align: top; }
-    td { text-align: left; vertical-align: top; }
-    td#info { text-align: right; vertical-align: top; }
-    td#actions { text-align: right; vertical-align: bottom; }
+    table.attachment_info th { text-align: right; vertical-align: top; }
+    table.attachment_info td { text-align: left; vertical-align: top; }
   "
 %]
 
@@ -37,7 +35,7 @@
 [% FOREACH a = attachments %]
 
   <div align="center">
-  <table cellspacing="0" cellpadding="4" border="1" width="75%">
+  <table class="attachment_info" cellspacing="0" cellpadding="4" border="1" width="75%">
     <tr>
       <td valign="top" bgcolor="#cccccc" colspan="5">
         <big><b>Attachment #[% a.attachid %]</b></big>