|
@ -16,8 +16,11 @@ |
|
|
|
|
|
|
|
|
{# Styles #} |
|
|
{# Styles #} |
|
|
<link rel="stylesheet" href="{% static 'components-font-awesome/css/font-awesome.css' %}"> |
|
|
<link rel="stylesheet" href="{% static 'components-font-awesome/css/font-awesome.css' %}"> |
|
|
|
|
|
<link rel="stylesheet" href="{% sass_src 'bootstrap-sass/assets/stylesheets/_bootstrap.scss' %}" type="text/css"> |
|
|
|
|
|
<link rel="stylesheet" href="{% static 'drunken-parrot-flat-ui/css/drunken-parrot.css' %}"> |
|
|
<link rel="stylesheet" href="{% sass_src 'styles/app.scss' %}" type="text/css"> |
|
|
<link rel="stylesheet" href="{% sass_src 'styles/app.scss' %}" type="text/css"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{# Scripts #} |
|
|
{# Scripts #} |
|
|
{# modernizr must be in head (see http://modernizr.com/docs/#installing) #} |
|
|
{# modernizr must be in head (see http://modernizr.com/docs/#installing) #} |
|
|
<script type="text/javascript" src="{% static 'jQuery-runner/build/jquery.runner.js' %}"></script> |
|
|
<script type="text/javascript" src="{% static 'jQuery-runner/build/jquery.runner.js' %}"></script> |
|
@ -39,15 +42,6 @@ |
|
|
<span class="icon-bar"></span> |
|
|
<span class="icon-bar"></span> |
|
|
<span class="icon-bar"></span> |
|
|
<span class="icon-bar"></span> |
|
|
</button> |
|
|
</button> |
|
|
<a href="#" class="pull-left logo"> |
|
|
|
|
|
{% if logotipo %} |
|
|
|
|
|
<img src="{{ MEDIA_URL }}{{ logotipo }}" alt="Logo"> |
|
|
|
|
|
{% else %} |
|
|
|
|
|
<img src="{% static 'img/logo.png' %}" alt="Logo"> |
|
|
|
|
|
{% endif %} |
|
|
|
|
|
<a class="navbar-brand" href="#"> |
|
|
|
|
|
{{ parliament_type }} {% trans 'de' %} {{ city }} - {{ state }} |
|
|
|
|
|
</a> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div id="navbar" class="navbar-collapse collapse"> |
|
|
<div id="navbar" class="navbar-collapse collapse"> |
|
|
<ul class="nav navbar-nav"> |
|
|
<ul class="nav navbar-nav"> |
|
@ -118,35 +112,23 @@ |
|
|
|
|
|
|
|
|
{# Header #} |
|
|
{# Header #} |
|
|
{% block main_header %} |
|
|
{% block main_header %} |
|
|
<header id="masthead" class="masthead page__row"> |
|
|
<header class="masthead"> |
|
|
<div class="container"> |
|
|
<div class="container"> |
|
|
<div class="container"> |
|
|
<img src="{% if logotipo %}{{ MEDIA_URL }}{{ logotipo }}{% else %}{% static 'img/logo.png' %}{% endif %}" |
|
|
<a class="masthead__logo" href="#"> |
|
|
alt="Logo" class="img-responsive visible-lg-inline-block vcenter" > |
|
|
{% if logotipo %} |
|
|
<h1 class="vcenter"> |
|
|
<img src="{{ MEDIA_URL }}{{ logotipo }}" alt="Logo"> |
|
|
{# XXX Make better use of translation tags in html blocks ie. actually use the proper blocktrans tag efficiently #} |
|
|
{% else %} |
|
|
{{ parliament_type }} {% trans 'de' %} {{ city }} - {{ state }} |
|
|
<img src="{% static 'img/logo.png' %}" alt="Logo"> |
|
|
<br/><small>{% trans 'Sistema de Apoio ao Processo Legislativo' %}</small> |
|
|
{% endif %} |
|
|
</h1> |
|
|
</a> |
|
|
</div> |
|
|
<div class="masthead__heading"> |
|
|
</header> |
|
|
{# XXX Make better use of translation tags in html blocks ie. actually use the proper blocktrans tag efficiently #} |
|
|
|
|
|
<h1>{{ parliament_type }} {% trans 'de' %} {{ city }} - {{ state }}</h1> |
|
|
|
|
|
<h2>{% trans 'Sistema de Apoio ao Processo Legislativo' %}</h2> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{% block sections_nav %} |
|
|
|
|
|
{% endblock sections_nav %} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
</header> |
|
|
|
|
|
{% endblock main_header %} |
|
|
{% endblock main_header %} |
|
|
|
|
|
|
|
|
{# Main content #} |
|
|
{# Main content #} |
|
|
{% block content_container %} |
|
|
{% block content_container %} |
|
|
<main id="content" class="content page__row"> |
|
|
<main id="content" class="content page__row"> |
|
|
|
|
|
|
|
|
<div class="container"> |
|
|
<div class="container"> |
|
|
|
|
|
|
|
|
{# Feedback messages #} |
|
|
{# Feedback messages #} |
|
@ -169,16 +151,17 @@ |
|
|
|
|
|
|
|
|
{% block title %} |
|
|
{% block title %} |
|
|
{% if view.title %} |
|
|
{% if view.title %} |
|
|
<h1>{{ view.title|linebreaksbr }}</h1> |
|
|
<h1 class="page-header">{{ view.title|linebreaksbr }}</h1> |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endblock %} |
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
{% endblock base_header %} |
|
|
{% endblock base_header %} |
|
|
|
|
|
|
|
|
|
|
|
{% block sections_nav %}{% endblock %} |
|
|
|
|
|
|
|
|
{# Content per se #} |
|
|
{# Content per se #} |
|
|
{% block base_content %} |
|
|
{% block base_content %}{% endblock %} |
|
|
{% endblock base_content %} |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</main> |
|
|
</main> |
|
|