[Cubicweb] Bootstrap

Dimitri Papadopoulos Orfanos dimitri.papadopoulos at cea.fr
Tue Sep 24 23:26:39 CEST 2013


Is there any documentation on how to "Bootstrap" a CubicWeb application?

After having a look at the brainomics cube, I believe it boils down to:

1. Modify a couple of files:
     $ grep -i bootstrap *.py
     __pkginfo__.py:                'cubicweb-bootstrap': None,
     uiprops.py:STYLESHEETS += [data('bootstrap/css/bootstrap.css'),

2. Add/modify all or part of bootstrap in subdirectory "data" of the 
application cube.

3. Modify views/basetemplates.py? In brainomics this file reads:
    	# XXX Backport from squareui

The only documentation I was able to find is this blog:
I think it's obsolete. It refers to 'squareui' which I believe should 
*not* be used:

Dimitri Papadopoulos
I2BM, NeuroSpin
91191 Gif-sur-Yvette cedex, France

More information about the Cubicweb mailing list