diff --git a/bookwyrm/static/css/fonts/icomoon.eot b/bookwyrm/static/css/fonts/icomoon.eot index e031e7d2..c787c9bd 100644 Binary files a/bookwyrm/static/css/fonts/icomoon.eot and b/bookwyrm/static/css/fonts/icomoon.eot differ diff --git a/bookwyrm/static/css/fonts/icomoon.svg b/bookwyrm/static/css/fonts/icomoon.svg index 0323df05..e58847cd 100644 --- a/bookwyrm/static/css/fonts/icomoon.svg +++ b/bookwyrm/static/css/fonts/icomoon.svg @@ -30,6 +30,7 @@ + diff --git a/bookwyrm/static/css/fonts/icomoon.ttf b/bookwyrm/static/css/fonts/icomoon.ttf index d112fb65..8ba512da 100644 Binary files a/bookwyrm/static/css/fonts/icomoon.ttf and b/bookwyrm/static/css/fonts/icomoon.ttf differ diff --git a/bookwyrm/static/css/fonts/icomoon.woff b/bookwyrm/static/css/fonts/icomoon.woff index bbac704f..50261c68 100644 Binary files a/bookwyrm/static/css/fonts/icomoon.woff and b/bookwyrm/static/css/fonts/icomoon.woff differ diff --git a/bookwyrm/static/css/icons.css b/bookwyrm/static/css/icons.css index 1f34f78c..09c22e1a 100644 --- a/bookwyrm/static/css/icons.css +++ b/bookwyrm/static/css/icons.css @@ -1,10 +1,10 @@ @font-face { font-family: 'icomoon'; - src: url('fonts/icomoon.eot?ouoizu'); - src: url('fonts/icomoon.eot?ouoizu#iefix') format('embedded-opentype'), - url('fonts/icomoon.ttf?ouoizu') format('truetype'), - url('fonts/icomoon.woff?ouoizu') format('woff'), - url('fonts/icomoon.svg?ouoizu#icomoon') format('svg'); + src: url('fonts/icomoon.eot?aeb2zb'); + src: url('fonts/icomoon.eot?aeb2zb#iefix') format('embedded-opentype'), + url('fonts/icomoon.ttf?aeb2zb') format('truetype'), + url('fonts/icomoon.woff?aeb2zb') format('woff'), + url('fonts/icomoon.svg?aeb2zb#icomoon') format('svg'); font-weight: normal; font-style: normal; font-display: block; @@ -25,6 +25,9 @@ -moz-osx-font-smoothing: grayscale; } +.icon-check:before { + content: "\e917"; +} .icon-dots-three:before { content: "\e916"; } diff --git a/bookwyrm/templates/book.html b/bookwyrm/templates/book.html index d271f9c1..af79f57f 100644 --- a/bookwyrm/templates/book.html +++ b/bookwyrm/templates/book.html @@ -27,11 +27,18 @@ {% include 'snippets/shelve_button.html' %} {% if request.user.is_authenticated and not book.cover %} -
- {% csrf_token %} - {{ cover_form.as_p }} - -
+
+
+ {% csrf_token %} +
+ + +
+
+ +
+
+
{% endif %}
@@ -60,59 +67,85 @@ + + +
+ +
-
- -
- +
diff --git a/bookwyrm/templates/search_results.html b/bookwyrm/templates/search_results.html index cb997298..add82a7d 100644 --- a/bookwyrm/templates/search_results.html +++ b/bookwyrm/templates/search_results.html @@ -49,7 +49,7 @@ {% csrf_token %}
{% include 'snippets/search_result_text.html' with result=result link=False %}
- + {% endfor %} diff --git a/bookwyrm/templates/shelf.html b/bookwyrm/templates/shelf.html index 96279543..8e6cc9f8 100644 --- a/bookwyrm/templates/shelf.html +++ b/bookwyrm/templates/shelf.html @@ -1,7 +1,7 @@ {% extends 'layout.html' %} {% load fr_display %} {% block content %} -{% include 'user_header.html' with user=user %} +{% include 'snippets/user_header.html' with user=user %}
diff --git a/bookwyrm/templates/snippets/create_status.html b/bookwyrm/templates/snippets/create_status.html index 9055e2d4..f8c5b3cf 100644 --- a/bookwyrm/templates/snippets/create_status.html +++ b/bookwyrm/templates/snippets/create_status.html @@ -1,109 +1,31 @@ {% load humanize %} {% load fr_display %} -
-
-
- -
- -
- - -
- -
- - -
- -
- - -
-
+
+ +
+ +
+ + {% include 'snippets/create_status_form.html' with type='review' %} +
+ +
+ + {% include 'snippets/create_status_form.html' with type="comment" placeholder="Some thougts on '"|add:book.title|add:"'" %} +
+ +
+ + {% include 'snippets/create_status_form.html' with type="quote" placeholder="An excerpt from '"|add:book.title|add:"'" %}
diff --git a/bookwyrm/templates/snippets/create_status_form.html b/bookwyrm/templates/snippets/create_status_form.html new file mode 100644 index 00000000..fd88426a --- /dev/null +++ b/bookwyrm/templates/snippets/create_status_form.html @@ -0,0 +1,40 @@ + + diff --git a/bookwyrm/templates/snippets/follow_button.html b/bookwyrm/templates/snippets/follow_button.html index 1f914a6c..3fdcbab8 100644 --- a/bookwyrm/templates/snippets/follow_button.html +++ b/bookwyrm/templates/snippets/follow_button.html @@ -11,14 +11,14 @@ Follow request already sent. {% csrf_token %} {% if user.manually_approves_followers %} - + {% else %} - + {% endif %} {% endif %} diff --git a/bookwyrm/templates/snippets/follow_request_buttons.html b/bookwyrm/templates/snippets/follow_request_buttons.html index 165887e0..b6296d3f 100644 --- a/bookwyrm/templates/snippets/follow_request_buttons.html +++ b/bookwyrm/templates/snippets/follow_request_buttons.html @@ -3,11 +3,11 @@
{% csrf_token %} - +
{% csrf_token %} - +
{% endif %} diff --git a/bookwyrm/templates/snippets/shelf.html b/bookwyrm/templates/snippets/shelf.html index adee004e..a9238a45 100644 --- a/bookwyrm/templates/snippets/shelf.html +++ b/bookwyrm/templates/snippets/shelf.html @@ -71,7 +71,7 @@ {% csrf_token %} - + {% elif active_shelf.identifier == 'reading' %}
- +
@@ -99,7 +104,7 @@