This page includes information on how to update logos, images, fonts, links, and text on the InterMine web application. See Webapp Configuration for information on how to configure how the data appears.
Webapp branding
Styles and images for a specific mine are defined in <MINE_NAME>/webapp/resources/webapp/theme/ and overwrite the default theme defined in intermine/webapp/main/resources/webapp/theme
CSS
The styles for a mine can be altered in <MINE_NAME>/webapp/resources/webapp/theme/theme.css.
This style sheet is loaded after the InterMine style sheet so it will override the defaults.
Images in the "theme" directory are linked with properties defined in the css file. If you want to change the "look and feel" of the Webapp, please make sure the replacement images have the same width and height as the initial images.
Logo
The logo at the top left is copied from: <MINE_NAME>/webapp/resources/webapp/model/images/logo.png. Unfortunately, due to issues with image transparency in IE 6, the dimensions of the logo had to be set to a height of 65px and width of 68px. Please try to make sure your logo fits within these dimensions
Links in the top right corner
Set the header.links attribute in web.properties to the list of links to appear, like so:
header.links = about, help, contact
This will generate navigation links in the top right corner of the site that link to: about.shtml, help.shtml, and contact.shml.
Webapp settings
build.properties sets the following:
- contact information
- subtitle in the heading
- will be visible under the logo in top left corner
- location of help and wiki pages
- username for superuser account
- release version
See: Webapp Configuration
Text
- intermine/webapp/main/resources/webapp/WEB-INF/classes/InterMineWebApp.properties
- Most of the text appearing on the webapp (button names, forms, some help text, etc.) is defined in this file.
- If you want the webapp to appear in a different language than English, you will have to translate the file.
- <MODEL_NAME>/webapp/src/model.properties
- Model specific properties
