diff --git a/src/frontend/settings.py b/src/frontend/settings.py index f146b9a..8747a60 100755 --- a/src/frontend/settings.py +++ b/src/frontend/settings.py @@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) SECRET_KEY = "@(9b9jslgg41u1u=mr)-2*-n2x0vef0zsy39*z@sz18&tvow18" # SECURITY WARNING: don't run with debug turned on in production! -DEBUG = True +DEBUG = False ALLOWED_HOSTS = ["*"] diff --git a/src/interface/models.py b/src/interface/models.py deleted file mode 100755 index b2f5951..0000000 --- a/src/interface/models.py +++ /dev/null @@ -1,34 +0,0 @@ -from django.db import models - -# Create your models here. - - -class Books(models.Model): - """ - pyShelfs Book Database class - :param title: Book title - :param author: Author - :param categories: Categories <-- Not implemented - :param cover: Cover image BinaryField - :param pages: # of pages <-- Not implemented - :param progress: Reader percentage <-- Not implented - :param file_name: Path to book - """ - - class Meta: - db_table = "books" - - def __str__(self): - return self.title - - title = models.CharField(max_length=255) - author = models.CharField(max_length=255, null=True) - categories = models.CharField(max_length=255, null=True) - cover = models.BinaryField(null=True, editable=True) - pages = models.IntegerField(null=True) - progress = models.IntegerField(null=True) - file_name = models.CharField(max_length=255, null=False) - - def get_absolute_url(self): - """Returns the url to access a particular instance of MyModelName.""" - return reverse("model-detail-view", args=[str(self.id)]) diff --git a/src/interface/static/css/main.css b/src/interface/static/css/main.css index 01cce68..07cdfc2 100755 --- a/src/interface/static/css/main.css +++ b/src/interface/static/css/main.css @@ -56,7 +56,7 @@ body{ } .app_subhdr{ grid-area: subhdr; - margin: 0; + margin: 0px 5px; font-family: 'Gruppo', cursive; font-size: 18px; text-align: end; diff --git a/src/interface/static/img/pyShelf_frontend_0_1_0.png b/src/interface/static/img/pyShelf_frontend_0_1_0.png index 4c89425..9fd1ddc 100644 Binary files a/src/interface/static/img/pyShelf_frontend_0_1_0.png and b/src/interface/static/img/pyShelf_frontend_0_1_0.png differ diff --git a/src/interface/templates/index.html b/src/interface/templates/index.html index 2365091..be55ec3 100755 --- a/src/interface/templates/index.html +++ b/src/interface/templates/index.html @@ -25,7 +25,9 @@