Browse Source

HOT-FIX: conserta links para webpack_static

pull/2892/head
Edward Ribeiro 6 years ago
parent
commit
4118034faa
  1. 3
      sapl/templates/base/RelatorioAtas_filter.html
  2. 2
      sapl/templates/floppyforms/image_thumbnail.html
  3. 1
      sapl/templates/protocoloadm/protocolo_list.html
  4. 2
      sapl/templates/relatorios/header_ata.html
  5. 3
      sapl/templates/relatorios/relatorio_ata.html
  6. 5
      sapl/templates/relatorios/relatorio_doc_administrativos.html
  7. 3
      sapl/templates/relatorios/relatorio_sessao_plenaria.html
  8. 6
      sapl/templates/rest_framework_docs/base.html
  9. 4
      sapl/templates/sessao/pauta_sessao_list.html

3
sapl/templates/base/RelatorioAtas_filter.html

@ -1,6 +1,7 @@
{% extends "crud/list.html" %} {% extends "crud/list.html" %}
{% load i18n %} {% load i18n %}
{% load crispy_forms_tags staticfiles %} {% load crispy_forms_tags staticfiles %}
{% load webpack_static from webpack_loader %}
{% block base_content %} {% block base_content %}
{% if not filter_url %} {% if not filter_url %}
@ -26,7 +27,7 @@
<tr> <tr>
<td>{{sessao}}</td> <td>{{sessao}}</td>
<td><a href="{{ sessao.upload_ata.url }}"> <td><a href="{{ sessao.upload_ata.url }}">
<img src="{% static 'img/file.png' %}"> <img src="{% webpack_static 'img/file.png' %}">
</a></td> </a></td>
</tr> </tr>
{% endfor %} {% endfor %}

2
sapl/templates/floppyforms/image_thumbnail.html

@ -43,7 +43,7 @@
{% else %} {% else %}
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<img src="{% static 'img/perfil.png' %}"" <img src="{% webpack_static 'img/perfil.png' %}""
class="img-thumbnail"/> class="img-thumbnail"/>
</div> </div>
</div> </div>

1
sapl/templates/protocoloadm/protocolo_list.html

@ -2,7 +2,6 @@
{% load i18n %} {% load i18n %}
{% load tz %} {% load tz %}
{% load crispy_forms_tags %} {% load crispy_forms_tags %}
{% load static %}
{% load webpack_static from webpack_loader %} {% load webpack_static from webpack_loader %}
{% block detail_content %} {% block detail_content %}

2
sapl/templates/relatorios/header_ata.html

@ -8,7 +8,7 @@
<html lang="pt-br"> <html lang="pt-br">
<head> <head>
<link rel="stylesheet" href="{% static 'sapl/css/header-relatorio.css'%}"> <link rel="stylesheet" href="{% webpack_static 'sapl/css/header-relatorio.css'%}">
</head> </head>
<body> <body>

3
sapl/templates/relatorios/relatorio_ata.html

@ -1,5 +1,6 @@
{% load common_tags %} {% load common_tags %}
{% load static %} {% load static %}
{% load webpack_static from webpack_loader %}
<head> <head>
<style> <style>
@page{ @page{
@ -33,7 +34,7 @@
} }
} }
</style> </style>
<link rel="stylesheet" href="{% static '/sapl/css/relatorio.css'%}"> <link rel="stylesheet" href="{% webpack_static 'sapl/css/relatorio.css'%}">
</head> </head>
<body> <body>

5
sapl/templates/relatorios/relatorio_doc_administrativos.html

@ -1,6 +1,7 @@
{% load i18n %} {% load i18n %}
{% load common_tags %} {% load common_tags %}
{% load static %} {% load crispy_forms_tags staticfiles %}
{% load webpack_static from webpack_loader %}
<head> <head>
@ -39,7 +40,7 @@
} }
} }
</style> </style>
<link rel="stylesheet" href="{% static '/sapl/css/relatorio.css'%}"> <link rel="stylesheet" href="{% webpack_static '/sapl/css/relatorio.css'%}">
</head> </head>
<body> <body>

3
sapl/templates/relatorios/relatorio_sessao_plenaria.html

@ -1,4 +1,5 @@
{% load static %} {% load static %}
{% load webpack_static from webpack_loader %}
<!DOCTYPE html> <!DOCTYPE html>
<meta charset="utf-8"> <meta charset="utf-8">
</meta> </meta>
@ -40,7 +41,7 @@
} }
} }
</style> </style>
<link rel="stylesheet" href="{% static '/sapl/css/relatorio.css'%}"> <link rel="stylesheet" href="{% webpack_static 'sapl/css/relatorio.css'%}">
</head> </head>
<body> <body>

6
sapl/templates/rest_framework_docs/base.html

@ -1,4 +1,4 @@
{% load static from staticfiles %} {% load webpack_static from webpack_loader %}
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
@ -10,7 +10,7 @@
<title>{% block title %}DRF Docs{% endblock %}</title> <title>{% block title %}DRF Docs{% endblock %}</title>
{% block style %} {% block style %}
<link rel="stylesheet" href="{% static "rest_framework_docs/css/style.css" %}"> <link rel="stylesheet" href="{% webpack_static "rest_framework_docs/css/style.css" %}">
{% endblock %} {% endblock %}
</head> </head>
@ -76,6 +76,6 @@
</div> </div>
<!-- Dist.js - Inlcuded Live API, jQuery, Bootstrap --> <!-- Dist.js - Inlcuded Live API, jQuery, Bootstrap -->
<script type="text/javascript" src="{% static "rest_framework_docs/js/dist.min.js" %}"></script> <script type="text/javascript" src="{% webpack_static "rest_framework_docs/js/dist.min.js" %}"></script>
</body> </body>
</html> </html>

4
sapl/templates/sessao/pauta_sessao_list.html

@ -1,6 +1,6 @@
{% extends "base.html" %} {% extends "base.html" %}
{% load i18n staticfiles %} {% load i18n staticfiles %}
{% load webpack_static from webpack_loader %}
{% block base_content %} {% block base_content %}
{% if not page_obj %} {% if not page_obj %}
@ -18,7 +18,7 @@
<tr> <tr>
<td>{{sessao}}</td> <td>{{sessao}}</td>
<td><a href="{% url 'sapl.relatorios:relatorio_sessao_plenaria' sessao.id %}"> <td><a href="{% url 'sapl.relatorios:relatorio_sessao_plenaria' sessao.id %}">
<img src="{% static 'img/file.png' %}"> <img src="{% webpack_static 'img/file.png' %}">
</a></td> </a></td>
</tr> </tr>
{% endfor %} {% endfor %}

Loading…
Cancel
Save