Yes, those are the pre-built jQuery UI themes (see "Gallery" 
tab): http://jqueryui.com/themeroller/. You can also create your own using 
ThemeRoller.

On Monday, November 14, 2011 10:52:40 PM UTC-5, tomt wrote:
>
> Thanks for the responses, 
>
> After reading the notes, I dug around and discovered the following 
> list of themes that can be used in layout.html. 
>
> base 
> black-tie 
> blitzer 
> cupertino 
> dark-hive 
> dot-luv 
> eggplant 
> excite-bike 
> flick 
> hot-sneaks 
> humanity 
> le-frog 
> mint-choc 
> overcast 
> pepper-grinder 
> redmond 
> smoothness 
> south-street 
> start 
> sunny 
> swanky-purse 
> trontastic 
> ui-darkness 
> ui-lightness 
> vader 
>
> Simply substitute any of these theme names in place of the 'xxxx' 
> below. 
> (This is the line in layout.html referenced in the earlier note) 
>
> <!-- uncomment here to load jquery-ui --> 
> <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/ 
> jqueryui/1.8.16/themes/xxxx/jquery-ui.css<http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/themes/xxxx/jquery-ui.css>"
>  
> type="text/css" 
> media="all" /> 
>
> (I imagine you already know this, but I thought I'd include the list I 
> found for other interested users) 
>
> - Tom 
>
> On Nov 13, 9:15 pm, Anthony <abas...@gmail.com> wrote: 
> > CSS files typically go in your app's /static/css folder, and you then 
> have 
> > to make sure the CSS file gets linked in the page head (like any other 
> CSS 
> > file). An easy way to include the CSS file is to do: 
> > 
> > response.files.append(URL('static', 'cs/your_theme_file.css')) 
> > 
> > in the controller action that needs the jquery-ui theme (or in your 
> > layout.html file if needed on most/all pages). 
> > 
> > Anthony 
> > 
> > On Sunday, November 13, 2011 9:45:45 PM UTC-5, tomt wrote: 
> > 
> > > Hi, 
> > 
> > > I'm looking for an example of how to install and use a jquery theme 
> > > for SQLFORM.grid 
> > 
> > > I see that I can implement jquery-ui by defining: 
> > > form = SQLFORM.grid(query=db.table.field=='3',ui='jquery-ui') 
> > 
> > > I see that I can download a theme fromhttp://jqueryui.com/download 
> > > but I don't know where to install it, or how to enable it.  I searched 
> > > the web2py group for examples, but I failed to find any. 
> > 
> > > I'd appreciate it if someone could post a working example of this 
> > > feature. 
> > 
> > > Thanks in advance,  - Tom 
> > 
> >

Reply via email to