Skip to content

Commit

Permalink
Merge pull request #223 from maximedenes/coq-package-index-redirect
Browse files Browse the repository at this point in the history
Add /coq-package-index and redirection
  • Loading branch information
maximedenes authored Sep 13, 2023
2 parents 692bb80 + 02c72a7 commit 6323183
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 63 deletions.
63 changes: 63 additions & 0 deletions pages/coq-package-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">
66 changes: 3 additions & 63 deletions pages/opam/www/index.html
Original file line number Diff line number Diff line change
@@ -1,63 +1,3 @@
<#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">
<head>
<meta http-equiv="Refresh" content="0; URL=https://coq.inria.fr/coq-package-index" />
</head>

0 comments on commit 6323183

Please sign in to comment.