Browse Source

Correcao na referencia dos static files do dashboard map

stable/2.0
Breno Teixeira 11 years ago
parent
commit
293669bde3
  1. BIN
      sigi.db
  2. 1
      sigi/apps/diagnosticos/templates/diagnosticos/graficos.html
  3. 4
      sigi/apps/metas/templates/metas/mapa.html

BIN
sigi.db

Binary file not shown.

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

@ -35,6 +35,7 @@ jQuery(document).ready(function () {
{% block content %} {% block content %}
<div id="content-main"> <div id="content-main">
<form id="categoria" action="." method="POST"> <form id="categoria" action="." method="POST">
{% csrf_token %}
<select name="categoria"> <select name="categoria">
{% for categoria in categorias %} {% for categoria in categorias %}
<option value="{{ categoria.id }}" {% if categoria.id == sel_categoria %}selected="selected"{% endif %}>{{ categoria.nome }}</option> <option value="{{ categoria.id }}" {% if categoria.id == sel_categoria %}selected="selected"{% endif %}>{{ categoria.nome }}</option>

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

@ -10,7 +10,7 @@
<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="{{ MEDIA_URL }}js/metas/mapa.js"></script> <script type="text/javascript" src="{{ STATIC_URL }}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="/sigi/admin_media/img/admin/icon_searchbox.png"></label> <label for="searchbar"><img alt="Search" src="{{ STATIC_URL }}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>

Loading…
Cancel
Save