[damned-lies] Style the login page
- From: Tom Tryfonidis <tomtryf src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies] Style the login page
- Date: Wed, 3 Oct 2012 21:07:43 +0000 (UTC)
commit 0ca932055ecaa8e7158f462e3d8079ebab0e043f
Author: Tom Tryfonidis <tomtryf gmail com>
Date: Thu Oct 4 00:07:36 2012 +0300
Style the login page
templates/login.html | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/templates/login.html b/templates/login.html
index f26fba9..0649637 100644
--- a/templates/login.html
+++ b/templates/login.html
@@ -7,11 +7,12 @@
{% block content %}
<div class="mainpage">
+<h2>{% trans "User Login" %}</h2>
{% if user.is_authenticated %}
<p>{% blocktrans with user.username as username %}You are already logged in as {{ username }}.{% endblocktrans %}</p>
{% else %}
{% url 'register' as link %}
-<p>{% blocktrans %}If you do not own an account on this site, you can <a href='{{ link }}'>register</a> for a new account.{% endblocktrans %}</p>
+<p class="main_register">{% blocktrans %}If you do not own an account on this site, you can <a href='{{ link }}'>register</a> for a new account.{% endblocktrans %}</p>
<p>{% trans 'Log in with your username and password:' %}</p>
<form action="{% url 'login' %}" method="post" id="login-form" class="login">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]