Ocultando template no Pentaho BI – Server 5.0
Para desabilitar os templates que vem na instalação padrão do Pentaho BI Server, basta acessar o seguinte arquivo:
biserver-ce/pentaho-solutions/system/common-ui
Edite o arquivo theme.xml
<?xml version="1.0" encoding="UTF-8"?> <themes root-folder="resources/themes"> <onyx display-name="Onyx" system="true"> <file>globalOnyx.css</file> <file>bootstrap/css/bootstrap-namespaced.css</file> </onyx> <crystal display-name="Crystal" system="true"> <file>globalCrystal.css</file> <file>bootstrap/css/bootstrap-namespaced.css</file> </crystal> <slate display-name="Slate" system="true" hidden="true"> <file>globalSlate.css</file> </slate> <native display-name="Native" system="true" hidden="true"> <file>globalNative.css</file> </native> <sample1 system="true" hidden="true"> <file>style1.css</file> </sample1> <replaceable system="true" hidden="true"> <!-- change this to false to enable the replaceable theme --> <file>replaceable.css</file> </replaceable> </themes>
Escolha o template que deseja ocultar e altere a informação de True para False
<onyx display-name="Onyx" system="false"> <file>globalOnyx.css</file> <file>bootstrap/css/bootstrap-namespaced.css</file> </onyx>
Salve o arquivo e reinicie o server.
Leave a Reply