18
| <![CDATA[<h1 class="edit-form-title" style="font-size:40px">Gerador de Assinatura para o E-mail Corporativo</h1>]]>
|
166
| <![CDATA[<div id="signature" style="border:1px dotted #ddd; margin:20px 0; padding:10px;">
<table width="100%" border="0" cellpadding="0">
<tbody><tr style="font-size:12px">
<td align="left" valign="top" width="100"><p style="margin:17px 10px 0 0;line-height:14px"><a href="https://www.lagoasanta.mg.gov.br/" target="_blank"><img style="border: 0px none;" alt="Brasão do MunicÃpio de Lagoa Santa/MG." src="https://www.lagoasanta.mg.gov.br/images/stories/brasao.jpg" height="83" width="111" title="Prefeitura Municipal de Lagoa Santa/MG." /></a></p></td>
<td align="left">
<p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;">
<strong><span id="name">Seu Nome</span></strong><br>
<span id="position">Seu Cargo/Função</span><br>
<span id="email">
<span style="font-size: 12pt;"> â </span>
<a href="mailto:voce@lagoasanta.mg.gov.br" target="_blank">voce@lagoasanta.mg.gov.br</a>
<br>
</span>
<span id="celphone">
<span style="font-size: 12pt;"> â </span>
(31) 9 XXXX-XXXX
<br>
</span>
<span id="phone">
<span style="font-size: 12pt;"> â </span>
(31) 368X-XXXX
<span id="branch">
<span style="font-size: 12pt;"> ⦠</span>ramal XXXX
</span>
</span>
</p>
<p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;">
<strong><span id="organ">Secretaria Municipal de Gestão</span></strong>
<br>
<span id="site">
<a href="https://www.lagoasanta.mg.gov.br/" target="_blank">https://www.lagoasanta.mg.gov.br</a>
</span>
</p>
<p id="social_list">
</p>
</td>
</tr>
</tbody></table>
</div>]]>
|
168
| <![CDATA[<tr style="font-size:12px">
<td align="left" valign="top" width="100"><p style="margin:17px 10px 0 0;line-height:14px"><a href="https://www.lagoasanta.mg.gov.br/" target="_blank"><img style="border: 0px none;" alt="Brasão do MunicÃpio de Lagoa Santa/MG." src="https://www.lagoasanta.mg.gov.br/images/stories/brasao.jpg" height="83" width="111" title="Prefeitura Municipal de Lagoa Santa/MG." /></a></p></td>
<td align="left">
<p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;">
<strong><span id="name">Seu Nome</span></strong><br>
<span id="position">Seu Cargo/Função</span><br>
<span id="email">
<span style="font-size: 12pt;"> â </span>
<a href="mailto:voce@lagoasanta.mg.gov.br" target="_blank">voce@lagoasanta.mg.gov.br</a>
<br>
</span>
<span id="celphone">
<span style="font-size: 12pt;"> â </span>
(31) 9 XXXX-XXXX
<br>
</span>
<span id="phone">
<span style="font-size: 12pt;"> â </span>
(31) 368X-XXXX
<span id="branch">
<span style="font-size: 12pt;"> ⦠</span>ramal XXXX
</span>
</span>
</p>
<p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;">
<strong><span id="organ">Secretaria Municipal de Gestão</span></strong>
<br>
<span id="site">
<a href="https://www.lagoasanta.mg.gov.br/" target="_blank">https://www.lagoasanta.mg.gov.br</a>
</span>
</p>
<p id="social_list">
</p>
</td>
</tr>]]>
|
169
| <![CDATA[<p style="margin:17px 10px 0 0;line-height:14px"><a href="https://www.lagoasanta.mg.gov.br/" target="_blank"><img style="border: 0px none;" alt="Brasão do MunicÃpio de Lagoa Santa/MG." src="https://www.lagoasanta.mg.gov.br/images/stories/brasao.jpg" height="83" width="111" title="Prefeitura Municipal de Lagoa Santa/MG." /></a></p>]]>
|
169
| <![CDATA[<img style="border: 0px none;" alt="Brasão do MunicÃpio de Lagoa Santa/MG." src="https://www.lagoasanta.mg.gov.br/images/stories/brasao.jpg" height="83" width="111" title="Prefeitura Municipal de Lagoa Santa/MG." />]]>
|
171
| <![CDATA[<p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;">
<strong><span id="name">Seu Nome</span></strong><br>
<span id="position">Seu Cargo/Função</span><br>
<span id="email">
<span style="font-size: 12pt;"> â </span>
<a href="mailto:voce@lagoasanta.mg.gov.br" target="_blank">voce@lagoasanta.mg.gov.br</a>
<br>
</span>
<span id="celphone">
<span style="font-size: 12pt;"> â </span>
(31) 9 XXXX-XXXX
<br>
</span>
<span id="phone">
<span style="font-size: 12pt;"> â </span>
(31) 368X-XXXX
<span id="branch">
<span style="font-size: 12pt;"> ⦠</span>ramal XXXX
</span>
</span>
</p>]]>
|
175
| <![CDATA[<span style="font-size: 12pt;"> â </span>]]>
|
180
| <![CDATA[<span style="font-size: 12pt;"> â </span>]]>
|
185
| <![CDATA[<span style="font-size: 12pt;"> â </span>]]>
|
188
| <![CDATA[<span style="font-size: 12pt;"> ⦠</span>]]>
|
192
| <![CDATA[<p style="font-family:Helvetica,Arial,sans-serif;font-size:12px;line-height:14px;">
<strong><span id="organ">Secretaria Municipal de Gestão</span></strong>
<br>
<span id="site">
<a href="https://www.lagoasanta.mg.gov.br/" target="_blank">https://www.lagoasanta.mg.gov.br</a>
</span>
</p>]]>
|
217
| <![CDATA[<div id="source_code" style="overflow: auto; height: 100px; width: 90%; border: solid 1px #555555; font: 12px 'Lucida Console', monospace; color: #555555"></div>]]>
|
223
| <![CDATA[<span style="text-decoration: underline;">Preferências</span>]]>
|
223
| <![CDATA[<span style="text-decoration: underline;">Assinaturas</span>]]>
|
232
| <![CDATA[<span style="text-decoration: underline;">pressionando <b>CTRL+V</b> em seu teclado</span>]]>
|
232
| <![CDATA[<span style="text-decoration: underline;">apertando Delete para excluir o texto e clicando com o botão direito do mouse na área vazia e na opção <strong>Colar</strong> no menu de contexto</span>]]>
|
211
| <![CDATA[<button onclick="ExibirCodigoFonte();" class="btn btn-default"> Clique aqui para gerar o código-fonte da sua assinatura.</button>]]>
|
246
| <![CDATA[<script>
var clipboard = new Clipboard('.copy-button');
//console.log(clipboard);
function InserirSocial(box) {
fieldset_social = document.getElementById('fieldset_social');
social_list = document.getElementById('social_list');
if ( box.checked ) {
fieldset_social.hidden = false;
fieldset_social.disabled = false;
social_list.setAttribute('style', 'font-size:0; line-height:0;');
social_list.innerHTML = '' + "\n" +
' <span id="twitter"></span>' + "\n" +
' <span id="facebook"></span>' + "\n" +
' <span id="instagram"></span>' + "\n" +
' <span id="youtube"></span>' + "\n" +
' <span id="googleplus"></span>';
} else {
fieldset_social.hidden = true;
fieldset_social.disabled = true;
fieldset_social.elements.twitter.value = '';
fieldset_social.elements.facebook.value = '';
fieldset_social.elements.instagram.value = '';
fieldset_social.elements.youtube.value = '';
fieldset_social.elements.googleplus.value = '';
social_list.removeAttribute('style');
social_list.innerHTML = '';
}
}
function ExibirCodigoFonte() {
if (document.getElementById("source_code").innerHTML == "") {
source_code = "<div>Atenciosamente,<br><br>\n" + document.getElementById("signature").innerHTML + "\n</div>\n<div></div>";
source_code = source_code.replace(/\t/g, "");
source_code = source_code.replace(/ id[=\"a-z_]+/g, "");
source_code = source_code.replace(/<span>[ \n]*<[/]span>[ \n]*/g, "");
source_code = source_code.replace(/<p>[ \n]*<[/]p>[ \n]*/g, "");
carac = new Array();
for (i = 0; i <= source_code.length - 1; i++) {
carac[i] = source_code.charAt(i);
carac[i] = carac[i].replace("<", "<");
carac[i] = carac[i].replace(">", ">");
carac[i] = carac[i].replace("\n", "<br>");
carac[i] = carac[i].replace(" ", " ;");
}
for (i = 0; i <= source_code.length - 1; i++) {
document.getElementById("source_code").innerHTML += carac[i];
}
}
}
$(function() {
$('.preview').change(function(){
var self = $(this);
var field = self.attr("name");
var value = self.val();
if ( value != "" ) {
if ( field == 'email' )
value = "\n" +
' <span style="font-size: 12pt;"> â </span>' + "\n" +
' <a href="mailto:' + value + '" target="_blank">' + value + '</a>' + "\n" +
' <br>';
if (field == 'celphone')
value = "\n" +
' <span style="font-size: 12pt;"> â </span>' + "\n" +
' ' + value + "\n" +
' <br>';
if (field == 'phone') {
branch = document.getElementById('_branch').value;
value = "\n" +
' <span style="font-size: 12pt;"> â </span>' + "\n" +
' ' + value + "\n" +
' <span id="branch">' + "\n" + ( branch != "" ?
' <span style="font-size: 12pt;"> ⦠</span>ramal ' + branch + "\n" : '' ) +
' </span>';
}
if (field == 'branch')
value = "\n" +
' <span style="font-size: 12pt;"> ⦠</span>ramal ' + value;
if (field == 'site')
value = "\n" +'<a href="https://' + value + '" target="_blank">https://' + value + '</a>';
if (field == 'twitter' || field == 'facebook' || field == 'instagram' || field == 'youtube' || field == 'googleplus')
value = "\n" +
' <a href="' + value + '">' + "\n" +
' <img width="16px" height="16px" alt="' + field + '" src="https://s3.amazonaws.com/htmlsig-assets/round/' + field + '.png" data-filename="' + field + '.png" style="margin-bottom:2px; border:none; display:inline;">' + "\n" +
' </a>' + "\n" +
' <span style="white-space:nowrap;">' + "\n" +
' <img width="2" src="https://s3.amazonaws.com/htmlsig-assets/spacer.gif">' + "\n" +
' </span>';
}
$("#preview #"+field).html(value);
document.getElementById("source_code").innerHTML = "";
});
});
</script>]]>
|