Commit 7ecd25e8 authored by gerv%gerv.net's avatar gerv%gerv.net

Bug 109008 - Footer on create attachment page looks wrong. Patch by bbaetz; r=gerv.

parent f35caa4a
...@@ -29,8 +29,17 @@ ...@@ -29,8 +29,17 @@
h1 = h1 h1 = h1
h2 = h2 h2 = h2
style = " style = "
th { text-align: right; vertical-align: baseline; white-space: nowrap; } table.attachment_entry th {
td { text-align: left; vertical-align: baseline; padding-bottom: 5px; } text-align: right;
vertical-align: baseline;
white-space: nowrap;
}
table.attachment_entry td {
text-align: left;
vertical-align: baseline;
padding-bottom: 5px;
}
" "
onload="setContentTypeDisabledState();" onload="setContentTypeDisabledState();"
%] %]
...@@ -39,7 +48,7 @@ ...@@ -39,7 +48,7 @@
<input type="hidden" name="bugid" value="[% bugid %]"> <input type="hidden" name="bugid" value="[% bugid %]">
<input type="hidden" name="action" value="insert"> <input type="hidden" name="action" value="insert">
<table> <table class="attachment_entry">
<tr> <tr>
<th>File:</th> <th>File:</th>
<td> <td>
......
...@@ -29,11 +29,9 @@ ...@@ -29,11 +29,9 @@
h1 = h1 h1 = h1
h2 = h2 h2 = h2
style = " style = "
th { text-align: right; vertical-align: top; } table.attachment_info th { text-align: right; vertical-align: top; }
td { text-align: left; vertical-align: top; } table.attachment_info td { text-align: left; vertical-align: top; }
td#info { text-align: right; vertical-align: top; } #noview { text-align: left; vertical-align: center; }
td#actions { text-align: right; vertical-align: bottom; }
td#noview { text-align: left; vertical-align: center; }
" "
%] %]
...@@ -147,7 +145,7 @@ ...@@ -147,7 +145,7 @@
<input type="hidden" name="action" value="update"> <input type="hidden" name="action" value="update">
<input type="hidden" name="contenttypemethod" value="manual"> <input type="hidden" name="contenttypemethod" value="manual">
<table width="100%"> <table class="attachment_info" width="100%">
<tr> <tr>
<td width="25%"> <td width="25%">
......
...@@ -25,10 +25,8 @@ ...@@ -25,10 +25,8 @@
h1 = "View All Attachments for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>" h1 = "View All Attachments for <a href=\"show_bug.cgi?id=$bugid\">Bug #$bugid</a>"
h2 = filtered_summary h2 = filtered_summary
style = " style = "
th { text-align: right; vertical-align: top; } table.attachment_info th { text-align: right; vertical-align: top; }
td { text-align: left; vertical-align: top; } table.attachment_info td { text-align: left; vertical-align: top; }
td#info { text-align: right; vertical-align: top; }
td#actions { text-align: right; vertical-align: bottom; }
" "
%] %]
...@@ -37,7 +35,7 @@ ...@@ -37,7 +35,7 @@
[% FOREACH a = attachments %] [% FOREACH a = attachments %]
<div align="center"> <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> <tr>
<td valign="top" bgcolor="#cccccc" colspan="5"> <td valign="top" bgcolor="#cccccc" colspan="5">
<big><b>Attachment #[% a.attachid %]</b></big> <big><b>Attachment #[% a.attachid %]</b></big>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment