-
+
- ${msg} % endfor
- ${msg} % endfor
-
% for msg in c.messages['errors']:
-
+
-
% for msg in c.messages['messages']:
diff --git a/gnuviechadminweb/public/stylesheets/gva.css b/gnuviechadminweb/public/stylesheets/gva.css index aa95828..02e83c8 100644 --- a/gnuviechadminweb/public/stylesheets/gva.css +++ b/gnuviechadminweb/public/stylesheets/gva.css @@ -7,4 +7,26 @@ html { padding-right:10px; border-right:1px solid black; margin-right:10px; -} \ No newline at end of file + width:100px; +} + +#content { + float:left; +} + +.msgbox { + padding:10px 10px 10px 25px; + width:400px; +} + +#messages { + border:1px solid green; + background-color:#80ff80; + color:#008000; +} + +#errors { + border:1px solid red; + background-color:#ff8080; + color:#800000; +} diff --git a/gnuviechadminweb/templates/chpassword.mako b/gnuviechadminweb/templates/chpassword.mako index 3d79850..45cb285 100644 --- a/gnuviechadminweb/templates/chpassword.mako +++ b/gnuviechadminweb/templates/chpassword.mako @@ -2,11 +2,24 @@ <%inherit file="site.mako" />
+ | ${h.password_field('oldpassword')} | +
+ | ${h.password_field('password')} | +
+ | ${h.password_field('confirm')} | +
${h.submit('Change password')} | +