화이트 라벨링 구성
기능 소개
Bahmni 화이트 라벨링을 사용하면 각 구현 환경에 맞게 Bahmni 브랜드를 적용할 수 있습니다. 구현 담당자는 시작 페이지와 Bahmni 로그인 페이지에 구현 환경별 로고와 문구를 구성할 수 있습니다.
로고와 문구 구성
whiteLabel.json 파일은 default-config/openmrs/apps/home 경로에 있습니다.
설정은 다음과 같습니다.
whiteLabel.json
{
"homePage": {
"header_text": "<b>WELCOME TO<br/>BAHMNI EMR & HOSPITAL SERVICE",
"logo": "/bahmni/images/bahmniLogoFull.png",
"title_text": " ",
"bottomBanner": "<URL of custom banner image. Like: /bahmni/images/customBottomBanner.png>"
},
"loginPage": {
"logo": "/bahmni/images/bahmniLogoFull.png",
"showHeaderText": true,
"showTitleText": false,
"bottomLogos": [
"<Path to logo files. Like:",
"/bahmni_config/openmrs/apps/home/first_logo_75px.png",
"/bahmni_config/openmrs/apps/home/second_logo_75px.png"
]
},
"helpLink": {
"url": "https://bahmni.atlassian.net/wiki/display/BAH/Bahmni+Home"
}
}"homePage" 구성
| Key | Purpose | Mandatory | Behaviour |
|---|---|---|---|
| header_text | Header text on the landing/home Page | No | Default Text : WELCOME TO BAHMNI EMR & HOSPITAL SERVICEIf header text key is removed, Default text will show. |
| logo | Logo on the landing /home page. | No | Default: Path of bahmni logoIf logo path is wrong, it will show a broken image on the landing page.If key is removed, then default bahmni logo will be displayed |
| title_text | Title text beside the logo on the landing/home page. | No | Default: Blank textIf Key is removed, "title text" placeholder will be displayed |
| bottomBanner | Display custom banner image depends on implementation | No | Default: Nothing will display. |
"loginPage" 구성
| Key | Description | Mandatory | Behaviour |
|---|---|---|---|
| showHeaderText | Header text on the login Page.Specify the key value in the respective locale file. | No | Default : TrueIf the key is not present or removed from the config file, it'll show no text on the page. |
| showTitleText | Title text beside the logo on the login page. Specify the key value in the respective locale file. | No | Default: FalseIf the key is not present or removed from the config file, it'll show no text on the page. |
| logo | Logo on the login page. | No | Default : Bahmni logo If the key is not present or removed from the config file, it'll show no image on the page. |
| bottomLogos | Display custom logos as a banner a the very bottom of the page. Files must be available at a path on the server. | No | Default: Nothing will be displayed |
원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0