[Rt-commit] r13167 - in rt/branches/3.8-TESTING: . share/html/Ticket share/html/Ticket/Elements

jesse at bestpractical.com jesse at bestpractical.com
Wed Jun 11 11:38:46 EDT 2008


Author: jesse
Date: Wed Jun 11 11:38:43 2008
New Revision: 13167

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/forms.css
   rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/layout.css
   rt/branches/3.8-TESTING/share/html/Ticket/Elements/UpdateCc
   rt/branches/3.8-TESTING/share/html/Ticket/Update.html

Log:
 r32636 at 31b:  jesse | 2008-06-11 11:37:47 -0400
 * shrink the "new ticket in queue" box to a fixed max width
 * clean up our "label" styles to be a lot more consistent


Modified: rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/forms.css
==============================================================================
--- rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/forms.css	(original)
+++ rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/forms.css	Wed Jun 11 11:38:43 2008
@@ -129,14 +129,14 @@
 }
 
 
-td.label, td.labeltop {
+.label, .labeltop {
  text-align: right;
  font-size: 0.8em;
  padding-right: 0.5em;
 
 } 
 
-td.labeltop, td.label, td.value {
+.labeltop, .label, .value {
   padding-top: 0.25em;
 }
 

Modified: rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/layout.css
==============================================================================
--- rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/layout.css	(original)
+++ rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/layout.css	Wed Jun 11 11:38:43 2008
@@ -97,6 +97,10 @@
 
 }
 
+.topaction form#CreateTicketInQueue select {
+    max-width: 12em;
+}
+
 .topaction form#CreateTicketInQueue {
  position: absolute;
  padding-right: 2em;

Modified: rt/branches/3.8-TESTING/share/html/Ticket/Elements/UpdateCc
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Ticket/Elements/UpdateCc	(original)
+++ rt/branches/3.8-TESTING/share/html/Ticket/Elements/UpdateCc	Wed Jun 11 11:38:43 2008
@@ -45,7 +45,7 @@
 %# those contributions and any derivatives thereof.
 %# 
 %# END BPS TAGGED BLOCK }}}
-<tr><td align="right"><&|/l&>One-time Cc</&>:</td><td><& /Elements/EmailInput, Name => 'UpdateCc', Size => '60', Default => $ARGS{UpdateCc} &>
+<tr><td class="label"><&|/l&>One-time Cc</&>:</td><td><& /Elements/EmailInput, Name => 'UpdateCc', Size => '60', Default => $ARGS{UpdateCc} &>
 <input type="hidden" id="UpdateIgnoreAddressCheckboxes" name="UpdateIgnoreAddressCheckboxes" value="0">
         <br />
 
@@ -59,7 +59,7 @@
     <% $ARGS{'UpdateCc-'.$addr} ? 'checked="checked"' : ''%> > <& /Elements/ShowUser, Address => $txn_addresses{$addr}&>
 %}
 </td></tr>
-<tr><td align="right"><&|/l&>One-time Bcc</&>:</td><td><& /Elements/EmailInput, Name => 'UpdateBcc', Size => '60', Default => $ARGS{UpdateBcc} &><br />
+<tr><td class="label"><&|/l&>One-time Bcc</&>:</td><td><& /Elements/EmailInput, Name => 'UpdateBcc', Size => '60', Default => $ARGS{UpdateBcc} &><br />
 %foreach my $addr ( keys %txn_addresses) {
 %    next if ( grep {$addr eq $_} @req_addresses );
 <input

Modified: rt/branches/3.8-TESTING/share/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Ticket/Update.html	(original)
+++ rt/branches/3.8-TESTING/share/html/Ticket/Update.html	Wed Jun 11 11:38:43 2008
@@ -64,10 +64,10 @@
 
 <table width="100%" border="0">
 
-<tr><td align="right"><&|/l&>Status</&>:</td>
+<tr><td class="label"><&|/l&>Status</&>:</td>
 <td>
 <& /Elements/SelectStatus, Name=>"Status", DefaultLabel => loc("[_1] (Unchanged)", loc($TicketObj->Status)), Default => $ARGS{'Status'} || ($TicketObj->Status eq $DefaultStatus ? undef : $DefaultStatus)&>
-<&|/l&>Owner</&>:  
+<span class="label"><&|/l&>Owner</&>:</span>
 <& /Elements/SelectOwner,
     Name         => "Owner",
     TicketObj    => $TicketObj,
@@ -75,7 +75,7 @@
     DefaultLabel => loc("[_1] (Unchanged)", $TicketObj->OwnerObj->Name),
     Default      => $ARGS{'Owner'}
 &>
-<&|/l&>Worked</&>: <input size="4" name="UpdateTimeWorked" value="<% $ARGS{UpdateTimeWorked}||'' %>" /> 
+<span class="label"><&|/l&>Worked</&>:</span><input size="4" name="UpdateTimeWorked" value="<% $ARGS{UpdateTimeWorked}||'' %>" /> 
 <& /Elements/SelectTimeUnits, Name => 'UpdateTimeWorked'&>
 </td></tr>
 % my $skip;
@@ -83,7 +83,7 @@
 % if (!$skip) {
 <input type="hidden" class="hidden" name="id" value="<%$TicketObj->Id%>" /><br />
 % }
-<tr><td align="right"><&|/l&>Update Type</&>:</td>
+<tr><td class="label"><&|/l&>Update Type</&>:</td>
 <td><select name="UpdateType">
 % if ($CanComment) {
 <option value="private" <% ($ARGS{'UpdateType'} &&  $ARGS{'UpdateType'} eq "private") ? qq[ selected="selected"] : !$ARGS{'UpdateType'}&&$CommentDefault |n %>><&|/l&>Comments (Not sent to requestors)</&></option>
@@ -93,7 +93,7 @@
 % }
 </select> 
 </td></tr>
-<tr><td align="right"><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size="60" value="<% $ARGS{UpdateSubject} || $TicketObj->Subject()%>" /></td></tr>
+<tr><td class="label"><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size="60" value="<% $ARGS{UpdateSubject} || $TicketObj->Subject()%>" /></td></tr>
 
 <& /Ticket/Elements/UpdateCc, %ARGS, TicketObj => $TicketObj &>
 
@@ -101,7 +101,7 @@
 % if (my $TxnCFs = $TicketObj->TransactionCustomFields) {
 %    while (my $CF = $TxnCFs->Next()) {
 <tr>
-<td align="right"><% $CF->Name %>:</td>
+<td class="label"><% $CF->Name %>:</td>
 <td><& /Elements/EditCustomField, CustomField => $CF, NamePrefix =>
     "Object-RT::Transaction--CustomField-" &><em><% $CF->FriendlyType %></em></td>
 </tr>
@@ -119,7 +119,7 @@
 </tr>
 % } # end of if
 
-<tr><td align="right"><&|/l&>Attach</&>:</td><td><input name="Attach" type="file" /><input type="submit" class="button" name="AddMoreAttach" value="<&|/l&>Add More Files</&>" /><input type="hidden" class="hidden" name="UpdateAttach" value="1" />
+<tr><td class="label"><&|/l&>Attach</&>:</td><td><input name="Attach" type="file" /><input type="submit" class="button" name="AddMoreAttach" value="<&|/l&>Add More Files</&>" /><input type="hidden" class="hidden" name="UpdateAttach" value="1" />
 </td></tr>
 
 % if ( $gnupg_widget ) {
@@ -131,7 +131,7 @@
 </td></tr>
 % }
 
-<tr><td align="right" valign="top"><&|/l&>Message</&>:</td><td>
+<tr><td class="label" valign="top"><&|/l&>Message</&>:</td><td>
 % $m->callback( %ARGS, CallbackName => 'BeforeMessageBox' );
 % if (exists $ARGS{UpdateContent}) {
 % # preserve QuoteTransaction so we can use it to set up sane references/in/reply to


More information about the Rt-commit mailing list