From 6f01632d40e6a6975320c8afb4e8037514fa6919 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 12 Jun 2018 13:17:02 +0200 Subject: [PATCH 1/2] light version included. Enter billing for pro --- .DS_Store | Bin 8196 -> 8196 bytes app/__init__.py | 4 +- app/cover.py | 4 +- app/templates/add_to_stacks.html | 2 +- app/templates/header.html | 6 ++ app/templates/home.html | 3 + app/templates/red_link.html | 12 ++- app/templates/results.html | 23 ++++-- app/templates/results_grid.html | 10 +-- app/templates/scape.html | 2 +- app/templates/show_book_detail.html | 10 ++- app/templates/show_books.html | 10 ++- app/templates/show_books_grid.html | 4 +- app/templates/show_stack_detail.html | 5 +- app/views.py | 111 +++++++++++++++------------ 15 files changed, 131 insertions(+), 75 deletions(-) diff --git a/.DS_Store b/.DS_Store index caf0f17faa2b896f7bdba23eb44344cd749791ac..ad16089b5dba032d0c85001cd76bdf47fc44c6f1 100644 GIT binary patch delta 228 zcmZp1XmOa3$b3AhU}NDl_K6L=o7p*}I2eylRuX976sxYb&`~fpu$;VBK$da(&oLQ9`FCb7_oEnsxlUR~jmg+? delta 278 zcmZp1XmOa3$b2%XU}NDl_K6L=o7p*}I2cb(RuX97mZ+{aG_}xCFtRk6yjnn(apvTc z0`iQrCchLgWa9CfEF)Mg6E7f8TAUh`nv+EveNKqekf!e-`*h!bJv646@5 bGn Chosen book:

{{ book.title }}

- +

These are all the stacks that have been built so far.

diff --git a/app/templates/header.html b/app/templates/header.html index 0d8b33d..fc9abe5 100755 --- a/app/templates/header.html +++ b/app/templates/header.html @@ -3,10 +3,16 @@
  • Home
  • Catalogue
  • Stacks
  • + {%if light%} + {%else%}
  • Add Book
  • Add Stack
  • + {%endif%}
  • About
  • + {%if light%} + {%else%}
  • Instances
  • + {%endif%}
    diff --git a/app/templates/home.html b/app/templates/home.html index 80eb66d..f406a4e 100755 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -15,6 +15,8 @@ Feel free to browse our catalogue, interfaced in many different ways.


    +{%if light%} +{%else%}
    @@ -23,6 +25,7 @@ Feel free to browse our catalogue, interfaced in many different ways. +{%endif%}
    diff --git a/app/templates/red_link.html b/app/templates/red_link.html index 77883b0..74c58b2 100755 --- a/app/templates/red_link.html +++ b/app/templates/red_link.html @@ -32,10 +32,13 @@
    {% endif %} {% endwith %} + {%if light%} + {%else%}

    +

    Add this book:

    @@ -72,6 +75,7 @@

    + {%endif%}

    More potential books

    @@ -83,7 +87,10 @@ + {%if light%} + {%else%} + {%endif%} @@ -91,7 +98,7 @@
    Year Category StackAdd to a stack
    - + - {% block css %} {% endblock%} @@ -43,16 +42,16 @@ {% block js %} {% endblock%} - - - - + + + + - - + +