diff options
author | zsloan | 2020-09-29 13:46:10 -0500 |
---|---|---|
committer | zsloan | 2020-09-29 13:46:10 -0500 |
commit | 5ec0a7b0aa543203ade7920389fdf922865f59a0 (patch) | |
tree | 02b5fc297648476910f028f3e69d8961797514a6 | |
parent | a7316acfe9110ee8b7c1482d3eae613aa5d75d1a (diff) | |
download | genenetwork2-5ec0a7b0aa543203ade7920389fdf922865f59a0.tar.gz |
Changed the DataTables column sort arrows to a different color by
changing the image they're referencing
* wqflask/wqflask/templates/base.html - Added CSS changing the table
sort arrow image directly into
base.html because it requires using url_for to reference the images in
the GUIX profile (so it needs to be in the template and can't just be
added to a CSS file)
-rw-r--r-- | wqflask/wqflask/templates/base.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html index e6802cc4..b44538cf 100644 --- a/wqflask/wqflask/templates/base.html +++ b/wqflask/wqflask/templates/base.html @@ -21,6 +21,14 @@ {% block css %} {% endblock %} + <style> + table.dataTable thead .sorting_asc { + background-image: url({{ url_for("js", filename="DataTables/images/sort_asc_disabled.png") }}); + } + table.dataTable thead .sorting_desc { + background-image: url({{ url_for("js", filename="DataTables/images/sort_desc_disabled.png") }}); + } + </style> </head> <body style="width: 100%"> |