上QQ阅读APP看书,第一时间看更新
Chapter 2. Themes and Templates
In this chapter we will cover the following topics:
- Creating your own theme
- Importing a theme
- Creating a custom template
- Including images in your application
- Referencing CSS classes in your application
- Controlling the layout
Introduction>
Now that we have an application we would like to give it more looks. Maybe the application has to adhere to certain corporate layout standards. Or maybe you just want to add some more colors. Using themes and templates it is possible to give your application some cosmetic changes. A theme is a collection of templates and a template is a collection of components ranging from pages and reports to controls like calendars. A template consists of a header template, a body template, and a footer template. A template also contains some subtemplates, for example, for the success message.
In this chapter, we will present some recipes which will make your application look better.