My Account
+This is your account page. Update your details by changing them below and clicking the Save button.
<%include file="/errors.mako"/>diff --git a/scribeengine/controllers/account.py b/scribeengine/controllers/account.py index 3661fcf..74ac213 100644 --- a/scribeengine/controllers/account.py +++ b/scribeengine/controllers/account.py @@ -27,6 +27,7 @@ from urlparse import urlsplit from datetime import datetime from formencode.validators import Int +from pytz import all_timezones from scribeengine.lib.base import * from scribeengine.lib.validation.client import JSString, JSEmail @@ -42,6 +43,7 @@ class AccountController(BaseController): @authenticate() def index(self): c.page_title = u'My Account' + c.timezones = all_timezones return render(u'/account/index.mako') def register(self): diff --git a/scribeengine/public/styles/style.css b/scribeengine/public/styles/style.css index 1e0ed89..8902fde 100644 --- a/scribeengine/public/styles/style.css +++ b/scribeengine/public/styles/style.css @@ -384,17 +384,6 @@ fieldset { padding: 0; } -fieldset.form-details { - background: url(../images/img05.gif) no-repeat left 1.5em; - padding: 13px 20px 0 20px; -} - -fieldset.form-details legend { - font-size: 1.2em; - margin-left: 0; - padding-left: 0; -} - .form-text, .form-password, .form-textarea { @@ -434,6 +423,24 @@ fieldset.form-details legend { margin-top: 0.2em; } +fieldset.form-details { + padding: 10px; +} + +fieldset.form-details legend { + background: url(../images/img05.gif) no-repeat left top; + color: #fff; + font-size: 1.5em; + line-height: 50px; + margin: 0 -10px; + padding-left: 1em; + width: 593px; +} + +fieldset.form-details .form-text { + width: 573px; +} + #register-now { margin-left: 1em; } diff --git a/scribeengine/templates/account/index.mako b/scribeengine/templates/account/index.mako index dca3fe6..aca5b6a 100644 --- a/scribeengine/templates/account/index.mako +++ b/scribeengine/templates/account/index.mako @@ -2,24 +2,37 @@ <%include file="/flash.mako"/>
This is your account page. Update your details by changing them below and clicking the Save button.
<%include file="/errors.mako"/>