summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2019-11-14 15:02:22 +0100
committerMartin Czygan <martin.czygan@gmail.com>2019-11-14 15:02:22 +0100
commit6956dc39c2df9a6db5b6b402b931cf5baf586232 (patch)
treed83f08ffd6646d64932a473b96dba5da35fe072e /python
parent116a47f6057245159851ff204f9e4c1e643c3d8d (diff)
downloadfatcat-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')
-rw-r--r--python/fatcat_web/templates/entity_macros.html4
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) }}">&#xab; Previous</a>
{% endif %}
{% else %}
- &#xab; Previous
+ <span style="color:gray">&#xab; Previous</span>
{% endif %}
&nbsp;&nbsp;<i>Showing results {{ found.offset }} &mdash; {{ found.offset +
@@ -268,7 +268,7 @@ found.count_returned }} out of {{ found.count_found }} results</i>&nbsp;&nbsp;
{% 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 &#xbb;</a>
{% else %}
- Next &#xbb;
+ <span style="color:gray">Next &#xbb;</span>
{% endif %}
</div>