2003-07-05 Zoltan Varga <vargaz@freemail.hu>

* style.xsl: Made the output valid HTML 4.0 Transitional.

svn path=/trunk/monocov/; revision=15948
This commit is contained in:
Zoltan Varga 2003-07-04 22:06:29 +00:00
Родитель ba49ded8f5
Коммит f8110452dc
2 изменённых файлов: 12 добавлений и 6 удалений

Просмотреть файл

@ -1,3 +1,7 @@
2003-07-05 Zoltan Varga <vargaz@freemail.hu>
* style.xsl: Made the output valid HTML 4.0 Transitional.
2003-07-03 Zoltan Varga <vargaz@freemail.hu>
* coverage.c (mono_profiler_startup): Fix startup if no arguments

Просмотреть файл

@ -1,9 +1,10 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html"/>
<xsl:output method="html" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<xsl:param name="link-suffix" select="'.xml'"/>
<xsl:template match="/">
<html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
<style type="text/css">
table th { text-align: center }
.hit { background-color: lime; vertical-align: middle }
@ -52,7 +53,6 @@
</tr>
<!-- root item -->
<xsl:apply-templates select="./project | ./namespace | ./class"/>
<tr/>
<!-- child items -->
<xsl:apply-templates select="/*//project | /*//namespace | /*//class">
<xsl:sort select="@name"/>
@ -94,10 +94,12 @@
<td align="center"><xsl:value-of select="coverage/@missed"/></td>
<td align="center"><xsl:value-of select="coverage/@coverage"/>%</td>
<td>
<table background="blue" cellspacing="0" cellpadding="0" width="100%">
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td><img class="hit" width="{coverage/@coverage}%" src="trans.gif" height="12"></img>
<img class="missed" width="{100 - coverage/@coverage}%" src="trans.gif" height="12"/></td>
<td>
<img class="hit" width="{coverage/@coverage}%" src="trans.gif" height="12" alt=""/>
<img class="missed" width="{100 - coverage/@coverage}%" src="trans.gif" height="12" alt=""/>
</td>
</tr>
</table>
</td>