mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-02-27 02:23 am

[dw-free] Tropo: Misc styling fixes, round umpteen

[commit: http://hg.dwscoalition.org/dw-free/rev/babf59fbeb24]

http://bugs.dwscoalition.org/show_bug.cgi?id=374

Add classes to some pages so we can style them in site schemes.

Patch by [staff profile] denise.

--------------------------------------------------------------------------------
diff -r 1b4fccffe0dc -r babf59fbeb24 htdocs/inbox/compose.bml
--- a/htdocs/inbox/compose.bml	Fri Feb 27 02:21:25 2009 +0000
+++ b/htdocs/inbox/compose.bml	Fri Feb 27 02:23:22 2009 +0000
@@ -182,7 +182,7 @@ body<=
 
     # Inbox Nav
     $body .= qq{
-        <table style="width: 100%"><tr><td valign="top" style="padding-right: 12px">};
+        <table class='inbox-compose'><tr><td style="padding-right: 12px">};
     $body .= LJ::Widget::InboxFolderNav->render();
     $body .= qq{
         </td>
diff -r 1b4fccffe0dc -r babf59fbeb24 htdocs/manage/invitecodes.bml
--- a/htdocs/manage/invitecodes.bml	Fri Feb 27 02:21:25 2009 +0000
+++ b/htdocs/manage/invitecodes.bml	Fri Feb 27 02:23:22 2009 +0000
@@ -25,7 +25,7 @@ body<=
     my @invitecodes = DW::InviteCodes->by_owner( userid => $remote->id );
     
     if ( @invitecodes ) {
-        $ret .= "<table border='1' cellpadding='5'><tr><th>$ML{'.header.code'}</th><th>$ML{'.header.recipient'}</th><th>$ML{'.header.sent'}</th></tr>";
+        $ret .= "<table class='invitecodes'><tr><th>$ML{'.header.code'}</th><th>$ML{'.header.recipient'}</th><th>$ML{'.header.sent'}</th></tr>";
     
         foreach my $code ( @invitecodes ) {
             $ret .= "<tr>";
diff -r 1b4fccffe0dc -r babf59fbeb24 htdocs/support/faq.bml
--- a/htdocs/support/faq.bml	Fri Feb 27 02:21:25 2009 +0000
+++ b/htdocs/support/faq.bml	Fri Feb 27 02:23:22 2009 +0000
@@ -77,7 +77,7 @@ body<=
         $ret .= " (<a href='faqbrowse.bml?faqcat=$faqcat'>";
         $ret .= $ML{'.view.all'};
         $ret .= "</a>) h2?>\n";
-        $ret .= "<ul>\n";
+        $ret .= "<ul class='faqlist'>\n";
         foreach my $faqid (sort { $faqq{$a}->sortorder <=> $faqq{$b}->sortorder } grep { $faqq{$_}->faqcat eq $faqcat } keys %faqq)
         {
             my $q = $faqq{$faqid}->question_html;
--------------------------------------------------------------------------------