Browse Source

Marcado bloco "menu-principal" no template base

O nome "nav-global" eh usado pelo django-admin-bootstrapped
em outro bloco. Por isso renomeamos para "menu-principal",
preservando o bloco "nav-global" do django-admin-bootstrapped.
producao
Marcio Mazza 10 years ago
parent
commit
ceda7f180e
  1. 5
      sigi/apps/servicos/templates/servicos/casa_manifesta.html
  2. 97
      sigiStatic/css/base_site.css
  3. 2
      templates/503.html
  4. 4
      templates/admin/base.html
  5. 4
      templates/admin/carrinho.html
  6. 2
      templates/admin/login.html

5
sigi/apps/servicos/templates/servicos/casa_manifesta.html

@ -15,10 +15,7 @@
{% block coltype %}colMS{% endblock %} {% block coltype %}colMS{% endblock %}
{% block bodyclass %}casa-manifesta change-form{% endblock %} {% block bodyclass %}casa-manifesta change-form{% endblock %}
{% block nav-global %} {% block menu-principal %}{% endblock %}
<div id="nav-global">
</div>
{% endblock %}
{% block breadcrumbs %} {% block breadcrumbs %}
<div class="breadcrumbs"> <div class="breadcrumbs">

97
sigiStatic/css/base_site.css

@ -15,103 +15,6 @@ a:hover {
text-decoration: none; text-decoration: none;
} }
#nav-global {
border: none;
border: 0px;
margin: 0px;
padding: 0px;
font-size: 14px;
font-weight: bold;
clear: both;
}
#nav-global ul { /*background:#222;*/
background: #efefef url("../../static/admin/img/nav-bg.gif");
/*#9C9C9C;*/
height: 25px;
margin: 0;
padding: 0;
}
#nav-global li {
float: left;
list-style: none;
padding: 0px;
}
#nav-global li a {
/*background: url("../img/menu/seperator.gif") bottom right no-repeat;*/
color: #cccccc;
display: block;
font-weight: normal;
line-height: 25px;
margin: 0px;
padding: 0px 15px;
text-align: center;
text-decoration: none;
/*font-size: medium;*/
}
#nav-global li a:link,#nav-global li a:visited {
color: black;
}
#nav-global li a:hover,#nav-global ul li:hover a {
background-color: #333;
color: #FFFFFF;
text-decoration: none;
}
#nav-global li ul {
background: #333;
display: none;
height: auto;
padding: 0px;
margin: 0px;
border: 0px;
position: absolute;
width: 200px;
z-index: 200;
/*top:1em;*/ /*left:0;*/
}
#nav-global li:hover ul {
display: block;
}
#nav-global li li {
background: url('../img/menu/sub_sep.gif') bottom left no-repeat;
display: block;
float: none;
margin: 0px;
padding: 0px;
width: 200px;
}
#nav-global li:hover li a {
background: none;
}
#nav-global li ul a {
display: block;
height: 25px;
font-style: normal;
margin: 0px;
padding: 0px 10px 0px 15px;
text-align: left;
}
#nav-global li ul a:hover,#nav-global li ul li:hover a {
background-color: #393939;
border: 0px;
color: #ffffff;
text-decoration: none;
}
#nav-global p {
clear: left;
}
div.breadcrumbs { div.breadcrumbs {
display: none; display: none;
} }

2
templates/503.html

@ -3,7 +3,7 @@
{% block title %}Serviço em manutenção (503) | SIGI{% endblock %} {% block title %}Serviço em manutenção (503) | SIGI{% endblock %}
{% block branding %}{% endblock %} {% block branding %}{% endblock %}
{% block nav-global %}{% endblock %} {% block menu-principal %}{% endblock %}
{% block breadcrumbs %}{% endblock %} {% block breadcrumbs %}{% endblock %}
{% block content %} {% block content %}

4
templates/admin/base.html

@ -120,6 +120,8 @@
</div> </div>
</div> </div>
<!-- END Header --> <!-- END Header -->
{% block menu-principal %}
<div role="navigation" class="navbar navbar-default"> <div role="navigation" class="navbar navbar-default">
<div class="container-fluid"> <div class="container-fluid">
<div class="navbar-header"> <div class="navbar-header">
@ -135,6 +137,8 @@
</div><!--/.nav-collapse --> </div><!--/.nav-collapse -->
</div><!--/.container-fluid --> </div><!--/.container-fluid -->
</div> </div>
{% endblock %}
{% endif %} {% endif %}
<!-- Content --> <!-- Content -->

4
templates/admin/carrinho.html

@ -35,8 +35,8 @@
{% endblock %} {% endblock %}
{% block branding %} {% endblock %} {% block branding %}{% endblock %}
{% block nav-global %} {% endblock %} {% block menu-principal %}{% endblock %}
{% block breadcrumbs %}{% endblock %} {% block breadcrumbs %}{% endblock %}
{% block title %}Carrinho | SIGI{% endblock %} {% block title %}Carrinho | SIGI{% endblock %}

2
templates/admin/login.html

@ -5,7 +5,7 @@
{% block bodyclass %}login{% endblock %} {% block bodyclass %}login{% endblock %}
{% block nav-global %}{% endblock %} {% block menu-principal %}{% endblock %}
{% block content_title %}{% endblock %} {% block content_title %}{% endblock %}

Loading…
Cancel
Save