summaryrefslogtreecommitdiffstats
path: root/debian/missing-sources/epoch/tests/render/themes/default.html
blob: 9e8bd4e9f632915253b77e1391f7630cf533fcff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="../css/tests.css">
        <script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
        <script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script>
        <script src="../../../dist/js/epoch.js"></script>
        <link rel="stylesheet" type="text/css" href="../../../dist/css/epoch.css">
        <style>
        
        .epoch:after {
          content:"";
          display:table;
          clear:both;
        }

        .ref {
            width: 120px;
            height: 120px;
            float: left;
            margin: 2px;
            color: white;
            text-align: center;
            line-height: 120px;
            font-size: 31px;
        }
        </style>

        <script>
        $(function() {
            $('div[data-refs-range]').each(function(i, el) {
                var range = $(el).attr('data-refs-range').split(',');
                for (var i = parseInt(range[0]); i <= parseInt(range[1]); i++) {
                    $(el).append('<div class="ref category'+i+'">'+i+'</div>')
                }
            });
        });
        </script>

    </head>
    <body>
        <h1>Default Theme</h1>

        <h2>Category 10</h2>
        <div class="epoch category10" data-refs-range="1,5"></div>
        <div class="epoch category10" data-refs-range="6,10"></div>

        <h2>Category 20</h2>
        <div class="epoch category20" data-refs-range="1,4"></div>
        <div class="epoch category20" data-refs-range="5,8"></div>
        <div class="epoch category20" data-refs-range="9,12"></div>
        <div class="epoch category20" data-refs-range="13,16"></div>
        <div class="epoch category20" data-refs-range="17,20"></div>

        <h2>Category 20b</h2>
        <div class="epoch category20b" data-refs-range="1,4"></div>
        <div class="epoch category20b" data-refs-range="5,8"></div>
        <div class="epoch category20b" data-refs-range="9,12"></div>
        <div class="epoch category20b" data-refs-range="13,16"></div>
        <div class="epoch category20b" data-refs-range="17,20"></div>

        <h2>Category 20c</h2>
        <div class="epoch category20c" data-refs-range="1,4"></div>
        <div class="epoch category20c" data-refs-range="5,8"></div>
        <div class="epoch category20c" data-refs-range="9,12"></div>
        <div class="epoch category20c" data-refs-range="13,16"></div>
        <div class="epoch category20c" data-refs-range="17,20"></div>


    </body>
</html>