[Rt-commit] r3453 - in rt/branches/3.5-TESTING: . html/NoAuth/css
html/Ticket/Elements
trs at bestpractical.com
trs at bestpractical.com
Sat Jul 9 14:52:42 EDT 2005
Author: trs
Date: Sat Jul 9 14:52:41 2005
New Revision: 3453
Modified:
rt/branches/3.5-TESTING/ (props changed)
rt/branches/3.5-TESTING/html/NoAuth/css/transactions.css
rt/branches/3.5-TESTING/html/Ticket/Elements/ShowHistory
rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTransaction
Log:
r4964 at wintermute: tom | 2005-07-09 14:38:55 -0400
A nicer looking history display, lots of cosmetic changes.
Modified: rt/branches/3.5-TESTING/html/NoAuth/css/transactions.css
==============================================================================
--- rt/branches/3.5-TESTING/html/NoAuth/css/transactions.css (original)
+++ rt/branches/3.5-TESTING/html/NoAuth/css/transactions.css Sat Jul 9 14:52:41 2005
@@ -44,6 +44,11 @@
%#
%# END BPS TAGGED BLOCK }}}
+.ticket-transaction {
+ margin: 1em 0 1em 0;
+ border: 1px solid #069;
+}
+
.ticket-transaction .date { font-size: 0.9em; }
.ticket-transaction .description { font-weight: bold; }
.ticket-transaction .actions {
@@ -52,54 +57,57 @@
}
.ticket-transaction .type {
- background: #ccc;
+ background: #888;
width: 1.5em;
color: white;
text-align: center;
+ font-size: 1.1em;
}
#body .ticket-transaction .type :link,
#body .ticket-transaction .type :visited
{
color: white;
+ font-weight: normal;
}
-#body .ticket-transaction .type.other :link,
-#body .ticket-transaction .type.other :visited
-{
- color: black;
-}
-
-.ticket-transaction .type.basics { background: #b32; }
+.ticket-transaction.basics { border-color: #b32; }
+.ticket-transaction.basics .type { background: #b32; }
.ticket-summary .ticket-info-basics .content { border-left: 0.5em solid #b32; }
-.ticket-transaction .type.people { background: #48c; }
+.ticket-transaction.people { border-color: #48c; }
+.ticket-transaction.people .type { background: #48c; }
.ticket-summary .ticket-info-people .content { border-left: 0.5em solid #48c; }
-.ticket-transaction .type.links { background: #ad8; }
+.ticket-transaction.links { border-color: #ad8; }
+.ticket-transaction.links .type { background: #ad8; }
.ticket-summary .ticket-info-links .content { border-left: 0.5em solid #ad8; }
-.ticket-transaction .type.dates { background: #d71; }
+.ticket-transaction.dates { border-color: #d71; }
+.ticket-transaction.dates .type { background: #d71; }
.ticket-summary .ticket-info-dates .content { border-left: 0.5em solid #d71; }
-.ticket-transaction .type.message { background: #069; }
+.ticket-transaction.message { border-color: #069; }
+.ticket-transaction.message .type { background: #069; }
+
+.ticket-transaction.other { border-color: #888; }
-td .message-header-value {
+.ticket-transaction td .message-header-value {
padding: 0;
}
-td .message-header-key {
+.ticket-transaction td .message-header-key {
padding: 0 1em 0 1em;
font-weight: bold;
}
-.downloadattachment {
+.ticket-transaction .downloadattachment {
float: right;
font-size: 0.9em;
text-align: right;
}
-.messagebody {
+.ticket-transaction .messagebody {
clear: both;
padding-left: 0.5em;
}
Modified: rt/branches/3.5-TESTING/html/Ticket/Elements/ShowHistory
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Elements/ShowHistory (original)
+++ rt/branches/3.5-TESTING/html/Ticket/Elements/ShowHistory Sat Jul 9 14:52:41 2005
@@ -72,7 +72,7 @@
<& /Widgets/TitleBoxStart, title => $title, titleright => $titleright &>
% }
-<table width="100%" cellspacing="0" cellpadding="2" border="0">
+<div id="ticket-history">
<%perl>
my @attachments = @{$Attachments->ItemsArrayRef()};
my @attachment_content = @{$AttachmentContent->ItemsArrayRef()};
@@ -116,7 +116,7 @@
}
</%perl>
-</table>
+</div>
% if ($ShowDisplayModes or $ShowTitle) {
<& /Widgets/TitleBoxEnd &>
% }
Modified: rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTransaction
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTransaction (original)
+++ rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTransaction Sat Jul 9 14:52:41 2005
@@ -43,28 +43,33 @@
%# those contributions and any derivatives thereof.
%#
%# END BPS TAGGED BLOCK }}}
-<tr class="<% $RowNum%2 ? 'oddline' : 'evenline'%> ticket-transaction" >
- <td rowspan="2" valign="top" class="<% $type_class %> type">
- <a name="txn-<%$Transaction->Id%>" href="#txn-<%$Transaction->Id%>">#</a>
- <% $LastTransaction ? '<a name="lasttrans"> </a>' : ' ' |n %>
- </td>
- <td class="date"><% $transdate|n %></td>
+<div class="ticket-transaction <% $type_class %>">
+<table width="100%" cellspacing="0" cellpadding="2" border="0">
+ <tr>
+ <td rowspan="2" valign="top" class="type">
+ <a name="txn-<%$Transaction->Id%>" href="#txn-<%$Transaction->Id%>">#</a>
+ <% $LastTransaction ? '<a name="lasttrans"> </a>' : ' ' |n %>
+ </td>
+ <td class="date"><% $transdate|n %></td>
% my $desc = $Transaction->BriefDescription;
% $m->comp('/Elements/Callback', _CallbackName => 'ModifyDisplay', text => \$desc, Transaction => $Transaction, %ARGS);
- <td class="description">
- <%$Transaction->CreatorObj->Name%> - <%$TicketString%> <%$desc%>
- </td>
- <td class="time-taken"><%$TimeTaken%></td>
- <td class="actions"><%$titlebar_commands|n%></td>
-</tr>
-<tr class="<% $RowNum%2 ? 'oddline' : 'evenline'%> ticket-transaction">
- <td colspan="5" class="content">
+ <td class="description">
+ <%$Transaction->CreatorObj->Name%> - <%$TicketString%> <%$desc%>
+ </td>
+ <td class="time-taken"><%$TimeTaken%></td>
+ <td class="actions"><%$titlebar_commands|n%></td>
+ </tr>
+
+ <tr>
+ <td colspan="4" class="content">
% if ($Transaction->CustomFieldValues->Count) {
- <& /Elements/ShowCustomFields, Object => $Transaction &>
+ <& /Elements/ShowCustomFields, Object => $Transaction &>
% }
% $m->comp('ShowTransactionAttachments', %ARGS, Parent => 0) unless ($Collapsed ||!$ShowBody);
- </td>
-</tr>
+ </td>
+ </tr>
+</table>
+</div>
<%ARGS>
$Ticket => undef
More information about the Rt-commit
mailing list