3.2. 配置主题
除 welcome 外的所有主题类型都通过 Admin Console 配置。
流程
- 登录 Admin 控制台。
- 从左上角的下拉菜单中选择您的域。
- 从菜单中点 Realm Settings。
点 Themes 选项卡。
注意要为
masterAdmin 控制台设置主题,您需要设置master域的 Admin Console 主题。- 要查看 Admin Console 刷新该页面的更改。
-
通过编辑
standalone.xml、standalone-ha.xml或domain.xml更改欢迎主题。 将
welcomeTheme添加到me 元素,例如:<theme> ... <welcomeTheme>custom-theme</welcomeTheme> ... </theme><theme> ... <welcomeTheme>custom-theme</welcomeTheme> ... </theme>Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 重启服务器以使更改生效。