@extends('BaseSistemaWeb') @section('CSS') {{-- LIBRERÍAS EXTERNAS NECESARIAS PARA SU EJECUCIÓN --}} {{ HTML::style('SysWeb/SumeClientes/Preloader.min.css?=v2.9.98') }} @if(isset($_GET["nomin"])) {{ HTML::style('gentemplate/css/complementos-editor-v2.css?v='.date('H:i:s')) }} @else {{ HTML::style('gentemplate/css/min/complementos-editor-v2.min.css?=v2.9.98') }} @endif @if(isset($_GET["nomin"])) {{ HTML::style('images_hover/css/efectos.css?='.date('H:i:s')) }} {{ HTML::style('gentemplate/css/menu-editor-v2.css?v='.date('H:i:s')) }} @else {{ HTML::style('images_hover/css/efectos.min.css?=v2.9.98') }} {{ HTML::style('gentemplate/css/min/menu-editor-v2.min.css?=v2.9.98') }} @endif @stop @section('Contenido') @include('Preloader') @include('GenTemplate.variables-ocultas')
{{ $PostxSitioWebxCliente->post_html_edicion }}
@stop @section('JS') {{ HTML::script('SysWeb/SumeClientes/Preloader.min.js?=v2.9.98') }} @if(isset($_GET["nomin"])) {{ HTML::script('gentemplate/js/complementos-editor-v2.js?v='.date('H:i:s')) }} {{ HTML::script('gentemplate/js/menu-editor-v2.js?v='.date('H:i:s')) }} @else {{ HTML::script('gentemplate/js/min/complementos-editor-v2.min.js?=v2.9.98') }} {{ HTML::script('gentemplate/js/min/menu-editor-v2.min.js?=v2.9.98') }} @endif @stop @section('JSOr') var sidebar ="" $.post( "{{ URL::route('SysWebSWebPostxPlantillaEditarV2', array($PostxSitioWebxCliente->id)) }}", { idPost:{{ $PostxSitioWebxCliente->id }} }, function(data){ $("#printable_header").html(data.HtmlHeader); $("#printable_footer").html(data.HtmlFooter); //generarMenus($("#printable"), 0); var cont = 0; if(data.HtmlSidebar != "" && data.HtmlSidebar != undefined){ cont++; if(cont){ $("#printable").find('.column.content-post').after(data.HtmlSidebar); $("#printable").find('.column.content-post').removeClass('col-sm-12 col-md-12 col-sm-8 col-md-8').addClass('col-sm-8 col-md-8 content-post'); //LIMPIEZA DE ELEMENTOS QUE SE DIBUJAN AUTOMPATICAMENTE //----------------------------------------------------- $("#printable").find('.sidebar').css({"pointer-events": "none", "opacity" : "0.5"}); $("#printable").find('.column').css('float', 'left'); } }else{ console.log("else") $("#printable").find('.column.content-post').removeClass('col-sm-8 col-md-8 col-8').addClass('col-sm-12 col-md-12 content-post'); } // scConfigurarMenus(false, false); }, "json" ) //$("#printable").find('.column').addClass('content-post'); $.fn.matchHeight._update(); //$.jResize({ viewPortSizes: ['480px', '800px', '1280px'], backgroundColor: "444", fontColor: "FFF" }); /*if( $.browser.msie || $.browser.msedge || $.browser.safari || $.browser.opera ){ $("#errCompatibilidad").html(''); }*/ $(".sidebar-toggle-box").trigger("click"); $("#printable_footer").css("pointer-events", "none"); $("#printable_header").css("pointer-events", "none"); setTimeout(function(){ // scConfigurarMenus($("#printable_header"), false); // scConfigurarMenus($("#printable_footer"), false); scConfigurarMenus($(".paginas-sitios"), false); }, 1000); $(".galeria").each(function(indice){ var id = $(this).find(".grid-galeria").attr("id"); $("#"+id).mediaBoxes("resize"); var image = $(this).find(".done"); if(image.parent().height() > image.height()){ image.css({"height": image.parent().height(), "object-fit": "cover"}); } }); $(".viewlist").find("[title]").each(function(){ $(this).uitooltip({ position: { my: "center bottom-5", at: "center top", }, tooltipClass: "entry-tooltip-positioner", }); }); if($(".actualizar-pago").length > 0 || $(".alert-correo").length > 0){ var mensaje = '
\
\
\
\
\
'; BootstrapDialog.show({ title: "Actualizar método de pago", type: BootstrapDialog.TYPE_PRIMARY, size: BootstrapDialog.SIZE_NORMAL, message: mensaje, draggable: true, cssClass: "Pago color-head-modal", onshown: function(dialog){ var ventana = dialog.getModalBody(); if( $(".actualizar-pago").length > 0 ){ ventana.find(".datos-pago").html($(".actualizar-pago").prop("outerHTML")); } if( $(".alert-correo").length > 0 ){ ventana.find(".datos-pago").append($(".alert-correo").prop("outerHTML")); } }, buttons: [{ id: "btAceptar", label: ' Aceptar', cssClass: "btn-primary", action: function(dialogItself){ dialogItself.close(); } }] }); } @stop