Opened 9 years ago

Closed 9 years ago

#23 closed enhancement (fixed)

Add resources folder for css and images

Reported by: ahocevar Owned by:
Priority: major Milestone:
Component: GeoExt.MapPanel Version:
Keywords: Cc:
State: Commit


This is a patch for a folder structure for css and images, as proposed in

Attachments (1)

resources.patch (1.9 KB) - added by ahocevar 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by ahocevar

comment:1 Changed 9 years ago by ahocevar

Some explanations:

  • resources/css/geoext-all-debug.css is the css file to include in applications for debugging. The build process could also build a minified geoext-all.css file later.
  • images to into resources/images/, and there will be one subfolder for every theme (default/, gray/,...).
  • resources/css/example.css shows how to define styles for different themes.
  • To use a theme, the class of the theme has to be added to the document body (or any html dom element that should be the root of the selected theme), e.g.: <body class="xtheme-gray">

comment:2 Changed 9 years ago by pvalsecc

  • State changed from Review to Commit

Looks good. Extra bonus for the self documentness.

comment:3 Changed 9 years ago by tschaub

  • Resolution set to fixed
  • Status changed from new to closed

(In [275]) Adding a resources directory - I don't think this needs much discussion. Thanks for the patch ahocevar. (closes #23)

Note: See TracTickets for help on using tickets.