From 09fa98f8b11a213c75b39a11eed5ef773c7f3863 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 19 Sep 2015 17:36:47 +0530 Subject: [PATCH] Make login box thinner and fix identation --- plinth/templates/base.html | 26 ++++++++++++++------------ plinth/templates/login.html | 5 +++-- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/plinth/templates/base.html b/plinth/templates/base.html index ea822e6b9..cd1497ba4 100644 --- a/plinth/templates/base.html +++ b/plinth/templates/base.html @@ -95,13 +95,15 @@ + {% if user.is_authenticated %} -
  • - - - -
  • -
  • + + + +
  • + +
  • Log out
  • - + {% else %} -
  • - - - Log in -
  • +
  • + + + Log in +
  • {% endif %} {% if user.is_authenticated %} diff --git a/plinth/templates/login.html b/plinth/templates/login.html index 00486dca6..740fb50db 100644 --- a/plinth/templates/login.html +++ b/plinth/templates/login.html @@ -26,10 +26,11 @@
    {% csrf_token %} -
    +
    {{ form|bootstrap }} +
    - +