Changeset 101 for trunk/lib/Node.cc


Ignore:
Timestamp:
Jun 22, 2006, 11:00:06 AM (15 years ago)
Author:
Peter Johansson
Message:

closes #28 #18 and added some lippstick to the node daughters table output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Node.cc

    r100 r101  
    4040  }
    4141
     42  bool Node::dir(void) const
     43  {
     44    return false;
     45  }
     46
     47  std::string Node::html_tablerow(const std::string& color) const
     48  {
     49    std::stringstream ss;
     50    ss << "<tr>\n<td bgcolor=" << color << ">" << html_link()
     51       << "</td>\n<td bgcolor=" << color << " align=right>"
     52       << stats_.rows() << "</td>\n</tr>\n";
     53    return ss.str();
     54  }
     55
    4256  void Node::print_footer(std::ostream& os) const
    4357  {
     
    4660    time ( &rawtime );
    4761    timeinfo = localtime ( &rawtime );
    48     os << "<p align=center><font size=-2>Generated on "
     62    os << "<p align=center><font size=-2>\nGenerated on "
    4963       << asctime (timeinfo)
    5064       << "by <a href=http://lev.thep.lu.se/trac/svnstat/>"
    5165       << PACKAGE_STRING << "</a>"
    52        << "</font></p></body>\n</html>\n";
     66       << "</font>\n</p>\n</body>\n</html>\n";
    5367  }
    5468
     
    6074       << "<title> svnstat " << name() << "</title>\n"
    6175       << "</head>\n"
    62        << "<body bgcolor='FFFBFB'>\n";
     76       << "<body bgcolor=#ffffff vlink=#000000>\n";
    6377  }
    6478
    65 
    6679}} // end of namespace svnstat and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.