[web ui] remove "trame_grise" from forms stable
authorNicolas Chauvat <nicolas.chauvat@logilab.fr>
Sun, 08 Nov 2009 19:34:31 +0100
branchstable
changeset 3806 6a4191b0eb9a
parent 3805 ad0b38e1a4eb
child 3807 8ae53322ffcc
[web ui] remove "trame_grise" from forms
web/data/cubicweb.form.css
web/views/baseforms.py
web/views/editforms.py
--- a/web/data/cubicweb.form.css	Sun Nov 08 19:33:03 2009 +0100
+++ b/web/data/cubicweb.form.css	Sun Nov 08 19:34:31 2009 +0100
@@ -12,7 +12,6 @@
   color: #ff4500;
   padding-bottom : 0.4em;
   text-transform: capitalize;
-  background: url("bg_trame_grise.png") left bottom repeat-x;
   margin-bottom: 0.6em
 }
 
@@ -209,10 +208,6 @@
   text-align: center;
 }
 
-div.trame_grise {
-  background: url("bg_trame_grise.png") left top repeat-x;
-}
-
 div.notice {
   display: none;
   font-style: italic;
@@ -231,7 +226,7 @@
   cursor: default;
 }
 
-input.validateButton {  
+input.validateButton {
   margin: 1em 1em 0px 0px;
   border: 1px solid #edecd2;
   border-color:#edecd2 #cfceb7 #cfceb7  #edecd2;
--- a/web/views/baseforms.py	Sun Nov 08 19:33:03 2009 +0100
+++ b/web/views/baseforms.py	Sun Nov 08 19:34:31 2009 +0100
@@ -315,7 +315,6 @@
                                   % (rschema, entity.eid, js,
                                      self.req.__('add a %s' % targettype)))
                     result.append(u'</div>')
-                    result.append(u'<div class="trame_grise">&#160;</div>')
                 result.append(u'</div>')
         return '\n'.join(result)
 
--- a/web/views/editforms.py	Sun Nov 08 19:33:03 2009 +0100
+++ b/web/views/editforms.py	Sun Nov 08 19:34:31 2009 +0100
@@ -587,4 +587,3 @@
         self.w(u'<a class="addEntity" id="add%s:%slink" href="javascript: %s" >+ %s.</a>'
           % (self.rtype, self.peid, js, __(i18nctx, 'add a %s' % self.etype)))
         self.w(u'</div>')
-        self.w(u'<div class="trame_grise">&#160;</div>')