Coding with following code:
- Put css, js, img to
resources
directory - Change html struction in
login.ftl
- Custom configurations in
theme.properties
ATTENTION
When add or remove files, need restart the app
Change ../base/login/template.ftl
as follow to disable theme cache:
<#if properties.styles?has_content>
<#list properties.styles?split(' ') as style>
<link href="${url.resourcesPath}/${style}?${.now?long}" rel="stylesheet" />
</#list>
</#if>
<#if properties.scripts?has_content>
<#list properties.scripts?split(' ') as script>
<script src="${url.resourcesPath}/${script}?${.now?long}" type="text/javascript"></script>
</#list>
</#if>