$doctype
+<html lang="$stylevar[lang]" xml:lang="$stylevar[lang]">
+<head>
$headinclude
+ <title>Bug Report $bug[bugid] - $bug[summary]</title>
$header
-<form name="bugreport" action="editreport.php" method="post">
+<form name="bugreport" action="editreport.php" method="post" class="form">
<input type="hidden" name="do" value="update" />
<input type="hidden" name="bugid" value="$bug[bugid]" />
<if condition="$show['newreply']">New Reply</if>
<if condition="$show['edit']"><div<if condition="$show['newreply']"> style="margin-top: 15px"</if>>Automatic Action: <select name="autoaction">$select[autoaction]</select></div></if>
+
+ <br />
+ <br />
+
+ <div>[<a href="showhistory.php?bugid=$bug[bugid]">Show Bug History</a>]</div>
+ <if condition="$bugsys->userinfo['userid']"><div>[<a href="favourite.php?do=handle&bugid=$bug[bugid]">$favouritetext</a>]</div></if>
</td>
<if condition="$show['newreply']"><td class="tdata" colspan="2"><textarea name="comment" cols="50" rows="10" style="width: 100%"></textarea></td></if>
</tr>
<!-- / submit row -->
</table>
-<div>[<a href="showhistory.php?bugid=$bug[bugid]">Show Bug History</a>]<if condition="$bugsys->userinfo['userid']"> [<a href="favourite.php?do=handle&bugid=$bug[bugid]">$favouritetext</a>]</div>
+</form>
<br />
-<if condition="$show['getattachments'] OR $show['putattachments']">
-<table border="1" cellspacing="2" cellpadding="4">
-<thead style="background-color: #EEEEEE">
- <tr>
- <td>Attachments</td>
- </tr>
-</thead>
-<tbody>
+<!-- attachments & voting -->
+<table width="100%" cellspasing="$stylevar[spacing_border]" cellpadding="$stylevar[padding]" border="$stylevar[border]" class="tborder">
+<tr>
+ <if condition="$show['attachments']"><td class="thead" style="width: 50%">Attachments <if condition="$show['putattachments']">[<a href="attachment.php?do=add&bugid=$bug[bugid]">New</a>]</if></td></if>
+ <td class="thead" colspan="2">Votes</td>
+</tr>
+<tr valign="top">
+ <!-- attachments -->
+ <td class="tmiddle">
+ <if condition="$show['attachments']">
$attachments
-<if condition="$show['putattachments']">
- <tr>
- <td style="background-color: #999999">[<a href="attachment.php?do=add&bugid=$bug[bugid]">Add New Attachment</a>]</td>
- </tr>
-</if>
-</tbody>
-</table>
-
-<br />
-</if>
-
-<table border="1" cellspacing="2" cellpadding="4">
-<thead style="background-color: #EEEEEE">
- <tr>
- <td>Votes for this Bug</td>
- </tr>
-</thead>
-<tbody>
- <tr>
- <td>
- <strong>Votes for this Bug:</strong> $vote[votefor] ($vote[forpercent]%)<br />
- <strong>Votes against this bug:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
- <strong>Total Votes:</strong> $vote[total]
- </td>
- </tr>
+ </if>
+ </td>
+ <!-- / attachments -->
-<if condition="$show['vote']">
- <tr>
- <td>
- <form name="vote" action="vote.php" method="post">
+ <!-- voting -->
+ <td class="tmiddle">
+ <strong>For:</strong> $vote[votefor] ($vote[forpercent]%)<br />
+ <strong>Against:</strong> $vote[voteagainst] ($vote[againstpercent]%)<br />
+ <strong>Total:</strong> $vote[total]
+ </td>
+ <td class="tmiddle">
+ <strong>Your Vote</strong><br />
+ <form name="vote" action="vote.php" method="post" class="form">
<input type="hidden" name="do" value="vote" />
<input type="hidden" name="bugid" value="$bug[bugid]" />
+ <input type="radio" name="vote" value="1" /> Vote For (+1)<br />
+ <input type="radio" name="vote" value="-1" /> Vote Against (-1)<br />
- <input type="radio" name="vote" value="1" /> Vote For (+1)<br />
- <input type="radio" name="vote" value="-1" /> Vote Against (-1)<br />
- <input type="submit" name="submit" value="Vote" />
-
- </form>
- </td>
- </tr>
-</if>
-</tbody>
+ <input type="submit" name="submit" value="Vote" accesskey="v" />
+ </form>
+ </td>
+ <!-- / voting -->
+</tr>
</table>
+<!-- / attachments & voting -->
<br />
$comments
-<if condition="$show['newreply']"><div>[<a href="newcomment.php?bugid=$bug[bugid]">New Comment</a>]</div></if>
-
$footer
\ No newline at end of file
background-color: rgb(102, 102, 102);
}
+a
+{
+ color: rgb(0, 0, 0);
+ text-decoration: underline;
+}
+
+ a:hover, .tlabel a:hover
+ {
+ color: /*rgb(0, 51, 64)*/ rgb(64, 102, 112);
+ }
+
.error
{
color: rgb(255, 0, 0);
#tabbar .tab:hover
{
- background-color: rgb(255, 255, 255);
+ background-color: rgb(191, 204, 207);
text-decoration: underline;
}
border-bottom: none;
padding-bottom: 5px;
font-weight: bold;
+ color: rgb(0, 51, 64);
}
#content
padding-left: 4px;
}
+ .tlabel a
+ {
+ color: rgb(255, 255, 255);
+ }
+
.tdata
{
width: 35%;
font-weight: bold;
}
+.thead
+{
+ font-weight: bold;
+ background-color: rgb(51, 51, 51);
+ color: rgb(255, 255, 255);
+ padding-left: 4px;
+}
+
+ .thead a
+ {
+ color: rgb(255, 255, 255);
+ text-decoration: none;
+ }
+
+ .thead a:hover
+ {
+ text-decoration: underline;
+ }
+
+.tmiddle
+{
+ background-color: rgb(255, 255, 255);
+}
+
+.form
+{
+ display: inline;
+}
+
#copyright
{
text-align: center;