ThemeConfiguration.js revision bcda16a6eb9f6e84279238f9be660b2d85b5ce55
0N/A/**
2273N/A * The contents of this file are subject to the terms of the Common Development and
0N/A * Distribution License (the License). You may not use this file except in compliance with the
0N/A * License.
0N/A *
0N/A * You can obtain a copy of the License at legal/CDDLv1.0.txt. See the License for the
0N/A * specific language governing permission and limitations under the License.
0N/A *
0N/A * When distributing Covered Software, include this CDDL Header Notice in each file and include
0N/A * the License file at legal/CDDLv1.0.txt. If applicable, add the following below the CDDL
0N/A * Header, with the fields enclosed by brackets [] replaced by your own identifying
0N/A * information: "Portions copyright [year] [name of copyright owner]".
0N/A *
0N/A * Copyright 2015 ForgeRock AS.
0N/A */
0N/A
0N/A/*global define */
0N/Adefine("config/ThemeConfiguration", {
1472N/A themes: {
1472N/A "default": {
1472N/A // An ordered list of URLs to stylesheets that will be applied to every page.
0N/A stylesheets: ["css/bootstrap-3.3.5-custom.css", "css/styles.css"],
0N/A // A path that is prepended to every relative URL when fetching resources (including images, stylesheets and
0N/A // HTML template files).
1879N/A path: "",
1879N/A // A URL to a favicon icon
1879N/A icon: "favicon.ico",
1879N/A settings: {
1879N/A // This logo is displayed on user profile pages.
1879N/A logo: {
1879N/A // The URL of the image.
0N/A src: "images/logo-horizontal.png",
0N/A // The title attribute used on <img> tags.
0N/A title: "ForgeRock",
0N/A // The alt attribute used on <img> tags.
0N/A alt: "ForgeRock"
0N/A },
0N/A // This logo is displayed on login pages.
0N/A loginLogo: {
0N/A // The URL of the image.
0N/A src: "images/login-logo.png",
0N/A // The title attribute used on <img> tags.
0N/A title: "ForgeRock",
0N/A // The alt attribute used on <img> tags.
0N/A alt: "ForgeRock",
0N/A // The height of the logo as a CSS length.
0N/A height: "104px",
0N/A // The width of the logo as a CSS length.
0N/A width: "210px"
0N/A },
0N/A // The footer is displayed on every page.
0N/A footer: {
0N/A // A contact email address.
0N/A mailto: "info@forgerock.com",
0N/A // A contact phone number. If empty, it will not be displayed.
0N/A phone: ""
0N/A }
0N/A }
0N/A }
0N/A },
0N/A mappings: [
0N/A // Use the theme with the key "my-theme" if the realm is either /my-realm or /my/sub-realm.
0N/A //{ theme: "my-theme", realms: ["/my-realm", "/my/sub-realm"] }
0N/A // Use the theme "my-second-theme" if the realm starts with /a. e.g. /ab or /a/c.
0N/A //{ theme: "my-second-theme", realms: [/^\/a/] }
0N/A ]
0N/A});