<script type="text/javascript" src="/download/attachments/347442711/TOTVS_Carousel.js?version=1&modificationDate=1521825770000&api=v2"> <link rel="stylesheet" type="text/css" href=""> |
Este documento foi criado com o objetivo de realizar uma pequena apresentação da documentação criada para explicar o funcionamento do Cache Centralizado.
<script type="text/javascript" language="javascript"> /* @license ! jQuery-mutate - v0.0.2 - * Licensed under the MIT license * http://www.opensource.org/licenses/mit-license.php * Date: 2015-04-19 */ !function(t){mutate_event_stack=[{name:"width",handler:function(a){var e=t(a);return e.data("mutate-width")||e.data("mutate-width",e.width()),e.data("mutate-width")&&e.width()!=e.data("mutate-width")?(e.data("mutate-width",e.width()),!0):!1}},{name:"height",handler:function(a){var e=t(a);return e.data("mutate-height")||e.data("mutate-height",e.height()),e.data("mutate-height")&&e.height()!=e.data("mutate-height")?(e.data("mutate-height",e.height()),!0):void 0}},{name:"top",handler:function(a){var e=t(a);return e.data("mutate-top")||e.data("mutate-top",e.css("top")),e.data("mutate-top")&&e.css("top")!=e.data("mutate-top")?(e.data("mutate-top",e.css("top")),!0):void 0}},{name:"bottom",handler:function(a){var e=t(a);return e.data("mutate-bottom")||e.data("mutate-bottom",e.css("bottom")),e.data("mutate-bottom")&&e.css("bottom")!=e.data("mutate-bottom")?(e.data("mutate-bottom",e.css("bottom")),!0):void 0}},{name:"right",handler:function(a){var e=t(a);return e.data("mutate-right")||e.data("mutate-right",e.css("right")),e.data("mutate-right")&&e.css("right")!=e.data("mutate-right")?(e.data("mutate-right",e.css("right")),!0):void 0}},{name:"left",handler:function(a){var e=t(a);return e.data("mutate-left")||e.data("mutate-left",e.css("left")),e.data("mutate-left")&&e.css("left")!=e.data("mutate-left")?(e.data("mutate-left",e.css("left")),!0):void 0}},{name:"hide",handler:function(a){var e=t(a),r=e.is(":hidden"),d=void 0==e.data("prev-hidden")?r:e.data("prev-hidden");return e.data("prev-hidden",r),r&&r!=d?!0:void 0}},{name:"show",handler:function(a){var e=t(a),r=e.is(":visible"),d=void 0==e.data("prev-visible")?r:e.data("prev-visible");return e.data("prev-visible",r),r&&r!=d?!0:void 0}},{name:"scrollHeight",handler:function(a){var e=t(a);return e.data("prev-scrollHeight")||e.data("prev-scrollHeight",e[0].scrollHeight),e.data("prev-scrollHeight")&&e[0].scrollHeight!=e.data("prev-scrollHeight")?(e.data("prev-scrollHeight",e[0].scrollHeight),!0):void 0}},{name:"scrollWidth",handler:function(a){var e=t(a);return e.data("prev-scrollWidth")||e.data("prev-scrollWidth",e[0].scrollWidth),e.data("prev-scrollWidth")&&e[0].scrollWidth!=e.data("prev-scrollWidth")?(e.data("prev-scrollWidth",e[0].scrollWidth),!0):void 0}},{name:"scrollTop",handler:function(a){var e=t(a);return e.data("prev-scrollTop")||e.data("prev-scrollTop",e[0].scrollTop()),e.data("prev-scrollTop")&&e[0].scrollTop()!=e.data("prev-scrollTop")?(e.data("prev-scrollTop",e[0].scrollTop()),!0):void 0}},{name:"scrollLeft",handler:function(a){var e=t(a);return e.data("prev-scrollLeft")||e.data("prev-scrollLeft",e[0].scrollLeft()),e.data("prev-scrollLeft")&&e[0].scrollLeft()!=e.data("prev-scrollLeft")?(e.data("prev-scrollLeft",e[0].scrollLeft()),!0):void 0}}]}(jQuery); |
/* @license ! jQuery-mutate - v0.0.1 - * Licensed under the MIT license * http://www.opensource.org/licenses/mit-license.php * Date: 2015-04-19 */ !function(a){function b(){var c=mutate;"undefined"!=c.event_stack&&c.event_stack.length&&a.each(c.event_stack,function(a,b){mutate.add_event(b)}),c.event_stack=[],a.each(c.stack,function(b,d){a(d.selector).each(function(a,b){c.events[d.event_name](b)===!0?d.callback&&d.callback(b,d):d.false_callback&&d.false_callback(b,d)})}),setTimeout(b,mutate.speed)}mutate={speed:100,event_stack:mutate_event_stack,stack:[],events:{},add_event:function(a){mutate.events[a.name]=a.handler},add:function(a,b,c,d){mutate.stack[mutate.stack.length]={event_name:a,selector:b,callback:c,false_callback:d}}},b(),a.fn.extend({mutate:function(){var b=!1,c=arguments[1],d=this,e=arguments[2]?arguments[2]:function(){};return"extend"==arguments[0].toLowerCase()?(mutate.add_event(c),this):(a.each(a.trim(arguments[0]).split(" "),function(a,f){b=f,mutate.add(b,d,c,e)}),this)}})}(jQuery); </script> |
<style type="text/css"> .expand-container{ margin-top:5px !important; font-weight: normal !important; } .expand-control{ margin-bottom: 5px !important; } pre{ white-space: inherit !important; } table tr:nth-child(odd), table tr:nth-child(odd) > *{ background: transparent !important; border: 0 !important; } .pdl .codeContent .gutter{ border-right: 1px solid #ccc !important; } .wiki-content .innerCell { overflow-y: hidden; } .HiddenDiv .confluence-information-macro { width: 100%; background: #fff !important; border: 0 !important; -moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important; color: #333; margin: 10px 0 1em 0; min-height: 20px; padding: 10px; position: relative; } .HiddenDiv .confluence-information-macro p.title{ padding-left: 20px; margin-top: -5px; } .HiddenDiv .confluence-information-macro .confluence-information-macro-icon.aui-iconfont-error{ color: #fff; } .HiddenDiv .confluence-information-macro-warning{ background-color: #d04437 !important; color: #fff; } .confluence-information-macro-information{ border: 1px #aab8c6 solid !important; background-color: #f7f7f7 !important; -moz-border-radius: 0px !important; -webkit-border-radius: 0px !important; border-radius: 0px !important; width: 100%; } .HiddenDiv .confluence-information-macro .confluence-information-macro pre{ display: none; } .HiddenDiv .wiki-content a:link, .HiddenDiv .wiki-content a, .HiddenDiv .tab-nav-link, .HiddenDiv .current{ color: #000 !important; } .wiki-content a:link { color: #000 !important; } .lastDiv + pre{ font-family: inherit; } .white-container{ -moz-box-shadow: 2px 2px 2px #aaa; -webkit-box-shadow: 2px 2px 2px #aaa; box-shadow: 2px 2px 2px #aaa; } .confluence-embedded-file-wrapper .confluence-embedded-image{ max-width: 100% !important; max-height: 100%; } .fileContainer{ width: 150px; height: 150px; border: 1px #aab8c6 solid; margin-top: 14px; background-color: #f7f7f7; position: relative; float:left; } .fileContainer div{ position: absolute; top: 50%; left: 50%; width: 100px; height: 76px; margin-top: -38px; margin-left: -50px } .fileContainer div img{ padding-left:16px; } .fileContainerAnchor{ width: 150px; } </style> |
<div style="border:1px solid #aab8c6;padding:5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border-radius: 5px;background: #f7f7f7"> <div style="background:#f7f7f7;width:100%;height:40px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 1px solid #aab8c6;margin-bottom:14px;padding-bottom:5px"> <span style="float:left"><img style="width: 16px; height: 16px;" src="/download/attachments/344478255/totvs_icon_2.png?version=1&modificationDate=1521057604227&api=v2" /></span> <span style="float:left;font-size:inherit;padding-left:5px">Funcionamento / Configuração do Cache Centralizado</span> </div> |
<div style="border: 1px solid #aab8c6"> <div style="background:#f7f7f7;width:100%;height:40px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> <span style="float:left;margin-top:3px;"><img style="width: 16px; height: 16px;" src="/download/attachments/347442711/presentation.png?version=1&modificationDate=1521750455855&api=v2" /></span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 3px">Apresentações em PDF</span> </div> <div style="background:#f0f0f0;width:100%;height:auto;min-height:40px;color: #000;font-weight:bold;font-size: 16px;padding:5px;border-bottom: 0px;"> |
<div style="width:100%;height: 40px;padding-top:5px"><span style="float:left;margin-top: 4px;font-weight:normal !important"><img style="width: 16px; height: 16px;" src="/download/attachments/309398329/cube.png?version=1&modificationDate=1509370590936&api=v2" /></span> <span style="float:left;font-size:inherit;padding-left:5px;margin-top: 4px;font-weight:normal !important">Apresentação PDF 1 <b>(Cache Centralizado)</b></span><span style="float:left;font-size:inherit;padding-left:5px;font-weight:normal !important;margin-top:4px;"><a href="/download/attachments/344478255/TOTVS%20RM%20Hybrid%20Scenario%20%282%29.pdf?version=4&modificationDate=1521122911000&api=v2"><img src="/download/attachments/344478255/google-drive-pdf-file.png?version=1&modificationDate=1521065702952&api=v2" /></a> </span><span style="float:right;margin-top: 4px;padding-right:5px;cursor:pointer" onclick="Show('hiddenDiv32', 'img32');"><img id="img32" name="img32" style="width: 16px; height: 16px; margin-top: 3px" src="/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2"></span></div> <div style="background: #e2e2e2;"> <div id="hiddenDiv32" style="visibility:hidden;height: 0px; line-height: 40px; padding-left: 5px; background: #e2e2e2;font-weight:normal"> <div style="background: #fff; padding:10px;text-align:center;width: calc(100% - 5px);;border-top:#e2e2e2 5px solid"> |
<style> @import url('https://fonts.googleapis.com/css?family=Lato'); * {box-sizing: border-box;} body {font-family: 'Lato', sans-serif !important;} .mySlides {display: none;} img {vertical-align: middle;} /* Next & previous buttons */ .prev, .next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 16px; margin-top: -42px; color: white !important; font-weight: bold; font-size: 18px; transition: 0.6s ease; border-radius: 0 3px 3px 0; text-decoration: none; } .prev{ left: 0px; } /* Position the "next button" to the right */ .next { right: 0; border-radius: 3px 0 0 3px; text-decoration: none; } /* On hover, add a black background color with a little bit see-through */ .prev:hover, .next:hover { background-color: rgba(0,0,0,0.8); text-decoration: none; } /* Slideshow container */ .slideshow-container { /*max-width: 1000px;*/ position: relative; margin: auto; } /* Caption text */ .text { color: #f2f2f2; font-size: 15px; position: absolute; bottom: 35px; width: 100%; text-align: center; background: rgba(0,0,0,.6); } /* Number text (1/3 etc) */ .numbertext { color: #f2f2f2; font-size: 12px; padding: 8px 12px; position: absolute; top: 0; } /* The dots/bullets/indicators */ .dot { height: 15px; width: 15px; margin: 0 2px; background-color: #bbb; border-radius: 50%; display: inline-block; transition: background-color 0.6s ease; } .active { background-color: #717171; } /* Fading animation */ .fade { -webkit-animation-name: fade; -webkit-animation-duration: 1.5s; animation-name: fade; animation-duration: 1.5s; } @-webkit-keyframes fade { from {opacity: .4} to {opacity: 1} } @keyframes fade { from {opacity: .4} to {opacity: 1} } /* On smaller screens, decrease text size */ @media only screen and (max-width: 300px) { .text {font-size: 11px} } .totvs-skin-wrapper{ font-family: 'Lato', sans-serif !important; background-color: #000; padding:10px; } .totvs-skin-wrapper-header{ position: relative; text-align: center; color: white; font-size: 20px; font-family: 'Lato', sans-serif !important; padding-bottom: 8px; margin-top: -5px; } .totvs-skin-wrapper-header img{ position: absolute; right: 0; margin-top: 4px; } .totvs-skin-wrapper-footer{ position: relative; text-align: center; color: white; font-family: 'Lato', sans-serif !important; padding-top: 10px; height: 35px; } .totvs-skin-wrapper-footer-input{ width: 50px; height: 25px; color: white; font-family: 'Lato', sans-serif !important; right: 0; background: #707070; position: absolute; text-align: center; border: 0; } .totvs-skin-wrapper-footer-player-container{ width: 100px; height: 25px; margin-left: calc((100% / 2) - 50px); } .totvs-skin-wrapper-footer-player-container-play{ width: 16px; height: 16px; cursor: pointer; margin-top: -18px; } .totvs-skin-wrapper-footer-player-container-pause{ width: 16px; height: 16px; cursor: pointer; margin-top: -18px; } .totvs-skin-wrapper-footer-player-container-stop{ width: 16px; height: 16px; cursor: pointer; padding:2px; margin-top: -18px; } .row:after { content: ""; display: table; clear: both; } /* Six columns side by side */ .column { float: left; width: 16.66%; } /* Add a transparency effect for thumnbail images */ .demo { opacity: 0.6; } .active, .demo:hover { opacity: 1; </style> |
<div id="divContainer"></div> |
<script> var _images = []; var _imagesSettings1 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-1.png?version=1&modificationDate=1521744577627&api=v2', Caption: 'Página 1' } var _imagesSettings2 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-2.png?version=1&modificationDate=1521744583301&api=v2', Caption: 'Página 2' } var _imagesSettings3 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-3.png?version=1&modificationDate=1521744585793&api=v2', Caption: 'Página 3' } var _imagesSettings4 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-4.png?version=1&modificationDate=1521744587348&api=v2', Caption: 'Página 4' } var _imagesSettings5 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-5.png?version=1&modificationDate=1521744590331&api=v2', Caption: 'Página 5' } var _imagesSettings6 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-6.png?version=1&modificationDate=1521744593147&api=v2', Caption: 'Página 6' } var _imagesSettings7 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-7.png?version=1&modificationDate=1521744596596&api=v2', Caption: 'Página 7' } var _imagesSettings8 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-8.png?version=1&modificationDate=1521744598581&api=v2', Caption: 'Página 8' } var _imagesSettings9 = { Url: '/download/attachments/330843097/TOTVS%20RM%20-Configura%C3%A7%C3%A3o%20Servi%C3%A7o%20de%20Cache%20Centralizado-9.png?version=1&modificationDate=1521744575616&api=v2', Caption: 'Página 9' } _images.push(_imagesSettings1); _images.push(_imagesSettings2); _images.push(_imagesSettings3); _images.push(_imagesSettings4); _images.push(_imagesSettings5); _images.push(_imagesSettings6); _images.push(_imagesSettings7); _images.push(_imagesSettings8); _images.push(_imagesSettings9); TOTVS_Carousel.Init('Carousel1', 'divContainer', 5000, _images, true, true, true, 'Cache Centralizado', 'black'); TOTVS_Carousel.ShowSlides(); </script> |
</div> </div> </div> </div> </div> </div> |
<script type="text/javascript" language="javascript"> Show = function(divName, imgName){ window["currentElement"] = divName; if(typeof divName === "string"){ if(document.getElementById(divName).offsetHeight < 2){ setTimeout("$('#" + divName +"').css('display', 'table')", 500); $("#" + divName).animate({height: $("#" + divName).get(0).scrollHeight + 7}); $("#" + divName).css("visibility", "visible"); $("#" + imgName).attr('src', '/download/attachments/309398329/remove.png?version=1&modificationDate=1509386912062&api=v2'); $(".HiddenDiv .tab-nav-link").on("click", function(){ window["currentElement"] = $(this).parents().find(".HiddenDiv").attr("id"); }); $(".HiddenDiv .confluence-information-macro").mutate('height',function (element,info){ this.selector.each(function(index, element){ if($(this).parent().attr("id") == window["currentElement"]) $(this).parent().height($(this).outerHeight() + 61); }); }); } else{ $("#" + divName).animate({height: "0px"}); $("#" + divName).css("visibility", "hidden"); $("#" + divName).css("display", ""); $("#" + imgName).attr('src', '/download/attachments/309398329/add.png?version=1&modificationDate=1509382756808&api=v2'); } } } </script> |