summaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-08-10 17:10:21 +0200
committergerv%gerv.net <>2002-08-10 17:10:21 +0200
commit7ecd25e872a3158bfbb210c2db48b21b80a003e7 (patch)
treea92b9e3b518449a6515c7983afca272b73283d2a /template
parentf35caa4adb4ae31c5ff7611194b00ebec5ff66aa (diff)
downloadbugzilla-7ecd25e872a3158bfbb210c2db48b21b80a003e7.tar.gz
bugzilla-7ecd25e872a3158bfbb210c2db48b21b80a003e7.tar.xz
Bug 109008 - Footer on create attachment page looks wrong. Patch by bbaetz; r=gerv.
Diffstat (limited to 'template')
-rw-r--r--template/en/default/attachment/create.html.tmpl15
-rw-r--r--template/en/default/attachment/edit.html.tmpl10
-rw-r--r--template/en/default/attachment/show-multiple.html.tmpl8
3 files changed, 19 insertions, 14 deletions
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl
index 86d418525..a80708ee3 100644
--- a/template/en/default/attachment/create.html.tmpl
+++ b/template/en/default/attachment/create.html.tmpl
@@ -29,8 +29,17 @@
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>
diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl
index d09a37902..5d01d2898 100644
--- a/template/en/default/attachment/edit.html.tmpl
+++ b/template/en/default/attachment/edit.html.tmpl
@@ -29,11 +29,9 @@
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; }
"
%]
@@ -147,7 +145,7 @@
<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%">
diff --git a/template/en/default/attachment/show-multiple.html.tmpl b/template/en/default/attachment/show-multiple.html.tmpl
index 6d192ad89..5e12f622e 100644
--- a/template/en/default/attachment/show-multiple.html.tmpl
+++ b/template/en/default/attachment/show-multiple.html.tmpl
@@ -25,10 +25,8 @@
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>