summaryrefslogtreecommitdiffstats
path: root/etc/compare.html
blob: 38e150ed6019b8823a895d1ddd9f3d93f305760c (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
<html>
    <head>
        <link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
    </head>
    <body>
        <center>
            <table class="pure-table pure-table-horizontal pure-table-striped">
                <thead>
                    <tr>
                        <th>Package</th>
                        <th>Local Version</th>
                        <th>External Versions</th>
                    </tr>
                </thead>

                <tbody>
                    {{~#each . as |t|}}
                    <tr>
                        <td>{{t.package_name}}</td>
                        <td>{{t.local_version}}</td>
                        <td>
                            <table class="pure-table pure-table-horizontal pure-table-striped">
                                <thead>
                                    <tr>
                                        <th>Repo</th>
                                        <th>Version</th>
                                    </tr>
                                </thead>
                                <tbody>
                                    {{~#each t.comparisons as |c|}}
                                        <tr>
                                            <td>{{c.repo}}</td>
                                            <td>{{c.version}}</td>
                                        </tr>
                                    {{~/each}}
                                </tbody>
                            </table>
                        </td>
                    </tr>
                    {{~/each}}
                </tbody>
            </table>
        </center>
    </body>
</html>