Projet

Général

Profil

0001-backoffice-limit-height-of-fields-filter-1671.patch

Frédéric Péters, 19 septembre 2012 10:59

Télécharger (1,28 ko)

Voir les différences:

Subject: [PATCH] backoffice: limit height of fields filter (#1671)

 wcs/backoffice/root.ptl             |    2 +-
 wcs/qommon/static/css/dc2/admin.css |    5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)
wcs/backoffice/root.ptl
222 222
            '<noscript><input type="submit" value="%s"/></noscript>' % _('Refresh')
223 223

  
224 224
        '<h3>%s</h3>' % _('Fields to display')
225
        '<ul>'
225
        '<ul id="fields-filter">'
226 226
        for field in self.get_formdef_fields():
227 227
            if not hasattr(field, str('get_view_value')):
228 228
                continue
wcs/qommon/static/css/dc2/admin.css
664 664
	margin: 1em 0;
665 665
}
666 666

  
667
ul#fields-filter {
668
	overflow: auto;
669
	max-height: 350px;
670
}
671

  
667 672
/* Styling for workflow graphs */
668 673

  
669 674
svg {
670
-