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

[basetemplates] Use container-fluid instead of container (related to #4538123)

This allows the page content to stretch all the way to left/right window
borders. All width restrictions are lifted.
parent 470fc02694ce
No related branches found
No related tags found
Loading
......@@ -23,6 +23,10 @@
basetemplates.TheMainTemplate.doctype = HTML5
# options which can be changed freely
basetemplates.TheMainTemplate.twbs_container_cls = 'container-fluid'
@monkeypatch(basetemplates.TheMainTemplate)
def call(self, view):
self.grid_nb_cols = 12
......@@ -58,7 +62,7 @@
w = self.w
self.w(u'<body>\n')
self.wview('header', rset=self.cw_rset, view=view)
w(u'<div id="page" class="container">\n')
w(u'<div id="page" class="%s">\n' % self.twbs_container_cls)
w(u'<div class="row">\n')
left_boxes = list(self._cw.vreg['ctxcomponents'].poss_visible_objects(
self._cw, rset=self.cw_rset, view=view, context='left'))
......
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