If you like change the icons I recomend rewrite the links with the links
parameter of the grid, something like:

links = [lambda row: A(TAG[''](SPAN(_class="icon icon-list"),SPAN('List',
_class="buttontext button", _title="list")), _class="w2p_trap button btn",
_href=URL('see_list', args=[row.id])),
             lambda row: A(TAG[''](SPAN(_class="icon
icon-user"),SPAN('Users', _class="buttontext button", _title="CC a")),
_class="w2p_trap button btn", _href=URL('users', args=[row.id]))]
grid = SQLFORM.grid(query, fields = fields,deletable=deletable,
editable=editable, details = details,create=create, csv=False, orderby =
orderby, links = links)

See that _class="icon icon-list" set the icon of the button. You can get
the entire list from the css file bootstrap.min.css inside static -> css ->
folder from your applications

-- 

--- 
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/groups/opt_out.


Reply via email to