-
Notifications
You must be signed in to change notification settings - Fork 42
Centralized branding #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
kpalang marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
client/src/com/mirth/connect/client/ui/BrandingConstants.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| package com.mirth.connect.client.ui; | ||
|
|
||
| import javax.swing.ImageIcon; | ||
|
|
||
| public class BrandingConstants { | ||
|
|
||
| public static final String PRODUCT_NAME = "Open Integration Engine"; | ||
| public static final String COMPANY_NAME = "Open Integration Engine"; | ||
|
|
||
| /* | ||
| Sets the title of the Administrator window | ||
| */ | ||
| public static final String WINDOW_TITLE = "Open Integration Engine Administrator"; | ||
|
|
||
| public static final String ISSUE_TRACKER_LOCATION = "https://github.com/openintegrationengine/engine/issues"; | ||
|
|
||
|
|
||
| // The URL that is opened when clicking the bottom image in Login window | ||
| // The one where you're asked for server URL, username, and password | ||
| public static final String COMPANY_URL = "https://openintegrationengine.org"; | ||
| public static final String COMPANY_TOOLTIP = "Open Integration Engine"; | ||
|
|
||
|
|
||
| // The URL that is opened when clicking the image in the Top right corner of the main administrator window | ||
| // The URL that is opened when clicking "Visit + PRODUCT_NAME" button in Administrator | ||
| public static final String PRODUCT_URL = "https://github.com/openintegrationengine/engine"; | ||
| public static final String PRODUCT_TOOLTIP = "Open Integration Engine"; | ||
|
|
||
|
|
||
| // The URL that is opened when clicking "Help" button in Administrator | ||
| public static String HELP_URL_LOCATION = "https://github.com/OpenIntegrationEngine/engine/discussions"; | ||
|
|
||
| // The "More info" in Server settings "Provide usage statistics" | ||
| public static final String PRIVACY_URL = "https://github.com/openintegrationengine"; | ||
| public static final String PRIVACY_TOOLTIP = "Privacy Information"; | ||
|
|
||
| // Icons | ||
kpalang marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| // Favicon must be at 32px x 32px scale | ||
| public static final ImageIcon FAVICON = new ImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/branding/oie_logo_only_white_background_32x32.png")); | ||
| // These images must be at 215px x 30px scale | ||
| public static final ImageIcon LOGO = new ImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/branding/oie_logo_banner_text_215x30.png")); | ||
| public static final ImageIcon LOGO_GRAY = new ImageIcon(com.mirth.connect.client.ui.Frame.class.getResource("images/branding/oie_white_logo_banner_text_215x30.png")); | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.