Source

coverage.py / tests / js / index.html

Full commit
<!DOCTYPE html>
<html>
<head>
    <title>Coverage.py Javascript Test Suite</title>
    <link rel="stylesheet" href="../qunit/qunit.css" type="text/css" media="screen">
    <script type="text/javascript" src="../../coverage/htmlfiles/jquery-1.4.3.min.js"></script>
    <script type='text/javascript' src="../../coverage/htmlfiles/jquery.isonscreen.js"></script>
    <script type="text/javascript" src="../../coverage/htmlfiles/coverage_html.js"></script>
    <script type="text/javascript" src="../qunit/qunit.js"></script>
    <script type="text/javascript" src="../qunit/jquery.tmpl.min.js"></script>

    <style>
    .r { background-color: red; }
    .w { }
    .b { background-color: blue; }
    </style>

    <!-- Templates for the coverage report output -->
    <script id="fixture-template" type="text/x-jquery-tmpl">
        <table cellspacing='0' cellpadding='0'>
            <tr>
                <td class='linenos' valign='top'>
                    <!-- #lineno-template goes here -->
                </td>
                <td class='text' valign='top'>
                    <!-- #text-template goes here -->
                </td>
            </tr>
        </table>
    </script>

    <script id="lineno-template" type="text/x-jquery-tmpl">
        <p id='n${number}' class='${klass}'><a href='#n${number}'>${number}</a></p>
    </script>

    <script id="text-template" type="text/x-jquery-tmpl">
        <p id='t${number}' class='${klass}'>Hello, world!</p>
    </script>

    <!-- Pull in the tests -->
    <script type="text/javascript" src="tests.js"></script>

</head>
<body>
    <h1 id="qunit-header">Coverage.py Javascript Test Suite</h1>
    <h2 id="qunit-banner"></h2>
    <div id="qunit-testrunner-toolbar"></div>
    <h2 id="qunit-userAgent"></h2>
    <ol id="qunit-tests"></ol>
    <div id="qunit-fixture"></div>
</body>
</html>