-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Barra local é agora barra.js no pacote.
Atende #30 A idéia é sempre baixar o barra.js oficial se quiser usar uma barra local, ao invés de reimplementá-la aqui nesse pacote como era feito no passado.
- Loading branch information
Showing
22 changed files
with
184 additions
and
404 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,11 @@ | ||
<metal:barra xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal"> | ||
<div id="barra-identidade"> | ||
<metal:local tal:condition="view/local"> | ||
<div id="barra-brasil" tal:condition="view/local"> | ||
<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> | ||
<nav> | ||
<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> | ||
<div id="barra-brasil" style="background:#7F7F7F; height: 20px; padding:0 0 0 10px;display:block;"> | ||
<ul id="menu-barra-temp" style="list-style:none;"> | ||
<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;">Portal do Governo Brasileiro</a></li> | ||
<li><a style="font-family:sans,sans-serif; text-decoration:none; color:white;" href="http://epwg.governoeletronico.gov.br/barra/atualize.html">Atualize sua Barra de Governo</a></li> | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
</metal:local> | ||
<metal:remote tal:condition="not:view/local"> | ||
<div id="barra-brasil" style="background:#7F7F7F; height: 20px; padding:0 0 0 10px;display:block;"> | ||
<ul id="menu-barra-temp" style="list-style:none;"> | ||
<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;">Portal do Governo Brasileiro</a></li> | ||
<li><a style="font-family:sans,sans-serif; text-decoration:none; color:white;" href="http://epwg.governoeletronico.gov.br/barra/atualize.html">Atualize sua Barra de Governo</a></li> | ||
</ul> | ||
</div> | ||
</metal:remote> | ||
</div> | ||
</metal:barra> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
<metal:barra xmlns:tal="http://xml.zope.org/namespaces/tal" | ||
xmlns:metal="http://xml.zope.org/namespaces/metal"> | ||
<div id="barra_brasil_js"> | ||
<metal:local tal:condition="view/local"> | ||
<script defer="defer" src="++resource++brasil.gov.barra/barra.js" type="text/javascript"></script> | ||
</metal:local> | ||
<metal:remote tal:condition="not:view/local"> | ||
<script defer="defer" src="//barra.brasil.gov.br/barra.js" type="text/javascript"></script> | ||
</metal:remote> | ||
</div> | ||
</metal:barra> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0"?> | ||
<metadata> | ||
<version>1012</version> | ||
<version>1013</version> | ||
</metadata> |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.