Commit 4cb7d9c6d9cf98c1a2449cf7008ab49a534d2026
1 parent
01e0694c
Exists in
master
Retirado o onload pois n?o ? executado no FF com um refresh.
Showing
4 changed files
with
17 additions
and
20 deletions
Show diff stats
app/profile
app/static/barra-brasil.js
1 | -!function(){var e,a,t,r,i,o,s,l='<div id="wrapper-barra-brasil"><div class="brasil-flag"><a href="http://brasil.gov.br" class="link-barra">Brasil</a></div><span class="acesso-info"><a href="http://brasil.gov.br/barra#acesso-informacao" class="link-barra">Acesso à informação</a></span><ul class="list"><li class="list-item first"><a href="http://brasil.gov.br/barra#participe" class="link-barra">Participe</a></li><li class="list-item"><a href="http://www.servicos.gov.br/" class="link-barra">Serviços</a></li><li class="list-item"><a href="http://www.planalto.gov.br/legislacao" class="link-barra">Legislação</a></li><li class="list-item last last-item"><a href="http://brasil.gov.br/barra#orgaos-atuacao-canais" class="link-barra">Canais</a></li></ul></div>';a=document.getElementById("barra-brasil"),a&&(a.parentNode.removeChild(a),t=document.getElementsByTagName("head")[0],e=document.getElementsByTagName("body")[0],o=document.createElement("link"),r=document.createAttribute("href"),s=document.createElement("div"),i=document.createAttribute("id"),i.nodeValue="barra-brasil",s.setAttributeNode(i),s.innerHTML=l,e.insertBefore(s,e.childNodes[0])),window._barrabrasil={insere_css:function(e){var a,r,i;return r=document.createElement("style"),i=document.createAttribute("type"),i.nodeValue="text/css",a=document.createAttribute("media"),a.nodeValue="all",r.setAttributeNode(i),r.setAttributeNode(a),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),t.appendChild(r)}};var t,d,n,c;t=document.getElementsByTagName("head")[0],d=document.createElement("script"),c=document.createAttribute("type"),c.nodeValue="text/javascript",n=document.createAttribute("src"),n.nodeValue="//coletajavascript.serpro.gov.br/estatistica.js",d.setAttributeNode(c),d.setAttributeNode(n),t.appendChild(d)}(),window._barrabrasil.insere_css('#barra-brasil div,#barra-brasil a,#barra-brasil ul,#barra-brasil li{margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline}#barra-brasil ul{list-style:none}@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;src:local("Open Sans Bold"),local("OpenSans-Bold"),url("//barra.brasil.gov.br/static/opensans-bold.woff") format("woff")}#barra-brasil{height:32px;background:#f1f1f1;font-weight:bold;font-size:12px;line-height:32px;font-family:"Open Sans",Arial,Helvetica,sans-serif}#barra-brasil a{text-decoration:none}div#wrapper-barra-brasil{position:relative;overflow:hidden;margin:0 auto;width:100%;max-width:960px}#barra-brasil .brasil-flag{float:left;padding:7px 0 6px;width:115px;height:19px;border-right:2px solid #dfdfdf}#barra-brasil .brasil-flag .link-barra{display:block;padding-left:42px;width:43px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAATCAIAAAABJ4pRAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABINJREFUeNqUVFtsFFUYPrfdmdnLbLe021baQqWUtdJKL5QiASPiNVqC0TYqUWLShJQmRH3RqPHFRKJvQqIPQNSAAcMDptGEiKjYpLZIkSqGXqjdFlppd3vb7c7Ozpxz/M+2wZD44snszOzJnP//vv///g9XnNiXtNISI1gYq4eUEu4CC7SyiLpJgtSOIJKg/1ySB3x+NmsvJLNpgVUwlAu08iIkzi2pUhHIAa/q1L9p7l6YWmmHEOSBWJD6LixwJ7DDAKR06c6imQOVYxoRyEV4BR3JBYfvqNqBtILrSGNEKgoCsVxWDMmxgAOADeDjQsP+oHbo1egk7B+Mju/vq7kwVYhohsAxoiogiIM5hBaSUIBFfS21WRcOSwUHOwgTqoJR+O0pv31u56XmUKrvt4o/RyNrjVRHw40iLdU9Hck4DPBQxOQKK/XQqQa7nGNb8UICSUoE4y4rCyweqh164b7Jk12N737x2NjtfMAeCDit268e7jj7yOqfX++p+ebvQk5coAB8BQIMroqaf7xt3p4TUATgxj0Y0wOVN96uHomE3I+Ob37zSJvUHURshjySIZ4JPLhp+IcPj3h1eSZ2zxu/R8cXDeThuSLJkGZSY/fGjGOrenG9xlz8vPnK/g0xEwprl52PH9ryUGRLk1lfXWqGCcE0lUqOjxeHVy01141V+5Mvlk+lOLmcAOwC6OpMo8FnqlOCh2j2taqRE1sHKk2LuFJq6NveumNd9f0Dt2IjC1aGVKwzdz1cUryaxSasW9Oo/dFfoaEB6jxdOl2Xt3BtwYw7Xh/VmQNNcNHj5fH3N40CQgnNAAUQMjgh+y/dpIblN9j14fHuHqEFvPUP5L3Svp4mHNtGmgbaVF1oWZNIi8GXextALUpEhLqnJ0o3f9fcEw9iD3RFCaUiMmvmG/lhI50VBQX6ujX5ju3+dHHm1Mmb9dGsxyRKSwylHNLRt2HvL42O4C5IhsLsgEII74+Hd1zY+s5AdMklguMnmkaLwn9RGgr7dSfLk5ZreGhJUdD0+oz0ZxSOMNQ1VdB4fscnw5VCiOUBpb7d91vcklBJJpDwXpwOn50qKdXs2tLZpoqJU99XxVPBbMayXRnOK/Dp5p5tZzpbu0cT+sErG9/6o2rW9iLKQbOget2jQbgay3UIJrlhlJSK6Yz3dKx4dD74Ut3Ivu2X5xe8CSvopdm1kdh7e7/sfO7Ho4PlrT0NvTMhTISaaRhUoImITr244Njz8WwSVKOMhBI1hdIBMQuXlARShxuvPbt+3k0gx9GMsDVp0c7emq8nSiSFjzkVlCuKfHl+Q0aQai21Gb4E7SA59wDWGLLBg+Kk6/lqrKw/4dtWOLfKn/74+r2t3fVX5/IwcyExIBAKFFWOhskyWVx4tG3GmUfKCFRbOHYBNjiC6hBkBTrQRl+mSLeHZkOYOXeMRxIFCb6SME5gYJiGvH7MPn0q5wBCgqkgF4xBEVfdhksTyMmNpFT/chJQJQbkgitE8o73gRe4HsRYe/RJy86IFYtU1pVzSqxC/J8F5fMz/z8CDAAkCSSg0qSX5AAAAABJRU5ErkJggg==") 8px center no-repeat;text-transform:uppercase;line-height:19px}#barra-brasil .acesso-info{position:absolute;left:130px}#barra-brasil .list{position:absolute;top:0;right:0}#barra-brasil .list .first{border-left:2px solid #dfdfdf}#barra-brasil .list-item{display:inline-block;padding:0 15px 0 13px;height:32px;border-right:2px solid #dfdfdf}#barra-brasil .link-barra{color:#606060}@media screen and (max-width: 668px){#barra-brasil .list{top:-100px}}@media screen and (min-width: 960px){#wrapper-barra-brasil{width:960px}}'),!function(){var e='<div id="wrapper-footer-brasil"><a href="http://www.acessoainformacao.gov.br/"><span class="logo-acesso-footer"/></a></div>';window.onload=function(){var a,t,r,i,o,s,l,d,n,c,b,p,m,g,A,u;return o=document.getElementById("footer-brasil"),o?(o.parentNode.removeChild(o),s=document.getElementsByTagName("head")[0],r=document.getElementsByTagName("body")[0],c=document.createElement("link"),l=document.createAttribute("href"),m=document.createElement("div"),d=document.createAttribute("id"),d.nodeValue="footer-brasil",m.setAttributeNode(d),m.innerHTML=e,A=document.getElementsByTagName("script"),p=A[A.length-1],g=p.src.replace(/^[^\?]+\??/,""),t=g.split(/[;&]/),u="cor",1===t.length&&(a=t[0].split("="),2===a.length&&(n=unescape(a[0]),u=unescape(a[1]),u=u.replace(/\+/g," "))),b=["azul","amarelo","verde","branco"],"cor"===u&&(u="verde"),-1===b.indexOf(u)&&(u="verde"),i=document.createAttribute("class"),i.nodeValue="footer-brasil-"+u,m.setAttributeNode(i),r.insertBefore(m,r.lastChild)):void 0},window._footerbrasil={insere_css:function(e){var a,t,r,i;return r=document.createElement("style"),i=document.createAttribute("type"),i.nodeValue="text/css",t=document.createAttribute("media"),t.nodeValue="all",r.setAttributeNode(i),r.setAttributeNode(t),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),a=document.getElementsByTagName("head")[0],a.appendChild(r)}}}(),window._footerbrasil.insere_css('.footer-brasil-verde{background:none repeat scroll 0% 0% #1a5027;padding:1em 0px;max-width:100%}.footer-brasil-amarelo{background:none repeat scroll 0% 0% #f5c516;padding:1em 0px;max-width:100%}.footer-brasil-azul{background:none repeat scroll 0% 0% #3b69b3;padding:1em 0px;max-width:100%}.footer-brasil-branco{background:none repeat scroll 0% 0% #fff;padding:1em 0px;max-width:100%}div#wrapper-footer-brasil{position:relative;overflow:hidden;margin:0 auto;width:100%;max-width:960px}#wrapper-footer-brasil .logo-acesso-footer{float:left;padding-left:107px;width:107px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGsAAAAxCAYAAADdqledAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAADqBJREFUeNrsm11sFNcVx8+dmV17/bk2xnwEgg1OQvPFQkiiNGmwpURq00oYVa2UVKrNQ5VHzEOfogp4TVUB6nNkR1E/Hiph962VUhbSRFEbyiZpQsJHWDvgAAbv2uv93pnbc++cO3N3bWMvYCTqHXG5M3fuzO7e3/zPOXPuNeOcQ217MDajNgQ1WLVtBTZrsROMsTu6YeGPG/ux2oMlIguD8LxOHJL4fwzLKSzR4BuT0RqKiiFawD2xxXxWNbAQUBdWB7AMCjjepfotmIRUCQ3kx7vwjmMZQXDxGqoVgIWQhGqOCkiyuzCqoU5ga3YDa+kBCDYDq1sL4GQB7AJ+gxJ+CRsgMwk8ew1gbgJ4+greaFYHdwT/P4bQkjVY9wgWmbthJswcQmKdLwDb/BOE9AiCyQCUEJCDtZ3DWoCy/eLYLjTHPeazFwGmPwee+c6F5kil7VvN5vGewUJQR9GsDYkurHUbsEffxPpRBJN1QYlaqMkRoIoaqJILRwMFjuMBhPQkOFP/BsgnBDCpMgR2uAbrDmEhqGEENchQTUbPL4F1v05mLlMBKu/BkTX4qvLhOfiP2ryCbTf/A3zmggIm/Nj+GqwqYXmg6prAePLXwDp2+5AkMALFCx6o09MBiM1acKvAoTNQgMcacvBKe2qesrgGC2w8TsWB34rBdKIEbc3WqgN2V7A80ydA7f4tsMaHNCURLAmqhDcVSirBe1cb4ZsMgxJKxHZEsWW9qzkNr69P+rB0Val9G/fT34E9dRbm0jY0h8xVZRIX4rKsl2IZTAhQwvQ9cRBYw3pkMYcDisVRdQYhFbAbqooV4dOUCZeyBhTBQWyi2HK/iPVHM0H4eCYgg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ueqrmTvdjGazHK7dKIGJqmzb/BSYz/8uZlnmfljF21LRoHhvOAuhdcDk9D6qam4cWDFRsXyMe1EgY/6+PtVxKhGCPe25+fk/R0spke9KzJRgetqG+qABnd1Pg9H752SgYc1OwzDiqwVMtQtmVLoEWLDFzVikJyA/Nw3xq3m48G0Odj/ZCBs6A0ic0eoW8Ba2iIFn3mQhgz0tOTcHTJl577to+cECvvReu16AHJq/ZvRR7U/9HIxnDgtQfasJ1J0qSyzj6spDM1wcT8M38WkYnyyAhYi3bqqH1iYTMnkbnngkBOs6AqQsKJve12c65s91KUgOqsmGm7dKELAM6Ahb0PT8b8Dc/quYaZp9lmWtuj9ZrfpPfiZ+v5Z/8kUaLn2bF38UAFs21METPSFo63kJkg27IME3wqbpP8CVc2dhJm3D9m31sG5NQK5LVzPy82Z+yeSJ+6XmbJjBsDyJoASktQiptfsF4M+8DYFw97G6YPDgalVR1bCS76w/eeZculf8yc2Wp74P8PBrkKh/FtJFaySfz4+9/IMXR//29/cHO0qfH1o/+9euZDwGE9cKMtPU1mJCuMWSk4SMprNEqqiA70uZnCNNnVio2xgyoaMVldTzKkDPIJjrXoxixHckGAxEV7PJqxoWnut1vjt9It/4WBgBjWazubFCoTDas23rPLN0+oMPBxvsawfa8rFI0+zHkLlxAbJzKYz0OaRzbk5PgGtDgAJcc2sYAuufBVj7HPANr4LZvAXDcut4KBRa1ZDuGNadbGfOnO1iBuvHgGBPgKcjDYUJcSwWt8hiopyclu+BUdeKoXggFrCsUxiSjzY1NSVriO4QVm17MF+Ka1sNVm2rwfo/3v4nwAA0LvJE2zE7hgAAAABJRU5ErkJggg==") 107px center no-repeat;text-transform:uppercase;height:49px}div#wrapper-footer-brasil{position:relative;overflow:hidden;margin:0 auto;width:100%;max-width:960px}@media screen and (min-width: 960px){#wrapper-footer-brasil{width:960px}}'); | |
2 | 1 | \ No newline at end of file |
2 | +!function(){var e,a,t,r,i,s,o,l='<div id="wrapper-barra-brasil"><div class="brasil-flag"><a href="http://brasil.gov.br" class="link-barra">Brasil</a></div><span class="acesso-info"><a href="http://brasil.gov.br/barra#acesso-informacao" class="link-barra">Acesso à informação</a></span><ul class="list"><li class="list-item first"><a href="http://brasil.gov.br/barra#participe" class="link-barra">Participe</a></li><li class="list-item"><a href="http://www.servicos.gov.br/" class="link-barra">Serviços</a></li><li class="list-item"><a href="http://www.planalto.gov.br/legislacao" class="link-barra">Legislação</a></li><li class="list-item last last-item"><a href="http://brasil.gov.br/barra#orgaos-atuacao-canais" class="link-barra">Canais</a></li></ul></div>';a=document.getElementById("barra-brasil"),a&&(a.parentNode.removeChild(a),t=document.getElementsByTagName("head")[0],e=document.getElementsByTagName("body")[0],s=document.createElement("link"),r=document.createAttribute("href"),o=document.createElement("div"),i=document.createAttribute("id"),i.nodeValue="barra-brasil",o.setAttributeNode(i),o.innerHTML=l,e.insertBefore(o,e.childNodes[0])),window._barrabrasil={insere_css:function(e){var a,r,i;return r=document.createElement("style"),i=document.createAttribute("type"),i.nodeValue="text/css",a=document.createAttribute("media"),a.nodeValue="all",r.setAttributeNode(i),r.setAttributeNode(a),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),t.appendChild(r)}};var t,d,n,c;t=document.getElementsByTagName("head")[0],d=document.createElement("script"),c=document.createAttribute("type"),c.nodeValue="text/javascript",n=document.createAttribute("src"),n.nodeValue="//coletajavascript.serpro.gov.br/estatistica.js",d.setAttributeNode(c),d.setAttributeNode(n),t.appendChild(d)}(),window._barrabrasil.insere_css('#barra-brasil div,#barra-brasil a,#barra-brasil ul,#barra-brasil li{margin:0;padding:0;border:0;font-size:100%;font-family:inherit;vertical-align:baseline}#barra-brasil ul{list-style:none}@font-face{font-family:"Open Sans";font-style:normal;font-weight:700;src:local("Open Sans Bold"),local("OpenSans-Bold"),url("//barra.brasil.gov.br/static/opensans-bold.woff") format("woff")}#barra-brasil{height:32px;background:#f1f1f1;font-weight:bold;font-size:12px;line-height:32px;font-family:"Open Sans",Arial,Helvetica,sans-serif}#barra-brasil a{text-decoration:none}div#wrapper-barra-brasil{position:relative;overflow:hidden;margin:0 auto;width:100%;max-width:960px}#barra-brasil .brasil-flag{float:left;padding:7px 0 6px;width:115px;height:19px;border-right:2px solid #dfdfdf}#barra-brasil .brasil-flag .link-barra{display:block;padding-left:42px;width:43px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAATCAIAAAABJ4pRAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAABINJREFUeNqUVFtsFFUYPrfdmdnLbLe021baQqWUtdJKL5QiASPiNVqC0TYqUWLShJQmRH3RqPHFRKJvQqIPQNSAAcMDptGEiKjYpLZIkSqGXqjdFlppd3vb7c7Ozpxz/M+2wZD44snszOzJnP//vv///g9XnNiXtNISI1gYq4eUEu4CC7SyiLpJgtSOIJKg/1ySB3x+NmsvJLNpgVUwlAu08iIkzi2pUhHIAa/q1L9p7l6YWmmHEOSBWJD6LixwJ7DDAKR06c6imQOVYxoRyEV4BR3JBYfvqNqBtILrSGNEKgoCsVxWDMmxgAOADeDjQsP+oHbo1egk7B+Mju/vq7kwVYhohsAxoiogiIM5hBaSUIBFfS21WRcOSwUHOwgTqoJR+O0pv31u56XmUKrvt4o/RyNrjVRHw40iLdU9Hck4DPBQxOQKK/XQqQa7nGNb8UICSUoE4y4rCyweqh164b7Jk12N737x2NjtfMAeCDit268e7jj7yOqfX++p+ebvQk5coAB8BQIMroqaf7xt3p4TUATgxj0Y0wOVN96uHomE3I+Ob37zSJvUHURshjySIZ4JPLhp+IcPj3h1eSZ2zxu/R8cXDeThuSLJkGZSY/fGjGOrenG9xlz8vPnK/g0xEwprl52PH9ryUGRLk1lfXWqGCcE0lUqOjxeHVy01141V+5Mvlk+lOLmcAOwC6OpMo8FnqlOCh2j2taqRE1sHKk2LuFJq6NveumNd9f0Dt2IjC1aGVKwzdz1cUryaxSasW9Oo/dFfoaEB6jxdOl2Xt3BtwYw7Xh/VmQNNcNHj5fH3N40CQgnNAAUQMjgh+y/dpIblN9j14fHuHqEFvPUP5L3Svp4mHNtGmgbaVF1oWZNIi8GXextALUpEhLqnJ0o3f9fcEw9iD3RFCaUiMmvmG/lhI50VBQX6ujX5ju3+dHHm1Mmb9dGsxyRKSwylHNLRt2HvL42O4C5IhsLsgEII74+Hd1zY+s5AdMklguMnmkaLwn9RGgr7dSfLk5ZreGhJUdD0+oz0ZxSOMNQ1VdB4fscnw5VCiOUBpb7d91vcklBJJpDwXpwOn50qKdXs2tLZpoqJU99XxVPBbMayXRnOK/Dp5p5tZzpbu0cT+sErG9/6o2rW9iLKQbOget2jQbgay3UIJrlhlJSK6Yz3dKx4dD74Ut3Ivu2X5xe8CSvopdm1kdh7e7/sfO7Ho4PlrT0NvTMhTISaaRhUoImITr244Njz8WwSVKOMhBI1hdIBMQuXlARShxuvPbt+3k0gx9GMsDVp0c7emq8nSiSFjzkVlCuKfHl+Q0aQai21Gb4E7SA59wDWGLLBg+Kk6/lqrKw/4dtWOLfKn/74+r2t3fVX5/IwcyExIBAKFFWOhskyWVx4tG3GmUfKCFRbOHYBNjiC6hBkBTrQRl+mSLeHZkOYOXeMRxIFCb6SME5gYJiGvH7MPn0q5wBCgqkgF4xBEVfdhksTyMmNpFT/chJQJQbkgitE8o73gRe4HsRYe/RJy86IFYtU1pVzSqxC/J8F5fMz/z8CDAAkCSSg0qSX5AAAAABJRU5ErkJggg==") 8px center no-repeat;text-transform:uppercase;line-height:19px}#barra-brasil .acesso-info{position:absolute;left:130px}#barra-brasil .list{position:absolute;top:0;right:0}#barra-brasil .list .first{border-left:2px solid #dfdfdf}#barra-brasil .list-item{display:inline-block;padding:0 15px 0 13px;height:32px;border-right:2px solid #dfdfdf}#barra-brasil .link-barra{color:#606060}@media screen and (max-width: 668px){#barra-brasil .list{top:-100px}}@media screen and (min-width: 960px){#wrapper-barra-brasil{width:960px}}'),!function(){var e,a,t,r,i,s,o,l,d,n,c,b,p,m,g,A,u='<div id="wrapper-footer-brasil"><a href="http://www.acessoainformacao.gov.br/"><span class="logo-acesso-footer"/></a></div>';i=document.getElementById("footer-brasil"),i&&(i.parentNode.removeChild(i),s=document.getElementsByTagName("head")[0],t=document.getElementsByTagName("body")[0],n=document.createElement("link"),o=document.createAttribute("href"),p=document.createElement("div"),l=document.createAttribute("id"),l.nodeValue="footer-brasil",p.setAttributeNode(l),p.innerHTML=u,g=document.getElementsByTagName("script"),b=g[g.length-1],m=b.src.replace(/^[^\?]+\??/,""),a=m.split(/[;&]/),A="cor",1===a.length&&(e=a[0].split("="),2===e.length&&(d=unescape(e[0]),A=unescape(e[1]),A=A.replace(/\+/g," "))),c=["azul","amarelo","verde","branco"],"cor"===A&&(A="verde"),-1===c.indexOf(A)&&(A="verde"),r=document.createAttribute("class"),r.nodeValue="footer-brasil-"+A,p.setAttributeNode(r),t.insertBefore(p,t.lastChild)),window._footerbrasil={insere_css:function(e){var a,t,r;return t=document.createElement("style"),r=document.createAttribute("type"),r.nodeValue="text/css",a=document.createAttribute("media"),a.nodeValue="all",t.setAttributeNode(r),t.setAttributeNode(a),t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),s=document.getElementsByTagName("head")[0],s.appendChild(t)}}}(),window._footerbrasil.insere_css('.footer-brasil-verde{background:none repeat scroll 0% 0% #1a5027;padding:1em 0px;max-width:100%}.footer-brasil-amarelo{background:none repeat scroll 0% 0% #f5c516;padding:1em 0px;max-width:100%}.footer-brasil-azul{background:none repeat scroll 0% 0% #3b69b3;padding:1em 0px;max-width:100%}.footer-brasil-branco{background:none repeat scroll 0% 0% #fff;padding:1em 0px;max-width:100%}div#wrapper-footer-brasil{position:relative;overflow:hidden;margin:0 auto;width:100%;max-width:960px}#wrapper-footer-brasil .logo-acesso-footer{float:left;padding-left:107px;width:107px;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGsAAAAxCAYAAADdqledAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllP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cECvvReu16AHJq/ZvRR7U/9HIxnDgtQfasJ1J0qSyzj6spDM1wcT8M38WkYnyyAhYi3bqqH1iYTMnkbnngkBOs6AqQsKJve12c65s91KUgOqsmGm7dKELAM6Ahb0PT8b8Dc/quYaZp9lmWtuj9ZrfpPfiZ+v5Z/8kUaLn2bF38UAFs21METPSFo63kJkg27IME3wqbpP8CVc2dhJm3D9m31sG5NQK5LVzPy82Z+yeSJ+6XmbJjBsDyJoASktQiptfsF4M+8DYFw97G6YPDgalVR1bCS76w/eeZculf8yc2Wp74P8PBrkKh/FtJFaySfz4+9/IMXR//29/cHO0qfH1o/+9euZDwGE9cKMtPU1mJCuMWSk4SMprNEqqiA70uZnCNNnVio2xgyoaMVldTzKkDPIJjrXoxixHckGAxEV7PJqxoWnut1vjt9It/4WBgBjWazubFCoTDas23rPLN0+oMPBxvsawfa8rFI0+zHkLlxAbJzKYz0OaRzbk5PgGtDgAJcc2sYAuufBVj7HPANr4LZvAXDcut4KBRa1ZDuGNadbGfOnO1iBuvHgGBPgKcjDYUJcSwWt8hiopyclu+BUdeKoXggFrCsUxiSjzY1NSVriO4QVm17MF+Ka1sNVm2rwfo/3v4nwAA0LvJE2zE7hgAAAABJRU5ErkJggg==") 107px center no-repeat;text-transform:uppercase;height:49px}div#wrapper-footer-brasil{position:relative;overflow:hidden;margin:0 auto;width:100%;max-width:960px}@media screen and (min-width: 960px){#wrapper-footer-brasil{width:960px}}'); | |
3 | 3 | \ No newline at end of file | ... | ... |
app/templates/exemplo.html
... | ... | @@ -18,7 +18,6 @@ |
18 | 18 | <h1>Barra Brasil</h1> |
19 | 19 | <p>Veja as <a href="http://epwg.governoeletronico.gov.br/barra/">instruções de como usar a barra</a> no e-PWG.</p> |
20 | 20 | <br> |
21 | - | |
22 | 21 | <div id="footer-brasil" style="background:#7F7F7F; height: 20px; padding:0 0 0 10px;display:block;"> |
23 | 22 | <ul id="menu-barra-temp" style="list-style:none;"> |
24 | 23 | <li style="display:inline; float:left;padding-right:10px; margin-right:10px; border-right:1px solid #EDEDED"><a href="http://brasil.gov.br" style="font-family:sans,sans-serif; text-decoration:none; color:white;">Governo Brasileiro</a></li> | ... | ... |
recipes/default/assets/footer-brasil.coffee
1 | -window.onload = -> | |
2 | 1 | divFooter = document.getElementById("footer-brasil") |
3 | - | |
4 | 2 | if divFooter |
5 | 3 | divFooter.parentNode.removeChild(divFooter) |
6 | 4 | |
... | ... | @@ -39,21 +37,21 @@ window.onload = -> |
39 | 37 | # href.nodeValue = "http://189.9.137.173/estilo-barra.css"; |
40 | 38 | # href.nodeValue = "static/estilo-barra.css" |
41 | 39 | |
42 | -window._footerbrasil = | |
43 | - insere_css: (css) -> | |
44 | - style = document.createElement("style") | |
45 | - tipo = document.createAttribute("type") | |
46 | - tipo.nodeValue = "text/css" | |
47 | - media = document.createAttribute("media") | |
48 | - media.nodeValue = "all" | |
49 | - style.setAttributeNode tipo | |
50 | - style.setAttributeNode media | |
40 | + window._footerbrasil = | |
41 | + insere_css: (css) -> | |
42 | + style = document.createElement("style") | |
43 | + tipo = document.createAttribute("type") | |
44 | + tipo.nodeValue = "text/css" | |
45 | + media = document.createAttribute("media") | |
46 | + media.nodeValue = "all" | |
47 | + style.setAttributeNode tipo | |
48 | + style.setAttributeNode media | |
51 | 49 | |
52 | - if style.styleSheet #Hack para IE8 | |
53 | - style.styleSheet.cssText = css | |
54 | - else | |
55 | - style.appendChild document.createTextNode(css) | |
56 | - head = document.getElementsByTagName("head")[0] | |
57 | - head.appendChild style | |
50 | + if style.styleSheet #Hack para IE8 | |
51 | + style.styleSheet.cssText = css | |
52 | + else | |
53 | + style.appendChild document.createTextNode(css) | |
54 | + head = document.getElementsByTagName("head")[0] | |
55 | + head.appendChild style | |
58 | 56 | |
59 | 57 | ... | ... |