Changeset 2488


Ignore:
Timestamp:
2011-08-02 12:14:21 (8 years ago)
Author:
tekrjant
Message:

Build-taulukko paremman näköinen.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2011/31/write_report.py

    r2458 r2488  
     1# -*- coding: latin-1 -*- 
    12""" 
    23Writes a html report of the build results. build_games.py 
     
    2728 
    2829CSS = """ 
    29 tr { 
     30 
     31table, th, td { 
     32  border: 1px solid black; 
     33} 
     34 
     35th, td { 
     36  padding-left: 1em; 
     37  padding-right: 1em; 
     38} 
     39 
     40td { 
    3041  color: white; 
    3142} 
     
    7485 
    7586        body = addElement(html, "body") 
     87 
    7688        global table 
    7789        table = addElement(body, "table") 
     90        header_row = addElement(table, "tr") 
     91        addTextElement(header_row, "th", "Tekijä") 
     92        addTextElement(header_row, "th", "Peli") 
     93        addTextElement(header_row, "th", "Viimeisimmän talletuksen aika") 
    7894 
    7995 
Note: See TracChangeset for help on using the changeset viewer.