aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-04-12 15:50:44 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-04-12 17:35:53 -0700
commit151832cd805b85bea57cbf888491e081607eb040 (patch)
treecb4c47370614060ce2c897aa25df67bc28021542 /python/fatcat_web/templates
parent554a5059c3b60d949075577611da7bceadbb4e49 (diff)
downloadfatcat-151832cd805b85bea57cbf888491e081607eb040.tar.gz
fatcat-151832cd805b85bea57cbf888491e081607eb040.zip
web: improve access button HTML
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/file_view.html3
-rw-r--r--python/fatcat_web/templates/release_view.html2
2 files changed, 2 insertions, 3 deletions
diff --git a/python/fatcat_web/templates/file_view.html b/python/fatcat_web/templates/file_view.html
index 0f5a5fc6..8ed7b084 100644
--- a/python/fatcat_web/templates/file_view.html
+++ b/python/fatcat_web/templates/file_view.html
@@ -55,9 +55,8 @@ No known archives or mirrors of this file.
No Public URL
</span>
{% endif %}
-<br>
-<div class="ui top segment attached">
+<div class="ui top attached segment">
{% if file.size != None %}
<b>Size</b> &nbsp;{{ file.size|filesizeformat }}<br>
{% endif %}
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 898cd369..cc7bfc1b 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -203,7 +203,7 @@ accessible version.
<div class="column" style="flex: 0 0 24em;">
{% if entity.state == 'active' and entity._es and entity._es.ia_pdf_url %}
- <a href="{{ entity._es.ia_pdf_url }}" class="ui top attached fluid huge black button" style="text-decoration: underline;">
+ <a href="{{ entity._es.ia_pdf_url }}" class="ui fluid huge black button" style="text-decoration: underline;">
<i class="file pdf outline icon"></i>Read Archived PDF
</a>
{% elif entity.state == 'active' and entity.webcaptures != [] and entity.webcaptures[0].archive_urls != [] and entity.webcaptures[0].archive_urls[0].rel == "wayback" %}