Changeset 943


Ignore:
Timestamp:
06/12/09 10:56:51 (16 years ago)
Author:
Mathieu Morlighem
Message:

fixed font size in table

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/cron/report.sh

    r942 r943  
    4141        .issmh2 {
    4242                margin-top:1.5em;
    43                 width:900px;
     43                width:800px;
    4444                background: transparent;
    4545                color: #6495ed;
     
    5353                word-wrap:break-word;
    5454                padding:4px;
    55                 width:900px;
     55                width:800px;
    5656                border:1px dashed #000000;
    5757                text-align: left;
     
    104104        else
    105105
    106                 echo "<table cellspacing=\"-1\" width=\"900px\" style=\"font-family: Arial, Verdana, Tahoma; color: #404040;\">"
    107                 echo "<tr> <th>Result</th> <th>Tolerance</th> <th>Test</th>  <th>Solution</th> <th>Field</th> </tr>"
     106                echo "<table cellspacing=\"-1\" width=\"800px\" style=\"font-family: Arial, Verdana, Tahoma; color: #404040;\">"
     107                echo "<tr> <th style=\"font-size:14px;\">Result</th> <th style=\"font-size:14px;\">Tolerance</th> <th style=\"font-size:14px;\">Test</th>  <th style=\"font-size:14px;\">Solution</th> <th style=\"font-size:14px;\">Field</th> </tr>"
    108108
    109109                # go through the lines of $package.log
     
    121121
    122122                        #build html corresponding line
    123                         cat $package.log | awk '{ printf "line%so %s\n", NR, $0 }' | awk '/line'$i'o/ {printf("<td '$color'>%s</td><td '$color'> %s%s%s</td><td '$color'> %s</td><td '$color'> %s</td><td '$color'> %s</td>",$2,$4,$5,$6,$8,$10,$14);}';
     123                        cat $package.log | awk '{ printf "line%so %s\n", NR, $0 }' | awk '/line'$i'o/ {printf("<td '$color' style=\"font-size:14px;\">%s</td><td '$color' style=\"font-size:14px;\"> %s%s%s</td><td '$color' style=\"font-size:14px;\"> %s</td><td '$color' style=\"font-size:14px;\"> %s</td><td '$color' style=\"font-size:14px;\"> %s</td>",$2,$4,$5,$6,$8,$10,$14);}';
    124124                        echo "</tr>"
    125125                done
Note: See TracChangeset for help on using the changeset viewer.