182
| <![CDATA[<div id="navbar" class="navbar navbar-default navbar-collapse h-navbar ace-save-state"
style="background: #A60119 !important;">
<div class="navbar-container ace-save-state" id="navbar-container" style="background: #A60219 !important;">
<div class="navbar-header pull-left">
<a href="https://dat.cbm.se.gov.br/Portal"
class="navbar-brand">
<small>
<i class="fa fa-fire-extinguisher"></i>
Portal de Autoatendimento CBM-SE
</small>
</a>
<button class="pull-right navbar-toggle collapsed" type="button" data-toggle="collapse"
data-target="#sidebar" style="background: #A60219 !important;">
<span class="sr-only">Menu</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-buttons navbar-header pull-right" role="navigation">
<ul class="nav ace-nav">
<li class="grey dropdown-modal">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="ace-icon fa fa-lock"></i>
Área restrita
</a>
<ul class="dropdown-menu-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
<li>
<a href="https://dat.cbm.se.gov.br/usuarios/login">
<i class="ace-icon fa fa-power-off"></i>
Login
</a>
</li>
</ul>
</li>
</ul>
</div>
</div><!-- /.navbar-container -->
</div>]]>
|
184
| <![CDATA[<div class="navbar-container ace-save-state" id="navbar-container" style="background: #A60219 !important;">
<div class="navbar-header pull-left">
<a href="https://dat.cbm.se.gov.br/Portal"
class="navbar-brand">
<small>
<i class="fa fa-fire-extinguisher"></i>
Portal de Autoatendimento CBM-SE
</small>
</a>
<button class="pull-right navbar-toggle collapsed" type="button" data-toggle="collapse"
data-target="#sidebar" style="background: #A60219 !important;">
<span class="sr-only">Menu</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-buttons navbar-header pull-right" role="navigation">
<ul class="nav ace-nav">
<li class="grey dropdown-modal">
<a data-toggle="dropdown" class="dropdown-toggle" href="#">
<i class="ace-icon fa fa-lock"></i>
Área restrita
</a>
<ul class="dropdown-menu-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
<li>
<a href="https://dat.cbm.se.gov.br/usuarios/login">
<i class="ace-icon fa fa-power-off"></i>
Login
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>]]>
|
193
| <![CDATA[<button class="pull-right navbar-toggle collapsed" type="button" data-toggle="collapse"
data-target="#sidebar" style="background: #A60219 !important;">
<span class="sr-only">Menu</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>]]>
|
392
| <![CDATA[<input style="font-size: 0.9em;" class="rounded text-center m-3 col-lg-4"
placeholder="Área total construída" type="text" id="areaA" mask="decimal" required>]]>
|
394
| <![CDATA[<input style="font-size: 0.9em;" class="rounded text-center m-3 col-lg-4"
placeholder="Valor da UFP" type="text" id="ValorUFp" mask="decimal" required>]]>
|
396
| <![CDATA[<select style="font-size: 0.9em;" class="rounded text-center m-3 col-lg-4"
placeholder="Fator de risco" type="text" id="fatorRiscoA" required>
<option value="1" >Risco Baixo</option>
<option value="2" >Risco Médio</option>
<option value="3" >Risco Alto</option>
</select>]]>
|
427
| <![CDATA[<input style="font-size: 0.9em;" class="rounded text-center m-3 col-lg-12"
placeholder="Área total construída" type="text" mask="decimal" id="areaV" required>]]>
|
429
| <![CDATA[<input style="font-size: 0.9em;" class="rounded text-center m-3 col-lg-12"
placeholder="Valor da UFP" type="text" id="ValorUFPVIS" mask="decimal" required>]]>
|
434
| <![CDATA[<input style="font-size: 0.9em;" class="rounded text-center" onchange="checkGlp()"
type="checkbox" id="glp">]]>
|
438
| <![CDATA[<input style="font-size: 0.9em;" class="rounded text-center" onchange="checkEvent()"
type="checkbox" id="evento">]]>
|
444
| <![CDATA[<input style="font-size: 0.9em; display: none" class="rounded text-center m-3 col-lg-12"
placeholder="Num botijoes" type="number" id="botijoes">]]>
|
448
| <![CDATA[<input style="font-size: 0.9em; display: none" class="rounded text-center m-3 col-lg-12"
placeholder="Qtd publico" type="number" id="publico">]]>
|
617
| <![CDATA[<style>
.parsley-errors-list {
list-style-type: none;
color: #D16E6C;
display: block;
padding: 0;
margin: 0;
font-size: x-small;
}
</style>]]>
|
405
| <![CDATA[<button type="submit" class="btn btn-success" onclick="calcularAnalise()" type="button">CALCULAR</button>]]>
|
406
| <![CDATA[<button class="btn btn-info" onclick="limparAnalise()" type="button">LIMPAR</button>]]>
|
458
| <![CDATA[<button type="submit" class="btn btn-success" onclick="calcularVistoria()" type="button">CALCULAR</button>]]>
|
459
| <![CDATA[<button class="btn btn-info" onclick="limparVistoria()" type="button">LIMPAR</button>]]>
|
72
| <![CDATA[<script type="text/javascript">
if ('ontouchstart' in document.documentElement) document.write("<script src='/templateNew/assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
</script>]]>
|
77
| <![CDATA[<script type="text/javascript">
jQuery(function ($) {
$(document).on('click', '.toolbar a[data-target]', function (e) {
e.preventDefault();
var target = $(this).data('target');
$('.widget-box.visible').removeClass('visible');//hide others
$(target).addClass('visible');//show target
});
$('form .required label').after("<i class='fa fa-asterisk text-danger' data-rel='popover' data-trigger='hover' data-placement='right' title='Campo Obrigat�rio' data-original-title='Campo Obrigat�rio'></i>");
$('[data-rel=tooltip]').tooltip({container: 'body'});
$('[data-rel=popover]').popover({container: 'body'});
$('#num_processo').mask('99999999999999-9');
$('input[mask="lat"]').mask("-99.999999");
$('input[mask="long"]').mask("-99.999999");
$('input[mask="cpf"]').mask("99999999999");
$('#cpf_cnpj').mask("99999999999999");
$('input[mask="decimal"]').maskMoney({symbol: "", decimal: ".", thousands: ""});
$('input[mask="cnpj"]').mask("99999999999999");
$('input[mask="cep"]').mask("99999-999");
$('input[mask="data"]').mask("99-99-9999");
$('input[mask="hora"]').mask("99:99");
$('input[mask="tel1"]').mask("(99)9999-9999");
$('.date-picker').datepicker({
language: 'pt-BR',
autoclose: true,
format: 'dd-mm-yyyy'
});
$('input[mask="tel"]').focusout(function () {
var aux = $('input[mask="tel"]').val();
aux = aux.replace(/[^\d]+/g, '');
if (aux.length > 10) {
$('input[mask="tel"]').mask("(99)99999-9999");
$('input[mask="tel"]').val(aux);
} else if (aux.length <= 10) {
$('input[mask="tel"]').mask("(99)9999-9999");
$('input[mask="tel"]').val(aux);
}
});
var cpf_cnpj = $('#cpf_cnpj');
cpf_cnpj.focusout(function () {
var aux = cpf_cnpj.val();
aux = aux.replace(/[^\d]+/g, '');
if (aux.length > 11) {
cpf_cnpj.mask("99999999999999");
cpf_cnpj.val(aux);
} else if (aux.length <= 11) {
cpf_cnpj.mask("99999999999");
cpf_cnpj.val(aux);
}
});
$('input[mask="tel"]').focusin(function () {
var aux = $('input[mask="tel"]').val();
aux = aux.replace(/[^\d]+/g, '');
$('input[mask="tel"]').mask("(99)99999-9999");
});
cpf_cnpj.focusin(function () {
var aux = cpf_cnpj.val();
aux = aux.replace(/[^\d]+/g, '');
cpf_cnpj.mask("99999999999999");
});
$('input[mask="certificado"]').focusout(function () {
var aux = $('input[mask="certificado"]').val();
aux = aux.replace(/[^\d]+/g, '');
if (aux.length > 5) {
$('input[mask="certificado"]').mask("99999999999999-9");
$('input[mask="certificado"]').val(aux);
} else if (aux.length <= 5) {
$('input[mask="certificado"]').mask("99999");
$('input[mask="certificado"]').val(aux);
}
});
$('input[mask="certificado"]').focusin(function () {
$('input[mask="certificado"]').mask("99999999999999-9");
});
$('.chosen').chosen({width: '100%'});
$('.date-time').datetimepicker({
// format: 'DD/MM/YYYY h:mm',//use this option to display seconds
icons: {
time: 'fa fa-clock-o',
date: 'fa fa-calendar',
up: 'fa fa-chevron-up',
down: 'fa fa-chevron-down',
previous: 'fa fa-chevron-left',
next: 'fa fa-chevron-right',
today: 'fa fa-arrows ',
clear: 'fa fa-trash',
close: 'fa fa-times'
}
}).next().on(ace.click_event, function () {
$(this).prev().focus();
});
});
window.Parsley
.addValidator('cpfCnpj', {
requirementType: 'string',
validateString: function (value, requirement) {
return valida_cpf_cnpj(value);
}
});
</script>]]>
|
224
| <![CDATA[<script type="text/javascript">
try {
ace.settings.loadState('main-container')
} catch (e) {
}
</script>]]>
|
231
| <![CDATA[<script type="text/javascript">
try {
ace.settings.loadState('sidebar')
} catch (e) {
}
</script>]]>
|
475
| <![CDATA[<script>
function calcularAnalise() {
var coeficiente = 0;
var cargaIncendio = 0;
var area = $('#areaA').val();
var valUfp = $('#ValorUFp').val();
var fatorrisco = $('#fatorRiscoA').val();
var valor = 0;
var qtdUFP = 0;
if(area <= 750) {
coeficiente = 0.03;
}
if(area > 750 && area <= 10000){
coeficiente = 0.02;
}
if(area > 10000){
coeficiente = 0.01;
}
qtdUFP = 3 + (area*fatorrisco*coeficiente);
valor = valUfp * qtdUFP;
$('#totalA').text(new Intl.NumberFormat('pt-BR', {style: 'currency', currency: 'BRL'}).format(valor));
$('#quantiUFP').text(qtdUFP);
}
function calcularVistoria() {
var coeficiente = 0;
var cargaIncendio = 0;
var area = $('#areaV').val();
var valUFPV = $('#ValorUFPVIS').val();
var fatorRisco = $('#fatorRiscoV').val();
var botijoes = $('#botijoes').val();
var tc = 0;
var publico = $('#publico').val();
var valor = 0;
var qtdUFPVis = 0;
if(botijoes <= 40) {
tc = 1;
}
if(botijoes > 40 && botijoes >= 120) {
tc = 2;
}
if(botijoes > 120 && botijoes >= 480) {
tc = 3;
}
if(botijoes > 480 && botijoes >= 960) {
tc = 4;
}
if(botijoes > 960 && botijoes >= 1920) {
tc = 5;
}
if(botijoes > 1920 && botijoes >= 3840) {
tc = 6;
}
if(botijoes > 3840 && botijoes >= 7680) {
tc = 7;
}
if(botijoes > 7680) {
tc = 8;
}
if(area <= 750){
qtdUFPVis = 2
valor = qtdUFPVis * valUFPV;
}
if(area > 750){
qtdUFPVis = 0.003 * area;
valor = qtdUFPVis * valUFPV;
}
if($('#glp').is(":checked")){
qtdUFPVis = 8 + ((tc - 1)*1.5);
valor = qtdUFPVis * valUFPV;
}
if($('#evento').is(":checked")){
qtdUFPVis = publico * 0.003;
valor = qtdUFPVis * valUFPV;
}
$('#totalV').text(new Intl.NumberFormat('pt-BR', {style: 'currency', currency: 'BRL'}).format(valor));
$('#quantiUFPVis').text(qtdUFPVis);
}
function limparAnalise() {
document.getElementById("areaA").value = '';
document.getElementById("fatorRiscoA").value = '';
}
function limparVistoria() {
$('#areaV').value = '';
$('#cargaIncendioV').value = '';
$('#glp').prop("checked", false);
$('#evento').prop("checked", false);
$('#botijoes').hide();
$('#publico').hide();
}
function checkEvent() {
if( $('#evento').is(":checked")){
$('#glp').prop("checked", false);
$('#publico').show();
$('#botijoes').hide();
$('#areaV').val('');
$('#areaV').hide();
}else{
$('#publico').hide();
$('#areaV').show();
}
}
function checkGlp() {
if( $('#glp').is(":checked")){
$('#evento').prop("checked", false);
$('#botijoes').show();
$('#publico').hide();
$('#areaV').val('');
$('#areaV').hide();
}else{
$('#botijoes').hide();
$('#areaV').show();
}
}
</script>]]>
|