@@ -46,7 +46,6 @@ Definition header : LString.t :=
4646 <p class=""navbar-text navbar-right""><a class=""navbar-link"" href=""https://github.com/coq/opam-coq-archive"">github.com/coq/opam-coq-archive</a></p>
4747 </div>
4848 </div>
49- <div class=""row"">
5049".
5150
5251(** The footer of the page. *)
@@ -73,11 +72,28 @@ Definition short_name (name : LString.t) : LString.t :=
7372 end .
7473
7574Module Index.
75+ Definition disclaimer : LString.t :=
76+ LString.s " <div class=""row"">
77+ <div class=""col-md-1"">
78+ </div>
79+ <div class=""col-md-10"">
80+ <div class=""alert alert-warning alert-dismissible"" role=""alert"">
81+ <strong>Disclaimer</strong>
82+ This website shows what can be done with the <a class=""alert-link"" href=""http://coq.io/"">Coq.io</a> framework.
83+ The official index of Coq packages is at <a class=""alert-link"" href=""https://coq.inria.fr/opam/www/"">coq.inria.fr/opam/www</a>.
84+ </div>
85+ </div>
86+ <div class=""col-md-1"">
87+ </div>
88+ </div>
89+ ".
90+
7691 (** The title with the number of packages. *)
7792 Definition title (packages : list Package.t) : LString.t :=
7893 let nb_packages : N := N.of_nat @@ List.length packages in
7994 let nb_versions : N := N.of_nat @@ Package.number_of_versions packages in
80- LString.s " <div class=""col-md-3"">
95+ LString.s " <div class=""row"">
96+ <div class=""col-md-3"">
8197 <img alt=""icon"" src=""img/bag.svg"" style=""min-width: 180px; margin-top: 40px"" class=""img-responsive center-block"">
8298 </div>
8399 <div class=""col-md-9"">
@@ -88,6 +104,8 @@ Module Index.
88104 <pre>opam repo add coq-released https://coq.inria.fr/opam/released</pre>
89105 <p>Go to <a href=""get_started.html"">get started</a> to start using OPAM with Coq.</p>
90106 </div>
107+ </div>
108+ <div class=""row"" style=""margin-top: 40px;"">
91109 <div class=""col-md-12"">
92110 ".
93111
@@ -134,7 +152,7 @@ Module Index.
134152
135153 (** The index page. *)
136154 Definition page (packages : list Package.t) : LString.t :=
137- header ++ title packages ++ table packages ++ footer.
155+ header ++ disclaimer ++ title packages ++ table packages ++ footer.
138156End Index.
139157
140158Module Version.
0 commit comments