Re: [web2py] Help with icons

2017-12-04 Thread Richard Vézina
I think this can be fix in web2py.js .fire() : /* Triggers an event on an element and returns false if the event result is false */ fire: function (obj, type, data, target) { var event = $.Event(type, { 'containerTarget': $('#' + target)[0]

Re: [web2py] Help with icons

2017-12-04 Thread Richard Vézina
I don't see much of icon stuff in widget.py and validators.py... There is also one thing that bug me with custom widget when you want to use bts "add-on" or semantic ui "label" : $ .00 You have to handle error message that get inserted before the div ui label stuff with js... It would be better

Re: [web2py] Help with icons

2017-12-04 Thread Richard Vézina
Hello Massimo, Whit font-awesome 3.2.1 it was drop in replace, sadly they change their way how to hook icons... I think we should suggest to pass them more than include them in the core code there is these settings for instance which is good : # jQuery UI ThemeRoller classes (empty if

[web2py] Help with icons

2017-12-03 Thread Massimo Di Pierro
In the old days of BS2 we used "icon icon-{name}" for icons. then to support BS3 we also added "glyphicon glyphicon-{name}". now we use BS4 and there are no more icons we have to use Font Awesome so we should add "fa fa-{name}". I can easily add this to sqlhtml.py and we will all be fine but