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

2
sapl/templates/floppyforms/image_thumbnail.html

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

1
sapl/templates/protocoloadm/protocolo_list.html

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

2
sapl/templates/relatorios/header_ata.html

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

3
sapl/templates/relatorios/relatorio_ata.html

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

5
sapl/templates/relatorios/relatorio_doc_administrativos.html

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

3
sapl/templates/relatorios/relatorio_sessao_plenaria.html

@ -1,4 +1,5 @@
{% load static %}
{% load webpack_static from webpack_loader %}
<!DOCTYPE html>
<meta charset="utf-8">
</meta>
@ -40,7 +41,7 @@
}
}
</style>
<link rel="stylesheet" href="{% static '/sapl/css/relatorio.css'%}">
<link rel="stylesheet" href="{% webpack_static 'sapl/css/relatorio.css'%}">
</head>
<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>
<html>
@ -10,7 +10,7 @@
<title>{% block title %}DRF Docs{% endblock %}</title>
{% 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 %}
</head>
@ -76,6 +76,6 @@
</div>
<!-- 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>
</html>

4
sapl/templates/sessao/pauta_sessao_list.html

@ -1,6 +1,6 @@
{% extends "base.html" %}
{% load i18n staticfiles %}
{% load webpack_static from webpack_loader %}
{% block base_content %}
{% if not page_obj %}
@ -18,7 +18,7 @@
<tr>
<td>{{sessao}}</td>
<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>
</tr>
{% endfor %}

Loading…
Cancel
Save