>
> just check the head on github and seems there are still mentions of
> btn-default but also for btn-secondary for example in
>
> new_button = INPUT(
> _type="button", _value=T('New Search'), _class="btn
> btn-default", _title=T('Start building a new search'),
> _onclick="%s_build_query('new','%s')" % (prefix, field
> ))
> and_button = INPUT(
> _type="button", _value=T('+ And'), _class="btn
> btn-default", _title=T('Add this to the search as an AND term'),
> _onclick="%s_build_query('and','%s')" % (prefix, field
> ))
> or_button = INPUT(
> _type="button", _value=T('+ Or'), _class="btn
> btn-default", _title=T('Add this to the search as an OR term'),
> _onclick="%s_build_query('or','%s')" % (prefix, field))
> close_button = INPUT(
> _type="button", _value=T('Close'), _class="btn
> btn-default",
> _onclick="jQuery('#%s').slideUp()" % panel_id)
>
>
Yes, looks like that needs to be updated as well. Feel free to submit a
pull request.
so its not clear to me if all references should be made to both classes
>
I think the btn-default class is left in case someone is using Bootstrap 3.
I don't think it should cause any problems with Bootstrap 4, as that class
simply isn't defined in that case, so it will have no effect.
Anthony
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.