aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-06 20:23:29 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-06 20:25:49 -0700
commit7fed7d4526305b31c623407dc1cd3f99877ea697 (patch)
tree26dbcdbe7d663b9844de3b6ab06f54c6930d3af4 /fatcat_scholar/templates
parent70988ab406a68542676c9665272ea26270f7bf82 (diff)
downloadfatcat-scholar-7fed7d4526305b31c623407dc1cd3f99877ea697.tar.gz
fatcat-scholar-7fed7d4526305b31c623407dc1cd3f99877ea697.zip
squish collapse button in with tags
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r--fatcat_scholar/templates/search_macros.html15
1 files changed, 7 insertions, 8 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html
index 05fbbdc..1368cb0 100644
--- a/fatcat_scholar/templates/search_macros.html
+++ b/fatcat_scholar/templates/search_macros.html
@@ -144,8 +144,8 @@
<a target="_blank" href="https://fatcat.wiki/release/{{paper.biblio.release_ident}}" style="color: green;">fatcat:{{ paper.biblio.release_ident}}</a> &nbsp;
{% endif %}
- {# ### TAGS #}
<div style="margin-top: 0.2em;">
+ {# ### TAGS #}
{# colors to use: olive, brown, grey, pink, red, etc #}
{# TODO: remove doc for ES 7.x-style lack of type #}
{# TODO: only show 'json' link if from cluster? #}
@@ -161,18 +161,17 @@
{% if paper.biblio.lang_code and paper.biblio.lang_code != (locale or 'en') %}
{{ tag_label("lang:" + paper.biblio.lang_code) }}
{% endif %}
- </div>
{# ### COLLAPSED HITS #}
{% if paper._collapsed_count > 0 %}
- <div style="padding-top: 0.5em;">
- <button class="ui compact basic blue button" form="search_form" type="submit" name="collapse_key" value="{{ paper.collapse_key }}">
- <i class="ui icon zoom-in"></i>
- Show {{ paper._collapsed_count }} additional hits from this issue
- </button>
- </div>
+ <button class="ui basic label blue small button" form="search_form" type="submit" name="collapse_key" value="{{ paper.collapse_key }}">
+ <i class="ui icon zoom-in"></i>
+ Show {{ paper._collapsed_count }} additional hits from this issue
+ </button>
{% endif %}
+ </div>
+
</div>
<div class="three wide left aligned column" style="padding-top: 0.5em; padding-right: 0.5em;">
{% if paper.fulltext and paper.fulltext.access_url %}