From 298ca50ac637b9fd95a475d9cdc56a095d8970b2 Mon Sep 17 00:00:00 2001 From: Felipe Henrique de Almeida Bormann Date: Fri, 23 Dec 2016 15:11:14 -0300 Subject: [PATCH] modified categories model to support null parent categories and changed index layout a bit for usefulness --- amadeus/static/css/base/amadeus.css | 6 +++--- amadeus/static/nothing.txt | 0 amadeus/templates/base.html | 2 +- categories/forms.py | 4 ++++ categories/migrations/0002_auto_20161223_1504.py | 21 +++++++++++++++++++++ categories/models.py | 2 +- categories/views.py | 4 ++-- 7 files changed, 32 insertions(+), 7 deletions(-) delete mode 100644 amadeus/static/nothing.txt create mode 100644 categories/migrations/0002_auto_20161223_1504.py diff --git a/amadeus/static/css/base/amadeus.css b/amadeus/static/css/base/amadeus.css index 5d86939..956fd99 100755 --- a/amadeus/static/css/base/amadeus.css +++ b/amadeus/static/css/base/amadeus.css @@ -2,13 +2,13 @@ /* sidebar menu */ #sidebar-menu{ - margin-left: 10%; + margin-left: 30%; } #sidebar-menu > .item{ font-size: 45px; background-color: #26A69A; color: white; - width: 50%; + width: 80%; margin-bottom: 3%; } @@ -20,7 +20,7 @@ #sidebar-menu > .item i { - margin-left: 10%; + margin-left: 15%; } /* side bar menu ends*/ diff --git a/amadeus/static/nothing.txt b/amadeus/static/nothing.txt deleted file mode 100644 index e69de29..0000000 --- a/amadeus/static/nothing.txt +++ /dev/null diff --git a/amadeus/templates/base.html b/amadeus/templates/base.html index 4b9c7df..637b62e 100644 --- a/amadeus/templates/base.html +++ b/amadeus/templates/base.html @@ -70,7 +70,7 @@ - +