Add header image
This procedure shows you how to add an image or company logo to the header bar widget of your application.
About this task
The header image is defined in the header widget (MyHeaderBarWidget
).
Before you begin
You must have a project directory which contains the following
.js, .tpl.html, and
.scss files:
-
In customization-project-dir/js:
- MyMainContainerWidget.tpl.html
- MyMainContainerWidget.tpl.js
- MyHeaderBarWidget.tpl.html
- MyHeaderBarWidget.js
-
In customization-project-dir/sass:
- customization.scss
- MyMainContainerWidget.scss
These files may be copied from your gbc-project-dir/customization/sample directory.
-
Your customization-project-dir/resources/img directory contains your image file.
Steps