Changeset 09b48ea in rtems-testing


Ignore:
Timestamp:
May 13, 2010, 1:35:35 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, 8895273c193787f84c4585a10f6d6aceb3b25dc4
Children:
da04b38
Parents:
f167c98
Message:

2010-05-13 Joel Sherrill <joel.sherrilL@…>

  • ReportsHtml?.cc: Make table pagination conditionally compiled.
Location:
rtems-coverage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rtems-coverage/ChangeLog

    rf167c98 r09b48ea  
     12010-05-13      Joel Sherrill <joel.sherrilL@OARcorp.com>
     2
     3        * ReportsHtml.cc: Make table pagination conditionally compiled.
     4
    152010-05-12      Joel Sherrill <joel.sherrill@oarcorp.com>
    26
  • rtems-coverage/ReportsHtml.cc

    rf167c98 r09b48ea  
    1212#include "DesiredSymbols.h"
    1313#include "ObjdumpProcessor.h"
     14
     15#if 0
     16#define TABLE_FOOTER \
     17   "<tfoot>\n" \
     18   "<tr>\n" \
     19   "<td class=\"table-page:previous\" " \
     20      "style=\"cursor:pointer;\">&lt; &lt; Previous</td>\n" \
     21   "<td colspan=\"4\" style=\"text-align:center;\">Page " \
     22      "<span id=\"pagenum\"></span>&nbsp;of <span id=\"pages\"></span></td>\n" \
     23   "<td class=\"table-page:next\" " \
     24     "style=\"cursor:pointer;\">Next &gt; &gt;</td>\n" \
     25   "</tr>\n" \
     26   "</tfoot>\n"
     27#else
     28#define TABLE_FOOTER
     29#endif
    1430
    1531namespace Coverage {
     
    629645      fprintf(
    630646        aFile,
    631         "<tfoot>\n"
    632         "<tr>\n"
    633         "<td class=\"table-page:previous\" style=\"cursor:pointer;\">&lt; &lt; Previous</td>\n"
    634         "<td colspan=\"5\" style=\"text-align:center;\">Page <span id=\"pagenum\"></span>&nbsp;of <span id=\"pages\"></span></td>\n"
    635         "<td class=\"table-page:next\" style=\"cursor:pointer;\">Next &gt; &gt;</td>\n"
    636         "</tr>\n"
    637         "</tfoot>\n"
     647        TABLE_FOOTER
    638648        "</tbody>\n"
    639649        "</table>\n"
     
    656666    fprintf(
    657667      aFile,
    658       "<tfoot>\n"
    659       "<tr>\n"
    660       "<td class=\"table-page:previous\" style=\"cursor:pointer;\">&lt; &lt; Previous</td>\n"
    661       "<td colspan=\"4\" style=\"text-align:center;\">Page <span id=\"pagenum\"></span>&nbsp;of <span id=\"pages\"></span></td>\n"
    662       "<td class=\"table-page:next\" style=\"cursor:pointer;\">Next &gt; &gt;</td>\n"
    663       "</tr>\n"
    664       "</tfoot>\n"
     668      TABLE_FOOTER
    665669      "</tbody>\n"
    666670      "</table>\n"
     
    679683    fprintf(
    680684      aFile,
    681       "<tfoot>\n"
    682       "<tr>\n"
    683       "<td class=\"table-page:previous\" style=\"cursor:pointer;\">&lt; &lt; Previous</td>\n"
    684       "<td colspan=\"1\" style=\"text-align:center;\">Page <span id=\"pagenum\"></span>&nbsp;of <span id=\"pages\"></span></td>\n"
    685       "<td class=\"table-page:next\" style=\"cursor:pointer;\">Next &gt; &gt;</td>\n"
    686       "</tr>\n"
    687       "</tfoot>\n"
     685      TABLE_FOOTER
    688686      "</tbody>\n"
    689687      "</table>\n"
Note: See TracChangeset for help on using the changeset viewer.