You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/04/03 09:45:51 UTC
[camel-website] branch master updated: make table in security page
responsive
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new af70b2f make table in security page responsive
af70b2f is described below
commit af70b2f2f6aadcb170e860681b56099b312dce54
Author: AemieJ <ae...@hotmail.co.uk>
AuthorDate: Fri Apr 3 14:31:27 2020 +0530
make table in security page responsive
---
layouts/security/list.html | 59 +++++++++++++++++++++++-----------------------
1 file changed, 30 insertions(+), 29 deletions(-)
diff --git a/layouts/security/list.html b/layouts/security/list.html
index 03930b7..389bf05 100644
--- a/layouts/security/list.html
+++ b/layouts/security/list.html
@@ -5,35 +5,36 @@
<article class="static doc">
{{ .Content }}
-
- <table class="tableblock frame-all grid-all stretch">
- <caption>Security advisories by year</caption>
- <thead>
- <tr>
- <td>Reference</td>
- <td>Affected</td>
- <td>Fixed</td>
- <td>CVSS score</td>
- <td>Description</td>
- </tr>
- </thead>
- <tbody>
- {{ range .Pages.GroupByDate "2006" "desc" }}
- <tr>
- <th colspan="5" scope="row"><strong>{{ .Key }}</strong></th>
- </tr>
- {{ range .Pages }}
- <tr>
- <td><a href="{{ .RelPermalink }}">{{ .Params.cve }}</a></td>
- <td>{{ .Params.affected }}</td>
- <td>{{ .Params.fixed }}</td>
- <td>{{ .Params.severity }}</td>
- <td>{{ .Params.summary }}</td>
- </tr>
- {{ end }}
- {{ end }}
- </tbody>
- </table>
+ <div class="table-wrapper">
+ <table class="tableblock frame-all grid-all stretch">
+ <caption>Security advisories by year</caption>
+ <thead>
+ <tr>
+ <td>Reference</td>
+ <td>Affected</td>
+ <td>Fixed</td>
+ <td>CVSS score</td>
+ <td>Description</td>
+ </tr>
+ </thead>
+ <tbody>
+ {{ range .Pages.GroupByDate "2006" "desc" }}
+ <tr>
+ <th colspan="5" scope="row"><strong>{{ .Key }}</strong></th>
+ </tr>
+ {{ range .Pages }}
+ <tr>
+ <td><a href="{{ .RelPermalink }}">{{ .Params.cve }}</a></td>
+ <td>{{ .Params.affected }}</td>
+ <td>{{ .Params.fixed }}</td>
+ <td>{{ .Params.severity }}</td>
+ <td>{{ .Params.summary }}</td>
+ </tr>
+ {{ end }}
+ {{ end }}
+ </tbody>
+ </table>
+ </div>
</article>
</main>