@@ -120,6 +120,9 @@ a.filter-action:hover {
text-decoration: none;
}
+table#patchlist > thead {
+ background-color: white;
+}
a.colinactive, a.colactive {
color: black;
@@ -8,8 +8,9 @@
<link rel="stylesheet" type="text/css" href="/css/selectize.bootstrap3.css"/>
<link rel="stylesheet" type="text/css" href="/css/style.css"/>
<script language="JavaScript" type="text/javascript"
- src="/js/jquery-1.10.1.min.js">
- </script>
+ src="/js/jquery-1.10.1.min.js"></script>
+ <script language="JavaScript" type="text/javascript"
+ src="/js/jquery.stickytableheaders.min.js"></script>
<script language="JavaScript" type="text/javascript" src="/js/common.js">
</script>
<!-- IE8 support of HTML5 elements and media queries -->
@@ -31,6 +31,11 @@
</div>
{% endif %}
+<script type="text/javascript" language="JavaScript">
+$(document).ready(function() {
+ $('#patchlist').stickyTableHeaders();
+});
+</script>
<form method="post">
{% csrf_token %}
<input type="hidden" name="form" value="patchlistform"/>
So, when scrolling down the list of patches, we still get what are the field displayed. This is espacially important as I plan to add a few more. Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> --- htdocs/css/style.css | 3 +++ templates/base.html | 5 +++-- templates/patchwork/patch-list.html | 5 +++++ 3 files changed, 11 insertions(+), 2 deletions(-)