From 5f9ddae0a9d9935a593222b64b12703e141f24ca Mon Sep 17 00:00:00 2001 From: ashok Date: Sun, 6 Sep 2015 22:22:05 +0530 Subject: [PATCH] Login Page --- plinth/templates/base.html | 11 +++++++---- plinth/templates/login.html | 8 +++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/plinth/templates/base.html b/plinth/templates/base.html index 5d7a107e4..ea822e6b9 100644 --- a/plinth/templates/base.html +++ b/plinth/templates/base.html @@ -95,13 +95,13 @@ + {% if user.is_authenticated %}
  • Log out
  • - {% else %} + + {% else %} +
  • Log in - {% endif %} -
  • + + {% endif %} + {% if user.is_authenticated %}
  • diff --git a/plinth/templates/login.html b/plinth/templates/login.html index ddd28b592..00486dca6 100644 --- a/plinth/templates/login.html +++ b/plinth/templates/login.html @@ -26,12 +26,14 @@
    {% csrf_token %} -
    +
    {{ form|bootstrap }} -
    +
    + +
    +
    -