diff --git a/lms/static/css/account.css b/lms/static/css/account.css index 57da71e..8ac72ba 100644 --- a/lms/static/css/account.css +++ b/lms/static/css/account.css @@ -1,3 +1,46 @@ +.list-inline { + margin: 0; + padding: 0px 0px 20px 0px; + list-style: none; + display: table; /* [1] */ + table-layout: fixed; /* [2] */ + width: 100%; /* [3] */ + +} + +.account-nav { + text-align: center; + overflow: hidden; /* [1] */ +} + +.account-nav-item { + display: table-cell; /* [4] */ +} + +.account-nav-link { + border: none; + text-decoration: none; + -webkit-border-radius: 0; + -moz-border-radius: 0; + border-radius: 0px; + padding: 1em; + background-color: #2D79A2; + color: #fff; + font-weight: bold; + font-size: 12px; + width: 100%; +} + +.account-nav:last-child { + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; +} + +.account-nav-link:hover { + background-color: #383C4B; +} + textarea:last-child, input[type="text"]:last-child, input[type="email"]:last-child, input[type="password"]:last-child, input[type="tel"]:last-child { margin-right: 0; } @@ -24,7 +67,7 @@ textarea, input[type="text"], input[type="email"], input[type="password"], input } .u-field-title { width: 23.72881%; - display: inline-block; + /**display: inline-block;*/ font-size: 14px; vertical-align: top; margin-bottom: 0; @@ -33,14 +76,14 @@ textarea, input[type="text"], input[type="email"], input[type="password"], input -webkit-font-smoothing: antialiased; } .u-field-value { - width: 23.72881%; + width: 35%; display: inline-block; vertical-align: top; font-size: 14px; } .u-field-message { padding-left: 20px; - width: 49.15254%; + width: 60%; display: inline-block; vertical-align: top; color: #919191; diff --git a/lms/templates/registration/password_reset_complete.html b/lms/templates/registration/password_reset_complete.html index 1c2f0c8..24a7f32 100644 --- a/lms/templates/registration/password_reset_complete.html +++ b/lms/templates/registration/password_reset_complete.html @@ -1,11 +1,19 @@ -{% extends "main_django_ava.html" %} -{% load i18n %} +## mako -{% block title %} -
- {% blocktrans with link_start='' link_end='' %} - Your password has been reset. {{ link_start }}Sign in to your account.{{ link_end }} - {% endblocktrans %} + ${Text(_("Your password has been reset. {start_link}Sign-in to your account.{end_link}")).format( + start_link=HTML(''), + end_link=HTML('') + )}