From 99cdc60c4746c333e8398369e3416074d874d249 Mon Sep 17 00:00:00 2001 From: Mike Young Date: Sun, 17 Nov 2019 09:39:31 -0500 Subject: [PATCH] Refactor for templating --- {app => frontend/interface}/static/css/main.css | 0 {app => frontend/interface}/static/img/py.png | Bin {app => frontend/interface}/static/img/shelf.png | Bin .../interface/templates}/index.html | 13 ++++++++++--- 4 files changed, 10 insertions(+), 3 deletions(-) rename {app => frontend/interface}/static/css/main.css (100%) rename {app => frontend/interface}/static/img/py.png (100%) rename {app => frontend/interface}/static/img/shelf.png (100%) rename {app/static => frontend/interface/templates}/index.html (61%) diff --git a/app/static/css/main.css b/frontend/interface/static/css/main.css similarity index 100% rename from app/static/css/main.css rename to frontend/interface/static/css/main.css diff --git a/app/static/img/py.png b/frontend/interface/static/img/py.png similarity index 100% rename from app/static/img/py.png rename to frontend/interface/static/img/py.png diff --git a/app/static/img/shelf.png b/frontend/interface/static/img/shelf.png similarity index 100% rename from app/static/img/shelf.png rename to frontend/interface/static/img/shelf.png diff --git a/app/static/index.html b/frontend/interface/templates/index.html similarity index 61% rename from app/static/index.html rename to frontend/interface/templates/index.html index 9e95ecb..f8abef9 100755 --- a/app/static/index.html +++ b/frontend/interface/templates/index.html @@ -1,10 +1,11 @@ +{% load filters %} - + pyShelf E-Book Server @@ -19,12 +20,18 @@ left_col
-
Shelf
+
+
    + {% for book in Books %} +
  • {{ book.title }} Embedded Image
  • + {% endfor %} +
+