diff options
Diffstat (limited to 'templates/packages')
-rw-r--r-- | templates/packages/differences.html | 7 | ||||
-rw-r--r-- | templates/packages/signoffs.html | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html index bc749016..337dcd73 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -33,5 +33,12 @@ </tbody> </table> </div> +{% load cdn %}{% jquery %} +<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script> +<script type="text/javascript"> +$(document).ready(function() { + $(".results").tablesorter({sortList: [[1,0], [0,0]]}); +}); +</script> {% endif %} {% endblock %} diff --git a/templates/packages/signoffs.html b/templates/packages/signoffs.html index 3040f453..dd7a8a75 100644 --- a/templates/packages/signoffs.html +++ b/templates/packages/signoffs.html @@ -47,5 +47,12 @@ </tbody> </table> </div> +{% load cdn %}{% jquery %} +<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script> +<script type="text/javascript"> +$(document).ready(function() { + $(".results").tablesorter({sortList: [[1,0]]}); +}); +</script> {% endif %} {% endblock %} |