summaryrefslogtreecommitdiffstats
path: root/etc/compare.html
diff options
context:
space:
mode:
Diffstat (limited to 'etc/compare.html')
-rw-r--r--etc/compare.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/etc/compare.html b/etc/compare.html
new file mode 100644
index 0000000..38e150e
--- /dev/null
+++ b/etc/compare.html
@@ -0,0 +1,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>