Skip to content

Commit

Permalink
Add OPAM index static page
Browse files Browse the repository at this point in the history
  • Loading branch information
maximedenes committed Sep 13, 2023
1 parent 6a66a64 commit a43844b
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
cp -r core-dev dest
cp -r extra-dev dest
cp -r released dest
cp -r www dest
cp coq-packages.json dest
- name: Upload Pages artifact
Expand Down
63 changes: 63 additions & 0 deletions www/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<#def TITLE>Coq Package Index</#def>
<#def HEAD>
<link rel="stylesheet" type="text/css" href="/styles/barron/style.css"/>
<link rel="stylesheet" type="text/css" href="/styles/package-index.css"/>
</#def>
<#include "incl/header.html">
<div id="filters">

<div class="framework">
<div class="frameworklabel" style="color:black;font-weight:bold">
Active filters
</div>
<div class="frameworkcontent">
<input type="text" id="custom-filter" onkeyup="update_filter()" autofocus>
<div id="f-selected">
</div>
</div>
</div>

<div class="framework">
<div class="frameworklabel" style="color:black;font-weight:bold">
Available suites
</div>
<div class="frameworkcontent">
<div id="f-suites"> <!-- filled in by js --> </div>
</div>
</div>

<div class="framework">
<div class="frameworklabel" style="color:black;font-weight:bold">
Available categories
</div>
<div class="frameworkcontent">
<div id="f-categories"> <!-- filled in by js --> </div>
</div>
</div>

<div class="framework">
<div class="frameworklabel" style="color:black;font-weight:bold">
Available keywords
</div>
<div class="frameworkcontent">
<div id="f-keywords"> <!-- filled in by js --> </div>
<div class="clear"> <!-- stop floating contents --> </div>
</div>
</div>

</div>

<div id="packages">
<div class="frameworkcontent">
<table>
<tbody id="data">
</tbody>
</table>
</div>

</div>

<script src="/scripts/filter.js"/></script>
<script src="/scripts/packages.js"></script>

<#include "incl/footer.html">

0 comments on commit a43844b

Please sign in to comment.