aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-30 23:35:05 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-30 23:35:05 -0700
commit7233c2b12ada5cccda0a30fd74d127df711aa279 (patch)
tree275226c9dd1c34f5a72184de961a116f41587653
parent5e2fecf4b81a878ec4321cdd85d6a594e94c1eb2 (diff)
downloadfatcat-7233c2b12ada5cccda0a30fd74d127df711aa279.tar.gz
fatcat-7233c2b12ada5cccda0a30fd74d127df711aa279.zip
larger font (slightly)
-rw-r--r--python/fatcat/templates/container_view.html2
-rw-r--r--python/fatcat/templates/creator_view.html2
-rw-r--r--python/fatcat/templates/file_view.html8
-rw-r--r--python/fatcat/templates/release_view.html29
-rw-r--r--python/fatcat/templates/work_view.html2
5 files changed, 23 insertions, 20 deletions
diff --git a/python/fatcat/templates/container_view.html b/python/fatcat/templates/container_view.html
index db7e0d24..e65b65b1 100644
--- a/python/fatcat/templates/container_view.html
+++ b/python/fatcat/templates/container_view.html
@@ -11,7 +11,7 @@
<div class="ui stackable mobile reversed grid centered">
<div class="one wide column"></div>
-<div class="ten wide column">
+<div class="ten wide column" style="font-size: 16px;">
<p><b>Publisher:</b>
{% if container.publisher != None %}{{ container.publisher }}{% else %}<i>Unknown</i>{% endif %}
diff --git a/python/fatcat/templates/creator_view.html b/python/fatcat/templates/creator_view.html
index a8a7cf51..91c0ee52 100644
--- a/python/fatcat/templates/creator_view.html
+++ b/python/fatcat/templates/creator_view.html
@@ -11,7 +11,7 @@
<div class="ui stackable mobile reversed grid centered">
<div class="one wide column"></div>
-<div class="ten wide column">
+<div class="ten wide column" style="font-size: 16px;">
<p><b>Given ("first") name:</b>
{% if creator.given_name != None %}{{ creator.given_name}}{% else %}<i>None or unknown</i>{% endif %}
diff --git a/python/fatcat/templates/file_view.html b/python/fatcat/templates/file_view.html
index e42d7d75..8ded9ced 100644
--- a/python/fatcat/templates/file_view.html
+++ b/python/fatcat/templates/file_view.html
@@ -11,7 +11,7 @@
<div class="ui stackable mobile reversed grid centered">
<div class="one wide column"></div>
-<div class="ten wide column">
+<div class="ten wide column" style="font-size: 16px;">
{% if file.extra != None %}
<h3>Extra Metadata (raw JSON)</h3>
@@ -51,15 +51,15 @@ No known public URL, mirror, or archive for this file.
<tbody>
{% if file.sha1 != None %}
<tr><td>SHA-1
- <td><code>{{ file.sha1 }}
+ <td><small><code>{{ file.sha1 }}</code></small>
{% endif %}
{% if file.sha1 != None %}
<tr><td>SHA-256
- <td><code>{{ file.sha256 }}
+ <td><small><code>{{ file.sha256 }}</code></small>
{% endif %}
{% if file.md5!= None %}
<tr><td>MD5
- <td><code>{{ file.md5 }}
+ <td><small><code>{{ file.md5 }}</code></small>
{% endif %}
</table>
diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html
index 45997caa..31502f92 100644
--- a/python/fatcat/templates/release_view.html
+++ b/python/fatcat/templates/release_view.html
@@ -6,6 +6,7 @@
<div class="fifteen wide column">
<h1 class="ui header">{{ release.title }}
<div class="sub header"><code>release {{ release.ident }}</code></div></h1>
+ <p style="font-size: larger;">
{% if authors != [] %} by {% endif %}
{% for contrib in authors %}
{% if contrib.creator_id %}
@@ -19,7 +20,7 @@
<div class="ui stackable mobile reversed grid centered">
<div class="one wide column"></div>
-<div class="ten wide column">
+<div class="ten wide column" style="font-size: 16px;">
{% if release.release_date != None %}<p><b>Date (published):</b> {{ release.release_date }}{% endif %}
{% if release.doi != None %}
@@ -36,14 +37,16 @@
linked to the same work.
{% if container != None %}
-<div class="ui segment">
- <div class="ui top attached label">
- {% if release.release_status == 'published' %}
- Published as a <i>{{ release.release_type }}</i> in <a href="/container/{{ container.ident }}">{{ container.name }}</a>
- {% else %}
- A <i>{{ release.release_type }}</i> in <a href="/container/{{ container.ident }}">{{ container.name }}</a>
- {% endif %}
- </div><br>
+<div class="ui attached message">
+<h4>
+{% if release.release_status == 'published' %}
+ Published in <a href="/container/{{ container.ident }}">{{ container.name }}</a>
+{% else %}
+ In <i>{{ release.release_type }}</i> in <a href="/container/{{ container.ident }}">{{ container.name }}</a>
+{% endif %}
+</h4>
+</div>
+<div class="ui segment attached">
{% if container != None and container.issnl != None %}<b>ISSN-L:</b> {{ container.issnl }}<br>{% endif %}
{% if release.volume != None %}<b>Volume:</b> {{ release.volume }}<br>{% endif %}
{% if release.issue != None %}<b>Issue:</b> {{ release.issue }}<br>{% endif %}
@@ -70,7 +73,7 @@ Raw Object:
<h3>Files</h3>
{% if files != [] %}
Believed to represent this release...
-<table class="ui table">
+<table class="ui compact table">
<thead>
<tr><th>SHA-1
<th>Size (bytes)
@@ -79,7 +82,7 @@ Believed to represent this release...
</thead>
<tbody>
{% for file in files %}
- <tr><td><a href="/file/{{ file.ident }}">{{ file.sha1}}</a>
+ <tr><td><small><code><a href="/file/{{ file.ident }}">{{ file.sha1}}</a></code></small>
<td>{{ file.size }}
<td>{{ file.mimetype }}
<td><a href="{{ file.url }}">{{ file.url.split('/')[2] }}</a>
@@ -96,7 +99,7 @@ Believed to represent this release...
<br>
<h3>All Contributors</h3>
{% if release.contribs.size != 0 %}
-<table class="ui table">
+<table class="ui compact table">
<thead>
<tr><th>Attribution Order
<th>Name
@@ -196,7 +199,7 @@ This release citing other releases.
{% if container.issnl != None %}
<i class="icon hashtag"></i>ISSN-L: &nbsp;<code>{{ container.issnl }}</code><br>
{% endif %}
- <i class="icon linkify"></i>Fatcat: &nbsp;<small><code><a href="/container/{{ container.ident }}">{{ container.ident }}</a></code><small><br>
+ <i class="icon linkify"></i>Fatcat: &nbsp;<small><code><a href="/container/{{ container.ident }}">{{ container.ident }}</a></code></small><br>
</div><div class="ui segment attached">
{% endif %}
diff --git a/python/fatcat/templates/work_view.html b/python/fatcat/templates/work_view.html
index 9225e8a4..ced19397 100644
--- a/python/fatcat/templates/work_view.html
+++ b/python/fatcat/templates/work_view.html
@@ -11,7 +11,7 @@
<div class="ui stackable mobile reversed grid centered">
<div class="one wide column"></div>
-<div class="ten wide column">
+<div class="ten wide column" style="font-size: 16px;">
{% if work.extra != None %}
<h3>Extra Metadata (raw JSON)</h3>