diff options
-rw-r--r-- | python/fatcat_web/static/ia_logo_text.png | bin | 0 -> 7463 bytes | |||
-rw-r--r-- | python/fatcat_web/static/paper_man_confused.gif | bin | 0 -> 13181 bytes | |||
-rw-r--r-- | python/fatcat_web/templates/base.html | 2 | ||||
-rw-r--r-- | python/fatcat_web/templates/container_search.html | 2 | ||||
-rw-r--r-- | python/fatcat_web/templates/entity_history.html | 5 | ||||
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 2 | ||||
-rw-r--r-- | python/fatcat_web/templates/home.html | 20 | ||||
-rw-r--r-- | python/fatcat_web/templates/release_search.html | 2 |
8 files changed, 18 insertions, 15 deletions
diff --git a/python/fatcat_web/static/ia_logo_text.png b/python/fatcat_web/static/ia_logo_text.png Binary files differnew file mode 100644 index 00000000..ddfc773a --- /dev/null +++ b/python/fatcat_web/static/ia_logo_text.png diff --git a/python/fatcat_web/static/paper_man_confused.gif b/python/fatcat_web/static/paper_man_confused.gif Binary files differnew file mode 100644 index 00000000..50cf2e2f --- /dev/null +++ b/python/fatcat_web/static/paper_man_confused.gif diff --git a/python/fatcat_web/templates/base.html b/python/fatcat_web/templates/base.html index 9e4d8c14..ba62eaba 100644 --- a/python/fatcat_web/templates/base.html +++ b/python/fatcat_web/templates/base.html @@ -23,7 +23,7 @@ </style> {% block extra_head %}{% endblock %} </head> -<body style="margin-bottom: 100px;"> +<body style="margin-bottom: 130px;"> <header class="ui fixed inverted menu"> <div class="ui container"> diff --git a/python/fatcat_web/templates/container_search.html b/python/fatcat_web/templates/container_search.html index b2a4ec34..6f1c3e81 100644 --- a/python/fatcat_web/templates/container_search.html +++ b/python/fatcat_web/templates/container_search.html @@ -50,7 +50,7 @@ Raw query was: <i>{{ found.query.q }}</i> <div class="ui centered stackable grid" style="padding-top: 15%;"> <div class="row"> <div class="four wide column"> - <img src="https://ia800105.us.archive.org/20/items/OA-JOURNAL-TESTCRAWL-TWO-2018/papers.gif"> + <img src="/static/paper_man_confused.gif"> </div> <div class="six wide column"> <h2>No results found!</h2> diff --git a/python/fatcat_web/templates/entity_history.html b/python/fatcat_web/templates/entity_history.html index 2079b464..c9f45d84 100644 --- a/python/fatcat_web/templates/entity_history.html +++ b/python/fatcat_web/templates/entity_history.html @@ -26,8 +26,11 @@ This table only shows <i>merged</i> edits, not work-in-progress. </a></code> <br> <small><code><a href="/editgroup/{{ entry.editgroup.editgroup_id }}"> - {{ entry.editgroup.editgroup_id }} + editgroup_{{ entry.editgroup.editgroup_id }} </a></code></small> + <a href="/editgroup/{{ entry.editgroup.editgroup_id }}/{{ entity_type }}/{{ entry.edit.ident }}"> + [view] + </a> <td>{% if entry.editgroup.description != None %}{{ entry.editgroup.description }}{% endif %} {% endfor %} </table> diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 4b70651f..56ec6c5d 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -56,7 +56,7 @@ <tr><td class="three wide right aligned"><code>{{ key }}.{{ inner_key }}</code></td> <td class="seven wide"><code>{{ inner_value }}</code> {% endfor %} - {% elif key in ("urls") and value and value is iterable and value is not string %} + {% elif key in ("urls") and value and value is iterable and value is not string and value[0] is string %} <tr><td class="three wide right aligned"><code>{{ key }}</code></td> <td class="seven wide"> <code> diff --git a/python/fatcat_web/templates/home.html b/python/fatcat_web/templates/home.html index 399b16ce..01349622 100644 --- a/python/fatcat_web/templates/home.html +++ b/python/fatcat_web/templates/home.html @@ -27,7 +27,8 @@ </div> <div class="ui vertical stripe segment"> - <div class="ui centered grid"> + <div class="ui text container" style="max-width: 800px!important;"> + <div class="ui centered equal grid"> <div class="row"> <div class="four wide mobile three wide center aligned column"> <a href="/stats" style="color: black;"> @@ -46,18 +47,18 @@ </div> </div> </div> + </div> </div> <div class="ui vertical stripe segment" style="padding-top: 2em; padding-bottom: 2em;"> - <div class="ui text container"> + <div class="ui text container" style="max-width: 800px!important;"> <div class="ui centered grid"> <div class="row"> <div class="four wide column"> <!-- TODO: don't let it scale down --> - <img src="https://ia800105.us.archive.org/20/items/OA-JOURNAL-TESTCRAWL-TWO-2018/papers.gif" width="130px"> + <img src="/static/paper_man_confused.gif" width="130px"> </div> - <!-- TODO: larger font size --> - <div class="twelve wide column" style="font-size: 1.1rem;"> + <div class="twelve wide column" style="font-size: 1.2rem;"> <p><b>Fatcat is a versioned, user-editable catalog of research publications including journal articles, conference proceedings, and datasets</b> @@ -73,11 +74,10 @@ </div> <div class="ui vertical stripe segment" style="padding-top: 2em; padding-bottom: 2em; background-color: #F5F5F5;"> - <div class="ui text container"> + <div class="ui text container" style="max-width: 800px!important;"> <div class="ui centered grid"> <div class="row"> - <!-- TODO: larger font size --> - <div class="twelve wide column" style="font-size: 1.1rem;"> + <div class="twelve wide column" style="font-size: 1.2rem;"> <p>The fatcat servcie is developed and hosted at <b><a href="https://archive.org">The Internet Archive</a></b>, a US non-profit dedicated to providing Universal Access to All Knowledge. @@ -87,7 +87,7 @@ web which could otherwise be lost. </div> <div class="four wide column"> - <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/84/Internet_Archive_logo_and_wordmark.svg/250px-Internet_Archive_logo_and_wordmark.svg.png" width="140px"> + <img src="/static/ia_logo_text.png" width="140px"> </div> </div> </div> @@ -118,7 +118,7 @@ <br> <center> -<table class="ui single line unstackable table centered" style="max-width: 750px;"> +<table class="ui single line unstackable table centered" style="max-width: 800px; font-size: 1.1rem;"> <thead> <tr><th>Entity Type <th>Actions diff --git a/python/fatcat_web/templates/release_search.html b/python/fatcat_web/templates/release_search.html index f7840a28..9383d45c 100644 --- a/python/fatcat_web/templates/release_search.html +++ b/python/fatcat_web/templates/release_search.html @@ -110,7 +110,7 @@ Raw query was: <i>{{ found.query.q }}</i> <div class="ui centered stackable grid" style="padding-top: 15%;"> <div class="row"> <div class="four wide column"> - <img src="https://ia800105.us.archive.org/20/items/OA-JOURNAL-TESTCRAWL-TWO-2018/papers.gif"> + <img src="/static/paper_man_confused.gif"> </div> <div class="six wide column"> <h2>No results found!</h2> |