changeset 396:9416269860c9

little css update, and flash messages
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 06 Aug 2010 02:49:53 +0200
parents e8af467b5a60
children 4cf4b82aa2a0
files pylons_app/controllers/admin/settings.py pylons_app/public/css/style.css
diffstat 2 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/controllers/admin/settings.py	Fri Aug 06 02:40:57 2010 +0200
+++ b/pylons_app/controllers/admin/settings.py	Fri Aug 06 02:49:53 2010 +0200
@@ -175,7 +175,7 @@
                     self.sa.add(hgsettings4)
                     self.sa.commit()
                     
-                    h.flash(_('Updated application settings'),
+                    h.flash(_('Updated mercurial settings'),
                             category='success')
                                     
                 except:
@@ -253,7 +253,8 @@
         try:
             form_result = _form.to_python(dict(request.POST))
             user_model.update_my_account(uid, form_result)
-            h.flash(_('Your account was updated succesfully'), category='success')
+            h.flash(_('Your account was updated succesfully'),
+                    category='success')
                            
         except formencode.Invalid as errors:
             #c.user = self.sa.query(User).get(c.hg_app_user.user_id)
--- a/pylons_app/public/css/style.css	Fri Aug 06 02:40:57 2010 +0200
+++ b/pylons_app/public/css/style.css	Fri Aug 06 02:49:53 2010 +0200
@@ -1252,7 +1252,7 @@
 
 #content div.box div.form div.fields div.field div.label-checkbox
 {
-	padding: 0 0 0 5px;
+	padding:0 0 0 5px !important;
 }
 
 /* -----------------------------------------------------------
@@ -1261,7 +1261,7 @@
 
 #content div.box div.form div.fields div.field div.label-radio
 {
-	padding: 0 0 0 5px;
+	padding:0 0 0 5px !important;
 }
 
 /* -----------------------------------------------------------
@@ -1270,13 +1270,13 @@
 
 #content div.box div.form div.fields div.field div.label-textarea
 {
-	padding: 0 0 0 5px;
+	padding:0 0 0 5px !important;
 }
 
 #content div.box-left div.form div.fields div.field div.label-textarea,
 #content div.box-right div.form div.fields div.field div.label-textarea
 {
-	padding: 0 0 8px 0;
+	padding: 0 0 8px 0 !important;
 }
 
 /* -----------------------------------------------------------