ui = dict(widget='ui-widget',
                      header='ui-widget-header',
                      content='ui-widget-content',
                      default='ui-state-default',
                      cornerall='ui-corner-all',
                      cornertop='ui-corner-top',
                      cornerbottom='ui-corner-bottom',
                      button='ui-button-text-icon-primary',
                      buttontext='ui-button-text',
                      buttonadd='ui-icon ui-icon-plusthick',
                      buttonback='ui-icon ui-icon-arrowreturnthick-1-w',
                      buttonexport='ui-icon ui-icon-transferthick-e-w',
                      buttondelete='ui-icon ui-icon-trash',
                      buttonedit='ui-icon ui-icon-pencil',
                      buttontable='ui-icon ui-icon-triangle-1-e',
                      buttonview='ui-icon ui-icon-zoomin',
                      )


SQLFORM.grid(...
             ui=ui)

or default definition:

ui = dict(widget='',

header='',

content='',

default='',

cornerall='',

cornertop='',

cornerbottom='',

button='button',

buttontext='buttontext button',

buttonadd='icon plus',

buttonback='icon leftarrow',

buttonexport='icon downarrow',

buttondelete='icon trash',

buttonedit='icon pen',

buttontable='icon rightarrow',

buttonview='icon magnifier',

)


this is are css class name, take a look to static/base.css



2011/10/19 Nik Go <nikolai...@gmail.com>

> *bump*
>
>
> On Tuesday, October 18, 2011, Nik Go wrote:
>
>>
>> how do I specify the other icons available from the default icon sprite?
>>
>>
>>


-- 
 http://martin.tecnodoc.com.ar

Reply via email to