Browse Source

Usando static tag nos templates ao inves da variavel STATIC_URL

producao
Marcio Mazza 10 years ago
parent
commit
074f9d2059
  1. 3
      sigi/apps/diagnosticos/templates/admin/diagnosticos/diagnostico/change_list.html
  2. 9
      sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_login.html
  3. 5
      sigi/apps/diagnosticos/templates/diagnosticos/graficos.html
  4. 10
      sigi/apps/diagnosticos/templates/diagnosticos/mapa.html
  5. 3
      sigi/apps/metas/templates/admin/metas/planodiretor/change_list.html
  6. 16
      sigi/apps/metas/templates/metas/mapa.html
  7. 7
      templates/admin/app_index.html
  8. 5
      templates/admin/base_site.html
  9. 60
      templates/admin/carrinho.html
  10. 25
      templates/admin/tabs_style.html
  11. 13
      templates/base_mobile.html
  12. 5
      templates/base_report.html
  13. 11
      templates/index.html
  14. 5
      templates/snippets/modules/charts-convenios.html

3
sigi/apps/diagnosticos/templates/admin/diagnosticos/diagnostico/change_list.html

@ -1,11 +1,12 @@
{% extends "admin/change_list.html" %} {% extends "admin/change_list.html" %}
{% load i18n reporting_tags admin_list %} {% load i18n reporting_tags admin_list %}
{% load static from staticfiles %}
{% block search %} {% block search %}
<div id="toolbar"> <div id="toolbar">
<form id="changelist-search" action="" method="get"> <form id="changelist-search" action="" method="get">
<div><!-- DIV needed for valid HTML --> <div><!-- DIV needed for valid HTML -->
<label for="searchbar"><img src="{{ STATIC_URL }}admin/img/icon_searchbox.png" alt="Search" /></label> <label for="searchbar"><img src="{% static 'admin/img/icon_searchbox.png' %}" alt="Search" /></label>
<input type="text" size="40" name="q" value="" id="searchbar" /> <input type="text" size="40" name="q" value="" id="searchbar" />
<label for="data_visita_inicio__gte">Visitados a partir de:</label> <label for="data_visita_inicio__gte">Visitados a partir de:</label>
<input type="text" size="10" name="data_visita_inicio__gte" value="" id="data_visita_inicio__gte" class="vDateField"/> <input type="text" size="10" name="data_visita_inicio__gte" value="" id="data_visita_inicio__gte" class="vDateField"/>

9
sigi/apps/diagnosticos/templates/diagnosticos/diagnosticos_login.html

@ -1,22 +1,23 @@
{% load static from staticfiles %}
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html lang="pt-BR"> <html lang="pt-BR">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>SIGI - Login de Acesso</title> <title>SIGI - Login de Acesso</title>
<link rel="stylesheet" href="{{ STATIC_URL }}jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.css" /> <link rel="stylesheet" href="{% static 'jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.css' %}" />
<script src="{{ STATIC_URL }}/js/jquery/jquery-1.6.4.min.js"></script> <script src="{% static '/js/jquery/jquery-1.6.4.min.js' %}" ></script>
<script language=javascript> <script language=javascript>
$(document).bind("mobileinit", function () { $(document).bind("mobileinit", function () {
$.mobile.ajaxEnabled = false; $.mobile.ajaxEnabled = false;
$.mobile.loadingMessage = 'salvando'; $.mobile.loadingMessage = 'salvando';
}); });
</script> </script>
<script type="text/javascript" src="{{ STATIC_URL }}jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.js"></script> <script type="text/javascript" src="{% static 'jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.js' %}" ></script>
</head> </head>
<body> <body>
<div data-role="header" data-theme="d"> <div data-role="header" data-theme="d">
<img src="{{ STATIC_URL }}img/mobile/logointerlegis_mobile.png" alt="Interlegis"/> <img src="{% static 'img/mobile/logointerlegis_mobile.png' %}" alt="Interlegis"/>
</div> <!-- header --> </div> <!-- header -->
{% if form.errors %} {% if form.errors %}
<div data-role="header" data-theme="b"> <div data-role="header" data-theme="b">

5
sigi/apps/diagnosticos/templates/diagnosticos/graficos.html

@ -1,11 +1,12 @@
{% extends "admin/index.html" %} {% extends "admin/index.html" %}
{% load static from staticfiles %}
{% block content_title %}<h1>Graficos dos Diagnósticos</h1>{% endblock %} {% block content_title %}<h1>Graficos dos Diagnósticos</h1>{% endblock %}
{% block extrahead %} {% block extrahead %}
<link rel="stylesheet" href="{{ STATIC_URL }}css/style.css"> <link rel="stylesheet" href="{% static 'css/style.css' %}" >
<script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script> <script type="text/javascript" src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/Chart.min.js"></script> <script type="text/javascript" src="{% static 'js/Chart.min.js' %}" ></script>
<script src="http://code.highcharts.com/highcharts.js"></script> <script src="http://code.highcharts.com/highcharts.js"></script>
<script language=javascript> <script language=javascript>
jQuery(document).ready(function () { jQuery(document).ready(function () {

10
sigi/apps/diagnosticos/templates/diagnosticos/mapa.html

@ -4,7 +4,7 @@
{% block extrahead %} {% block extrahead %}
{{ block.super }} {{ block.super }}
{% load staticfiles %} {% load static from staticfiles %}
<script type="text/javascript" src="{% static "admin/js/core.js" %}"></script> <script type="text/javascript" src="{% static "admin/js/core.js" %}"></script>
<script type="text/javascript" src="{% static "admin/js/jquery.min.js" %}"></script> <script type="text/javascript" src="{% static "admin/js/jquery.min.js" %}"></script>
<script type="text/javascript" src="{% static "admin/js/jquery.init.js" %}"></script> <script type="text/javascript" src="{% static "admin/js/jquery.init.js" %}"></script>
@ -18,7 +18,7 @@
center: latlng, center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP mapTypeId: google.maps.MapTypeId.ROADMAP
}; };
var map = new google.maps.Map(document.getElementById("map"), var map = new google.maps.Map(document.getElementById("map"),
myOptions); myOptions);
@ -40,12 +40,12 @@
linkMarkMessage(mark, infoWin, map); linkMarkMessage(mark, infoWin, map);
} }
}); });
function linkMarkMessage(mark, infoWin, map) { function linkMarkMessage(mark, infoWin, map) {
google.maps.event.addListener(mark, 'click', function() { google.maps.event.addListener(mark, 'click', function() {
infoWin.open(map, mark);}); infoWin.open(map, mark);});
} }
})})(django.jQuery); })})(django.jQuery);
</script> </script>
{% endblock %} {% endblock %}

3
sigi/apps/metas/templates/admin/metas/planodiretor/change_list.html

@ -1,11 +1,12 @@
{% extends "admin/change_list.html" %} {% extends "admin/change_list.html" %}
{% load i18n reporting_tags admin_list %} {% load i18n reporting_tags admin_list %}
{% load static from staticfiles %}
{% block search %} {% block search %}
<div id="toolbar"> <div id="toolbar">
<form id="changelist-search" action="" method="get"> <form id="changelist-search" action="" method="get">
<div><!-- DIV needed for valid HTML --> <div><!-- DIV needed for valid HTML -->
<label for="searchbar"><img src="{{ STATIC_URL }}admin/img/icon_searchbox.png" alt="Search" /></label> <label for="searchbar"><img src="{% static 'admin/img/icon_searchbox.png' %}" alt="Search" /></label>
<input type="text" size="40" name="q" value="" id="searchbar" /> <input type="text" size="40" name="q" value="" id="searchbar" />
<label for="data_entrega__gte">Entregues a partir de:</label> <label for="data_entrega__gte">Entregues a partir de:</label>
<input type="text" size="10" name="data_entrega__gte" value="" id="data_entrega__gte" class="vDateField"/> <input type="text" size="10" name="data_entrega__gte" value="" id="data_entrega__gte" class="vDateField"/>

16
sigi/apps/metas/templates/metas/mapa.html

@ -1,16 +1,16 @@
{% extends "admin/index.html" %} {% extends "admin/index.html" %}
{% load static from staticfiles %}
{% block title %}SIGI{% endblock %} {% block title %}SIGI{% endblock %}
{% block extrahead %} {% block extrahead %}
{{ block.super }} {{ block.super }}
{% load staticfiles %}
<link rel="stylesheet" type="text/css" href="{% static "admin/css/changelists.css" %}" /> <link rel="stylesheet" type="text/css" href="{% static "admin/css/changelists.css" %}" />
<script type="text/javascript" src="{% static "admin/js/core.js" %}"></script> <script type="text/javascript" src="{% static "admin/js/core.js" %}"></script>
<script type="text/javascript" src="{% static "admin/js/jquery.min.js" %}"></script> <script type="text/javascript" src="{% static "admin/js/jquery.min.js" %}"></script>
<script type="text/javascript" src="{% static "admin/js/jquery.init.js" %}"></script> <script type="text/javascript" src="{% static "admin/js/jquery.init.js" %}"></script>
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/metas/mapa.js"></script> <script type="text/javascript" src="{% static 'js/metas/mapa.js' %}" ></script>
<style> <style>
.totalizador { float:right; } .totalizador { float:right; }
</style> </style>
@ -22,7 +22,7 @@
<div id="toolbar"> <div id="toolbar">
<form method="get" action="" id="changelist-search"> <form method="get" action="" id="changelist-search">
<div><!-- DIV needed for valid HTML --> <div><!-- DIV needed for valid HTML -->
<label for="searchbar"><img alt="Search" src="{{ STATIC_URL }}admin/img/icon_searchbox.png"></label> <label for="searchbar"><img alt="Search" src="{% static 'admin/img/icon_searchbox.png' %}" ></label>
<input type="text" id="searchbar" value="" name="q" size="40"> <input type="text" id="searchbar" value="" name="q" size="40">
<input type="submit" value="Pesquisar"> <input type="submit" value="Pesquisar">
<span id="search-panel" class="small quiet">&nbsp;</span> <span id="search-panel" class="small quiet">&nbsp;</span>
@ -33,7 +33,7 @@
<li> <a href="/dashboard/maplist/" id="list_report" onclick="return false;">Listagem das Casas</a> </li> <li> <a href="/dashboard/maplist/" id="list_report" onclick="return false;">Listagem das Casas</a> </li>
<li> <a href="/dashboard/maplist/?fmt=csv" id="list_csv" onclick="return false;">Exportar Casas</a> </li> <li> <a href="/dashboard/maplist/?fmt=csv" id="list_csv" onclick="return false;">Exportar Casas</a> </li>
<li> <a href="#" id="closeiwlink">Fechar todas as janelas de informação</a> </li> <li> <a href="#" id="closeiwlink">Fechar todas as janelas de informação</a> </li>
</ul> </ul>
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
@ -46,7 +46,7 @@
{% block sidebar %} {% block sidebar %}
<form id="filter_form" method="get" action=""> <form id="filter_form" method="get" action="">
<div id="content-related"> <div id="content-related">
<div class="module" id="filters"> {% comment %} Adicione style="overflow: auto; height: 800px;" para rolar apenas na caixa de filtros {% endcomment %} <div class="module" id="filters"> {% comment %} Adicione style="overflow: auto; height: 800px;" para rolar apenas na caixa de filtros {% endcomment %}
<h2>Filtros</h2> <h2>Filtros</h2>
<h3>Por Serviços SEIT</h3> <h3>Por Serviços SEIT</h3>
<ul> <ul>
@ -85,11 +85,11 @@
<li><input type="checkbox" name="regioes" value="{{ r.0 }}" {% if r.0 in regioes %}checked="checked"{% endif %}/> {{ r.1 }} <li><input type="checkbox" name="regioes" value="{{ r.0 }}" {% if r.0 in regioes %}checked="checked"{% endif %}/> {{ r.1 }}
<span id="{{ r.0 }}" class="totalizador">&nbsp;(1)</span></li> <span id="{{ r.0 }}" class="totalizador">&nbsp;(1)</span></li>
{% endfor %} {% endfor %}
</ul> </ul>
<h3>Por Estado</h3> <h3>Por Estado</h3>
<ul> <ul>
{% for e in estado_choices %} {% for e in estado_choices %}
<li><input type="checkbox" name="estados" value="{{ e.sigla }}" <li><input type="checkbox" name="estados" value="{{ e.sigla }}"
{% if e.sigla in estados %} checked="checked" {% endif %}/> {% if e.sigla in estados %} checked="checked" {% endif %}/>
{{ e.nome }} {{ e.nome }}
<span id="{{ e.sigla }}" class="totalizador">&nbsp;(1)</span> <span id="{{ e.sigla }}" class="totalizador">&nbsp;(1)</span>
@ -98,5 +98,5 @@
</ul> </ul>
</div> </div>
</div> </div>
</form> </form>
{% endblock %} {% endblock %}

7
templates/admin/app_index.html

@ -1,9 +1,10 @@
{% extends "admin/index.html" %} {% extends "admin/index.html" %}
{% load static from staticfiles %}
{% block extrastyle %} {% block extrastyle %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/globalnav-estilos.css" /> <link rel="stylesheet" type="text/css" href="{% static 'css/globalnav-estilos.css' %}" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/base_site.css" /> <link rel="stylesheet" type="text/css" href="{% static 'css/base_site.css' %}" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/app_index.css" /> <link rel="stylesheet" type="text/css" href="{% static 'css/app_index.css' %}" />
{% endblock %} {% endblock %}
{% block breadcrumbs %}{% endblock %} {% block breadcrumbs %}{% endblock %}

5
templates/admin/base_site.html

@ -1,11 +1,12 @@
{% extends "admin/base.html" %} {% extends "admin/base.html" %}
{% load tree_menu_tags %} {% load tree_menu_tags %}
{% load static from staticfiles %}
{% block title %}{{ title }} | SIGI{% endblock %} {% block title %}{{ title }} | SIGI{% endblock %}
{% block extrastyle %} {% block extrastyle %}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/globalnav-estilos.css" /> <link rel="stylesheet" type="text/css" href="{% static 'css/globalnav-estilos.css' %}" />
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/base_site.css" /> <link rel="stylesheet" type="text/css" href="{% static 'css/base_site.css' %}" />
{% endblock %} {% endblock %}
{% block extrahead %} {% block extrahead %}

60
templates/admin/carrinho.html

@ -1,10 +1,10 @@
{% extends "admin/change_list.html" %} {% extends "admin/change_list.html" %}
{% load i18n %} {% load i18n %}
{% block extrastyle %} {% block extrastyle %}
{{ block.super }} {{ block.super }}
<style> <style>
.botoes{ .botoes{
/*background: url("../../static/admin/img/nav-bg.gif");*/ /*background: url("../../static/admin/img/nav-bg.gif");*/
font-weight: bold; font-weight: bold;
/*color: red;*/ /*color: red;*/
@ -13,25 +13,25 @@
background: none; background: none;
font-weight: bold; font-weight: bold;
border: none; border: none;
color: blue; color: blue;
} }
.botoes li { .botoes li {
background-image: url("../../static/admin/img/nav-bg.gif"); background-image: url("../../static/admin/img/nav-bg.gif");
display: inline; display: inline;
border: 1px solid #CCC; border: 1px solid #CCC;
padding: 5px 10px; padding: 5px 10px;
margin: 0px; margin: 0px;
} }
.botoes a{ .botoes a{
} }
.botao_excluir input{ .botao_excluir input{
color: red; color: red;
background: url("../../static/admin/img/icon_deletelink.gif") no-repeat scroll 0 50% transparent background: url("../../static/admin/img/icon_deletelink.gif") no-repeat scroll 0 50% transparent
} }
</style> </style>
{% endblock %} {% endblock %}
@ -56,9 +56,9 @@
{%endif%} {%endif%}
</ul> </ul>
{% endblock %} {% endblock %}
<div id="changelist" class="module"> <div id="changelist" class="module">
<form action="{% block action %}#{% endblock %}" <form action="{% block action %}#{% endblock %}"
class="changelist-form" method="post">{% csrf_token %} class="changelist-form" method="post">{% csrf_token %}
{%if not carIsEmpty%} {%if not carIsEmpty%}
@ -66,43 +66,43 @@
<ul class="botao_excluir"> <ul class="botao_excluir">
<li><input class="botao_excluir" type="submit" value=" Excluir do carrinho os itens selecionados" /></li> <li><input class="botao_excluir" type="submit" value=" Excluir do carrinho os itens selecionados" /></li>
<li><a href="excluir_carrinho">Esvaziar carrinho</a></li> <li><a href="excluir_carrinho">Esvaziar carrinho</a></li>
</ul> </ul>
</div>
{% endif %}
<div class="result_list">
{% block tabela %}{% endblock %}
</div> </div>
{% endif %}
<div class="result_list">
{% block tabela %}{% endblock %}
</div>
{%if not carIsEmpty%} {%if not carIsEmpty%}
<div class="botoes"> <div class="botoes">
<ul class="botao_excluir"> <ul class="botao_excluir">
<li><input class="botao_excluir" type="submit" value=" Excluir do carrinho os itens selecionados" /></li> <li><input class="botao_excluir" type="submit" value=" Excluir do carrinho os itens selecionados" /></li>
<li><a href="excluir_carrinho">Esvaziar carrinho</a></li> <li><a href="excluir_carrinho">Esvaziar carrinho</a></li>
</ul> </ul>
</div> </div>
{% endif %} {% endif %}
<div class="paginator"> <div class="paginator">
<span class="step-links"> <span class="step-links">
{% if paginas.has_previous %} {% if paginas.has_previous %}
<a href="?page={{ paginas.previous_page_number }}">Anterior</a> <a href="?page={{ paginas.previous_page_number }}">Anterior</a>
{% endif %} {% endif %}
<span class="this-page"> <span class="this-page">
Página {{ paginas.number }} of {{ paginas.paginator.num_pages }}. Página {{ paginas.number }} of {{ paginas.paginator.num_pages }}.
</span> </span>
{% if paginas.has_next %} {% if paginas.has_next %}
<a href="?page={{ paginas.next_page_number }}">Próxima</a> <a href="?page={{ paginas.next_page_number }}">Próxima</a>
{% endif %} {% endif %}
</span> </span>
<span>{{paginas.paginator.count}} itens</span> <span>{{paginas.paginator.count}} itens</span>
</div> </div>
</form> </form>
{% block botoes %}{% endblock %} {% block botoes %}{% endblock %}
</div> </div>
</div> </div>
{% endblock %} {% endblock %}

25
templates/admin/tabs_style.html

@ -1,21 +1,22 @@
{% load static from staticfiles %}
<!--CSS JQuery--> <!--CSS JQuery-->
<link type="text/css" href="{{ STATIC_URL }}css/jquery/smoothness/jquery.ui.all.css" rel="stylesheet" /> <link type="text/css" href="{% static 'css/jquery/smoothness/jquery.ui.all.css' %}" rel="stylesheet" />
<!--Scripts JQuery--> <!--Scripts JQuery-->
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery/jquery-1.4.2.js"></script> <script type="text/javascript" src="{% static 'js/jquery/jquery-1.4.2.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery/ui/jquery.ui.core.js"></script> <script type="text/javascript" src="{% static 'js/jquery/ui/jquery.ui.core.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery/ui/jquery.ui.widget.js"></script> <script type="text/javascript" src="{% static 'js/jquery/ui/jquery.ui.widget.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery/ui/jquery.ui.tabs.js"></script> <script type="text/javascript" src="{% static 'js/jquery/ui/jquery.ui.tabs.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery/ui/jquery.ui.mouse.js"></script> <script type="text/javascript" src="{% static 'js/jquery/ui/jquery.ui.mouse.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery/ui/jquery.ui.sortable.js"></script> <script type="text/javascript" src="{% static 'js/jquery/ui/jquery.ui.sortable.js' %}" ></script>
<script type="text/javascript"> <script type="text/javascript">
$(function() { $(function() {
$( "#tabs" ).tabs({ $( "#tabs" ).tabs({
event: "mouseover" event: "mouseover"
}); });
}); });
</script> </script>
<script> <script>
$(function() { $(function() {
@ -23,9 +24,9 @@
$( "#sortable" ).disableSelection(); $( "#sortable" ).disableSelection();
}); });
</script> </script>
<style> <style>
.ui-tabs-nav { .ui-tabs-nav {
background-image: url("{{ STATIC_URL }}admin/img/nav-bg.gif"); background-image: url("{% static 'admin/img/nav-bg.gif' %}" );
} }
</style> </style>

13
templates/base_mobile.html

@ -1,3 +1,4 @@
{% load static from staticfiles %}
<!DOCTYPE html> <!DOCTYPE html>
<html lang="pt-BR"> <html lang="pt-BR">
<head> <head>
@ -7,23 +8,23 @@
<title>SIGI - Diagnósticos</title> <title>SIGI - Diagnósticos</title>
{% endblock titulo %} {% endblock titulo %}
{% block media %} {% block media %}
<link rel="stylesheet" href="{{ STATIC_URL }}jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.css" /> <link rel="stylesheet" href="{% static 'jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.css' %}" />
<script type="text/javascript" src="{{ STATIC_URL }}/js/jquery/jquery-1.6.4.min.js"></script> <script type="text/javascript" src="{% static '/js/jquery/jquery-1.6.4.min.js' %}" ></script>
<script language=javascript> <script language=javascript>
$(document).bind("mobileinit", function () { $(document).bind("mobileinit", function () {
$.mobile.ajaxEnabled = false; $.mobile.ajaxEnabled = false;
$.mobile.loadingMessage = 'salvando'; $.mobile.loadingMessage = 'salvando';
}); });
</script> </script>
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery/jquery.maskedinput-1.1.3.min.js"/></script> <script type="text/javascript" src="{% static 'js/jquery/jquery.maskedinput-1.1.3.min.js' %}" /></script>
<script type="text/javascript" src="{{ STATIC_URL }}jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.js"></script> <script type="text/javascript" src="{% static 'jquery.mobile-1.0.1/jquery.mobile-1.0.1.min.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/diagnosticos/diagnosticos_categorias_form.js"></script> <script type="text/javascript" src="{% static 'js/diagnosticos/diagnosticos_categorias_form.js' %}" ></script>
{% endblock media %} {% endblock media %}
</head> </head>
<body> <body>
<div data-role="page" id="page" class="type-interior"> <div data-role="page" id="page" class="type-interior">
<div data-role="header" data-position="fixed"> <div data-role="header" data-position="fixed">
<img id="working" src="{{ STATIC_URL }}img/loader.gif" class="ui-btn-right"/> <img id="working" src="{% static 'img/loader.gif' %}" class="ui-btn-right"/>
{% block cabecalho %}{% endblock cabecalho %} {% block cabecalho %}{% endblock cabecalho %}
</div> <!-- header --> </div> <!-- header -->
<div data-role="content" class="content-primary"> <div data-role="content" class="content-primary">

5
templates/base_report.html

@ -1,4 +1,5 @@
{% load smart_if %} {% load smart_if %}
{% load static from staticfiles %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html> <html>
<head> <head>
@ -63,13 +64,13 @@
<div id="header"> <div id="header">
<table> <table>
<tr> <tr>
<td class="logo"><img src="{{ STATIC_URL }}img/logo-senado.jpg"/></td> <td class="logo"><img src="{% static 'img/logo-senado.jpg' %}" /></td>
<td class="header_text"> <td class="header_text">
<p><strong>SENADO FEDERAL</strong></p> <p><strong>SENADO FEDERAL</strong></p>
<p><strong>SECRETARIA ESPECIAL DO INTERLEGIS – SINTER</strong></p> <p><strong>SECRETARIA ESPECIAL DO INTERLEGIS – SINTER</strong></p>
<p>{% block subsecretaria %}{% endblock %}</p> <p>{% block subsecretaria %}{% endblock %}</p>
</td> </td>
<td class="logo"><img src="{{ STATIC_URL }}img/logo-interlegis.jpg"/></td> <td class="logo"><img src="{% static 'img/logo-interlegis.jpg' %}" /></td>
</tr> </tr>
</table> </table>
</div> </div>

11
templates/index.html

@ -1,16 +1,17 @@
{% extends "admin/base_site.html" %} {% extends "admin/base_site.html" %}
{% load i18n admin_static %} {% load i18n admin_static %}
{% load static from staticfiles %}
{% block title %}SIGI{% endblock %} {% block title %}SIGI{% endblock %}
{% block extrahead %} {% block extrahead %}
{{ block.super }} {{ block.super }}
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/style.css"> <link rel="stylesheet" type="text/css" href="{% static 'css/style.css' %}" >
<script type="text/javascript" src="{{ STATIC_URL }}admin/js/core.js"></script> <script type="text/javascript" src="{% static 'admin/js/core.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}admin/js/jquery.min.js"></script> <script type="text/javascript" src="{% static 'admin/js/jquery.min.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}admin/js/jquery.init.js"></script> <script type="text/javascript" src="{% static 'admin/js/jquery.init.js' %}" ></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/Chart.min.js"></script> <script type="text/javascript" src="{% static 'js/Chart.min.js' %}" ></script>
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"> </script> <script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false"> </script>
<script type="text/javascript"> <script type="text/javascript">
(function($) { (function($) {

5
templates/snippets/modules/charts-convenios.html

@ -1,3 +1,4 @@
{% load static from staticfiles %}
<div class="module" style="height: 300px;"> <div class="module" style="height: 300px;">
<h2>Resumo de informações</h2> <h2>Resumo de informações</h2>
<!-- h3>Câmaras municipais por projeto</h3 --> <!-- h3>Câmaras municipais por projeto</h3 -->
@ -37,7 +38,7 @@
<div class="module" style="height: 300px;"> <div class="module" style="height: 300px;">
<h2>Serviços</h2> <h2>Serviços</h2>
<div class="titlemapbox"> <div class="titlemapbox">
<div class="mapbox"><a href="/dashboard/mapa/"><img src="{{ STATIC_URL }}img/mapicon.png"/><br/>Ver mapa</a></div> <div class="mapbox"><a href="/dashboard/mapa/"><img src="{% static 'img/mapicon.png' %}" /><br/>Ver mapa</a></div>
<h3>Serviços hospedados no Interlegis (SEIT)</h3> <h3>Serviços hospedados no Interlegis (SEIT)</h3>
</div> </div>
@ -95,7 +96,7 @@
<h2>Atendimentos</h2> <h2>Atendimentos</h2>
<h3>Mapa de atuação do Interlegis</h3> <h3>Mapa de atuação do Interlegis</h3>
<div class="align-center"> <div class="align-center">
<a href="/dashboard/mapa/"> <img src="{{ STATIC_URL }}img/mapicon-large.png" style="width: 60%;"/> </a> <a href="/dashboard/mapa/"> <img src="{% static 'img/mapicon-large.png' %}" style="width: 60%;"/> </a>
</div> </div>
</div> </div>

Loading…
Cancel
Save