From d740456df59f9e44b13272dc625549fe079c3bf5 Mon Sep 17 00:00:00 2001 From: Raelon Masters Date: Mon, 1 Jun 2020 09:05:28 -0400 Subject: [PATCH] Started UI Changes --- src/backend/lib/library.py | 1 - src/interface/static/css/main.css | 19 ++++++++++++------- src/interface/templates/index.html | 18 +----------------- 3 files changed, 13 insertions(+), 25 deletions(-) diff --git a/src/backend/lib/library.py b/src/backend/lib/library.py index 320abee..e85bc4f 100755 --- a/src/backend/lib/library.py +++ b/src/backend/lib/library.py @@ -28,7 +28,6 @@ class Catalogue: self.html_regx = re.compile(r"\.html") self.root_dir = config.root self.book_folder = config.book_path - # self.book_shelf = config.book_shelf self.books = None self.db_pointer = config.catalogue_db self.config = config diff --git a/src/interface/static/css/main.css b/src/interface/static/css/main.css index 060213a..c3f93d9 100755 --- a/src/interface/static/css/main.css +++ b/src/interface/static/css/main.css @@ -8,11 +8,12 @@ body { #app { display: grid; - grid-template-areas: "app_header" + grid-template-areas: + "app_header" "app_body" "app_footer"; - grid-template-rows: auto auto auto; - /*max-height: 100%;*/ + grid-template-rows: 52px auto auto; + /* max-height: 100%; */ } .clear { @@ -24,30 +25,32 @@ body { margin: 0px; display: grid; grid-template-areas: - "title slogan subhdr" - "nav_left_top nav_center_top nav_right_top"; - align-items: center; - background-color: #2b2b2b; + "title nav_left_top nav_center_top nav_right_top"; + grid-template-columns: 225px auto auto; padding: 4px 0px 4px; grid-auto-columns: auto; + background-color: #2b2b2b; } .nav_left_top { grid-area: nav_left_top; display: flex; justify-content: left; + align-items: center; } .nav_center_top { grid-area: nav_center_top; display: flex; justify-content: center; + align-items: center; } .nav_right_top { grid-area: nav_right_top; display: flex; justify-content: flex-end; + align-items: center; } .app_hdr { @@ -225,12 +228,14 @@ body { margin: 0px 5px 0px 0px; padding-top: 2px; padding-bottom: 2px; + max-height: 20px; } .nav_search { margin: 0px 5px 0px 0px; border-radius: 5px; border: 1px solid #999; + max-height: 17px; } .search {} diff --git a/src/interface/templates/index.html b/src/interface/templates/index.html index d8ea54b..6990132 100755 --- a/src/interface/templates/index.html +++ b/src/interface/templates/index.html @@ -17,28 +17,12 @@ +

pyShelf {{Version}}

-
-

"An elegant tool... for a more civilized age."

-
-
- - - - - Fork - - Issue - -
-