From 5e4846340396e2b03df97907885751bf40a9f54d Mon Sep 17 00:00:00 2001 From: crunk Date: Sat, 30 Mar 2024 20:23:24 +0100 Subject: [PATCH] small fixed --- README.md | 5 +++-- library/static/css/style.css | 2 +- library/templates/menu.html | 2 ++ library/templates/publication.html | 2 ++ 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9e88aa6..b408b37 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # csv-library-website > Work in progress: this is a simple flask application that turns a csv file into a website. -> originally used to show books like in the [Varia Library Website](https://library.varia.zone/).. but can me used for any collection described in the csv file +> originally used to show books like in the [Varia Library Website](https://library.varia.zone/).. but it can be used for any collection described in the csv file ## Hacking @@ -24,7 +24,8 @@ Or run `make`. ## readme driven development * add regular login instead of a secret key ✅ * have a settings file for the application ✅ -* downloadable pdfs +* downloadable pdfs ✅ +* uploadable pdfs * upon boot check for images of the book otherwise extract front page of pdfs * remove varia library specific code ✅ * implement [openlibrary](https://openlibrary.org/) ISBN to book in libarary software diff --git a/library/static/css/style.css b/library/static/css/style.css index 7e65c18..dac02ba 100644 --- a/library/static/css/style.css +++ b/library/static/css/style.css @@ -48,6 +48,7 @@ html, body { } #publication { + margin-bottom: 3em; margin-top: 3em; margin-left: 1em; } @@ -64,7 +65,6 @@ tr { } td { - margin:0; padding: 0.5em; min-width: auto; max-width: 60%; diff --git a/library/templates/menu.html b/library/templates/menu.html index 2fa510d..5088b0d 100644 --- a/library/templates/menu.html +++ b/library/templates/menu.html @@ -3,9 +3,11 @@ + {% if current_user.is_authenticated %} + {% endif %}