Re: [web2py] Re: Help with icons

2017-12-04 Thread Richard Vézina
Sorry for caniblizing this thread :D On Mon, Dec 4, 2017 at 2:52 PM, Richard Vézina wrote: > I search further, I think my issue come form html.py > > https://github.com/web2py/web2py/blob/master/gluon/html.py#L1914 > > It seems where web2py is cooking the rendering of error stuff... > > I am not

Re: [web2py] Re: Help with icons

2017-12-04 Thread Richard Vézina
I search further, I think my issue come form html.py https://github.com/web2py/web2py/blob/master/gluon/html.py#L1914 It seems where web2py is cooking the rendering of error stuff... I am not sure how to pass particular class in error context only, so error get handle by semantic ui : https://s

[web2py] Re: Help with icons

2017-12-04 Thread Leonel Câmara
Web2py is all about having sane defaults that just work. So I think we should have fontawesome integrated by default with the welcome app and in the grid. People who want to use other icons will have to use the ui_dict option in the grid and make their own layout, etc. just as they always had t

[web2py] Re: Help with icons

2017-12-04 Thread tim . nyborg
Answered my own question: SQLFORM.grid(ui={...}) So either solution is fine. On Monday, 4 December 2017 16:45:38 UTC, tim.n...@conted.ox.ac.uk wrote: > > Since I use fa icons all over the place, and do a fair bit of styling on > top of the w2p css, I'd sooner see 'fa fa-{name}' rules. Not as cle

[web2py] Re: Help with icons

2017-12-04 Thread tim . nyborg
Since I use fa icons all over the place, and do a fair bit of styling on top of the w2p css, I'd sooner see 'fa fa-{name}' rules. Not as clean as .icon, I admit, but it makes it easier for global rules to affect the grid. Is it possible to pass a dict of custom icon class strings to the grid, so