diff options
author | Martin Czygan <martin.czygan@gmail.com> | 2019-11-14 15:02:22 +0100 |
---|---|---|
committer | Martin Czygan <martin.czygan@gmail.com> | 2019-11-14 15:02:22 +0100 |
commit | 6956dc39c2df9a6db5b6b402b931cf5baf586232 (patch) | |
tree | d83f08ffd6646d64932a473b96dba5da35fe072e /python/fatcat_web/templates/entity_macros.html | |
parent | 116a47f6057245159851ff204f9e4c1e643c3d8d (diff) | |
download | fatcat-6956dc39c2df9a6db5b6b402b931cf5baf586232.tar.gz fatcat-6956dc39c2df9a6db5b6b402b931cf5baf586232.zip |
gray out inactive navigation links
As per [this
issue](https://github.com/Semantic-Org/Semantic-UI/issues/1885#issuecomment-77619519),
text colors are not supported in semantic ui.
To not move text too much, gray out inactive links.
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 5e980fec..390327bc 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -259,7 +259,7 @@ yellow <a href="{{ url_for('release_search', q=found.query.q, offset=found.offset - found.limit) }}">« Previous</a> {% endif %} {% else %} - « Previous + <span style="color:gray">« Previous</span> {% endif %} <i>Showing results {{ found.offset }} — {{ found.offset + @@ -268,7 +268,7 @@ found.count_returned }} out of {{ found.count_found }} results</i> {% if found.offset + found.limit < found.count_found and found.offset + found.limit < found.deep_page_limit %} <a href="{{ url_for('release_search', q=found.query.q, offset=found.offset + found.limit) }}">Next »</a> {% else %} - Next » + <span style="color:gray">Next »</span> {% endif %} </div> |