Changeset 38b985a in rtems-testing


Ignore:
Timestamp:
May 17, 2010, 2:39:23 PM (9 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
36cc316
Parents:
180e6f7
Message:

2010-05-17 Jennifer Averett <Jennifer.Averett@…>

  • ReportsHtml?.cc, covoar.css: Resolved alternate stripe on html tables such that it works when sorted various ways.
Location:
rtems-coverage
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    r180e6f7 r38b985a  
     12010-05-17      Jennifer Averett <Jennifer.Averett@OARcorp.com>
     2
     3        * ReportsHtml.cc, covoar.css: Resolved alternate stripe on html tables
     4        such that it works when sorted various ways.
     5
    162010-05-14      Jennifer Averett <Jennifer.Averett@OARcorp.com>
    27
  • rtems-coverage/ReportsHtml.cc

    r180e6f7 r38b985a  
    141141        "<pre class=\"heading-title\">Branch Report</pre>\n"
    142142        "<body>\n"
    143          "<table class=\"covoar table-autosort:0 table-autofilter"
     143         "<table class=\"covoar table-autosort:0 table-autofilter table-stripeclass:covoar-tr-odd"
    144144           TABLE_HEADER_CLASS "\">\n"
    145145        "<thead>\n"
     
    154154        "</tr>\n"
    155155        "</thead>\n"
     156        "<tbody>\n"
    156157      );
    157158    }
     
    174175        "<pre class=\"heading-title\">Coverage Report</pre>\n"
    175176        "<body>\n"
    176       "<table class=\"covoar table-autosort:0 table-autofilter"
     177      "<table class=\"covoar table-autosort:0 table-autofilter table-stripeclass:covoar-tr-odd"
    177178           TABLE_HEADER_CLASS "\">\n"
    178179      "<thead>\n"
     
    186187      "</tr>\n"
    187188      "</thead>\n"
     189      "<tbody>\n"
    188190     );
    189191
     
    205207      "<pre class=\"heading-title\">Size Report</pre>\n"
    206208      "<body>\n"
    207       "<table class=\"covoar table-autosort:0 table-autofilter"
     209      "<table class=\"covoar table-autosort:0 table-autofilter table-stripeclass:covoar-tr-odd"
    208210           TABLE_HEADER_CLASS "\">\n"
    209211      "<thead>\n"
     
    214216      "</tr>\n"
    215217      "</thead>\n"
     218      "<tbody>\n"
    216219    );
    217220    return aFile;
     
    232235      "<pre class=\"heading-title\">Symbol Summary Report</pre>\n"
    233236      "<body>\n"
    234       "<table class=\"covoar table-autosort:0 table-autofilter"
     237      "<table class=\"covoar table-autosort:0 table-autofilter table-stripeclass:covoar-tr-odd"
    235238           TABLE_HEADER_CLASS "\">\n"
    236239      "<thead>\n"
     
    249252      "</tr>\n"
    250253      "</thead>\n"
     254      "<tbody>\n"
    251255    );
    252256    return aFile;
     
    339343
    340344    // Mark the background color different for odd and even lines.
    341     if ( ( count%2 ) == 0 )
    342       fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
    343     else
    344       fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
     345    if ( ( count%2 ) != 0 )
     346      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
    345347
    346348    // symbol
     
    454456
    455457    // Mark the background color different for odd and even lines.
    456     if ( ( count%2 ) == 0 )
    457       fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
    458     else
    459       fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
     458    if ( ( count%2 ) != 0 )
     459      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
    460460
    461461    // symbol
     
    507507
    508508    // Mark the background color different for odd and even lines.
    509     if ( ( count%2 ) == 0 )
    510       fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
    511     else
    512       fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
     509    if ( ( count%2 ) != 0 )
     510      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
    513511
    514512    // symbol
     
    581579  {
    582580    // Mark the background color different for odd and even lines.
    583     if ( ( count%2 ) == 0 )
    584       fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
    585     else
    586       fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
     581    if ( ( count%2 ) != 0 )
     582      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
    587583
    588584    // size
     
    620616 
    621617    // Mark the background color different for odd and even lines.
    622     if ( ( count%2 ) == 0 )
    623       fprintf( report, "<tr class=\"covoar-tr covoar-tr-even\">\n");
    624     else
    625       fprintf( report, "<tr class=\"covoar-tr covoar-tr-odd\">\n");
     618    if ( ( count%2 ) != 0 )
     619      fprintf( report, "<tr class=\"covoar-tr-odd\">\n");
    626620
    627621    // symbol
  • rtems-coverage/covoar.css

    r180e6f7 r38b985a  
    203203}
    204204
     205tr.alternate {
     206    background: #CBE4B1;
     207}
     208
     209/* Examples which stray from the default */
     210table.altstripe tr.alternate2 {
     211        background-color:#CBE4B1;
     212}
     213
    205214.covoar-tr-odd {
    206215    background: #CBE4B1;
Note: See TracChangeset for help on using the changeset viewer.