Skip to content
Snippets Groups Projects
Commit ccca6d81e9bc authored by Rémi Cardona's avatar Rémi Cardona
Browse files

Remove well around side boxes (saves ~50px)

parent 4840880b93a5
No related branches found
No related tags found
No related merge requests found
...@@ -121,10 +121,9 @@ ...@@ -121,10 +121,9 @@
self._cw, rset=self.cw_rset, view=view, context=context)) self._cw, rset=self.cw_rset, view=view, context=context))
if boxes: if boxes:
getlayout = self._cw.vreg['components'].select getlayout = self._cw.vreg['components'].select
self.w(u'<div id="aside-main-%s" class="col-md-3">\n' self.w(u'<div id="aside-main-%s" class="col-md-3">\n' %
u'<div class="well">\n' %
context) # XXX Should arrange Facets soon context) # XXX Should arrange Facets soon
self.w(u'<div class="navboxes" id="navColumn%s">\n' % context.capitalize()) self.w(u'<div class="navboxes" id="navColumn%s">\n' % context.capitalize())
for box in boxes: for box in boxes:
box.render(w=self.w, view=view) box.render(w=self.w, view=view)
self.w(u'</div>' self.w(u'</div>'
...@@ -126,9 +125,8 @@ ...@@ -126,9 +125,8 @@
context) # XXX Should arrange Facets soon context) # XXX Should arrange Facets soon
self.w(u'<div class="navboxes" id="navColumn%s">\n' % context.capitalize()) self.w(u'<div class="navboxes" id="navColumn%s">\n' % context.capitalize())
for box in boxes: for box in boxes:
box.render(w=self.w, view=view) box.render(w=self.w, view=view)
self.w(u'</div>' self.w(u'</div>'
u'</div>'
u'</div>') u'</div>')
return len(boxes) return len(boxes)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment