HTML |
---|
<script type="text/javascript">
var component = `<div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info" style="position:fixed; z-index: 1; right: 0px; bottom: 50px;"><p class="title">Legenda das Cores</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"> </span><div class="confluence-information-macro-body"><hr><p><span class="status-macro aui-lozenge aui-lozenge-success conf-macro output-inline" data-hasbody="false" data-macro-name="status">VERDE</span> - Inalterados</p><p><span class="status-macro aui-lozenge aui-lozenge-current conf-macro output-inline" data-hasbody="false" data-macro-name="status">AZUL</span> - Adicionados</p><p><span class="status-macro aui-lozenge aui-lozenge-moved conf-macro output-inline" data-hasbody="false" data-macro-name="status">LARANJA</span> - Ajustados/Alterados</p><hr></div></div>`;
var div = document.createElement('div');
div.innerHTML = component.trim();
document.getElementById("main-content").appendChild(div.firstChild);
</script> |
Avisos Gerais A partir da versão 12.1.32.003 (WIN) os scripts devem ser executados através do Executor de Scripts Customizados V2. É necessário verificar os scripts alterados nas versões abaixo.
|
---|
...
Cloak |
---|
12.1.32.003 - |
HTML |
---|
<script type="text/javascript">
var component = `<div class="confluence-information-macro confluence-information-macro-information conf-macro output-block" data-hasbody="true" data-macro-name="info" style="position:fixed; z-index: 1; right: 0px; bottom: 85px;"><p class="title">Legenda das Cores</p><span class="aui-icon aui-icon-small aui-iconfont-info confluence-information-macro-icon"> </span><div class="confluence-information-macro-body"><hr><p><span class="status-macro aui-lozenge aui-lozenge-success conf-macro output-inline" data-hasbody="false" data-macro-name="status">VERDE</span> - Inalterados</p><p><span class="status-macro aui-lozenge aui-lozenge-current conf-macro output-inline" data-hasbody="false" data-macro-name="status">AZUL</span> - Adicionados</p><p><span class="status-macro aui-lozenge aui-lozenge-moved conf-macro output-inline" data-hasbody="false" data-macro-name="status">LARANJA</span> - Ajustados/Alterados</p><hr></div></div>`;
var div = document.createElement('div');
div.innerHTML = component.trim();
document.getElementById("main-content").appendChild(div.firstChild);
var els = document.getElementsByClassName("custom-button");
Array.prototype.forEach.call(els, function(el) {
el.firstChild.setAttribute("target", "_blank");
});
</script> |