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