descripcion reportes

parent 94c0108a
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
<td>{{ platform.id }}</td> <td>{{ platform.id }}</td>
<td>{{ platform.name }}</td> <td>{{ platform.name }}</td>
<td>{{ platform.acronym }}</td> <td>{{ platform.acronym }}</td>
<form method="post" action="../update/"> <form method="post" action="{% url 'update' %}">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="request_path" value="{{ request.path }}"> <input type="hidden" name="request_path" value="{{ request.path }}">
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
<td>{{ process.name }}</td> <td>{{ process.name }}</td>
<td>{{ process.platform_id }}</td> <td>{{ process.platform_id }}</td>
<td>{{ process.product_level }}</td> <td>{{ process.product_level }}</td>
<form method="post" action="../update/"> <form method="post" action="{% url 'update' %}">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="request_path" value="{{ request.path }}"> <input type="hidden" name="request_path" value="{{ request.path }}">
...@@ -206,16 +206,6 @@ ...@@ -206,16 +206,6 @@
<!-- Copyright --> <!-- Copyright -->
</footer> </footer>
{% if messages %}
<div class="container col-md-2 col-lg-2 col-xs-2 col-sm-2" style="bottom: 0; right: 0;position: absolute">
{% for message in messages %}
<div {% if message.tags %} class="fade in alert alert-dismissible alert-{{ message.tags }}"{% endif %}>
<a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
<strong>{{ message.tags }}!</strong> {{ message }}.
</div>
{% endfor %}
</div>
{% endif %}
{% endblock %} {% endblock %}
{% block templates %}{% include "templates.html" %}{% endblock %} {% block templates %}{% include "templates.html" %}{% endblock %}
......
...@@ -474,20 +474,11 @@ ...@@ -474,20 +474,11 @@
{% endfor %} {% endfor %}
], ],
backgroundColor: [ backgroundColor: [
'rgba(255, 99, 132, 0.2)', 'rgba(222, 130, 50, 0.2)'
'rgba(54, 162, 235, 0.2)',
'rgba(255, 206, 86, 0.2)',
'rgba(75, 192, 192, 0.2)',
'rgba(153, 102, 255, 0.2)',
'rgba(255, 159, 64, 0.2)'
], ],
borderColor: [ borderColor: [
'rgba(255,99,132,1)', 'rgba(222, 130, 50,1)',
'rgba(54, 162, 235, 1)',
'rgba(255, 206, 86, 1)',
'rgba(75, 192, 192, 1)',
'rgba(153, 102, 255, 1)',
'rgba(255, 159, 64, 1)'
], ],
borderWidth: 1 borderWidth: 1
}] }]
......
...@@ -238,51 +238,7 @@ ...@@ -238,51 +238,7 @@
{% block scripts %} {% block scripts %}
<script> <script>
$(document).ready(function () { $(document).ready(function () {
$('#example').DataTable $('#example').DataTable();
({
language:
{
"sProcessing": "Procesando...",
"sLengthMenu": "Mostrar _MENU_ registros",
"sZeroRecords": "No se encontraron resultados",
"sEmptyTable": "Ningún dato disponible en esta tabla",
"sInfo": "Mostrando registros del _START_ al _END_ de un total de _TOTAL_ registros",
"sInfoEmpty": "Mostrando registros del 0 al 0 de un total de 0 registros",
"sInfoFiltered": "(filtrado de un total de _MAX_ registros)",
"sInfoPostFix": "",
"sSearch": "Buscar:",
"sUrl": "",
"sInfoThousands": ",",
"sLoadingRecords": "Cargando...",
"oPaginate":
{
"sFirst": "Primero",
"sLast": "Último",
"sNext": "Siguiente",
"sPrevious": "Anterior"
},
"oAria":
{
"sSortAscending": ": Activar para ordenar la columna de manera ascendente",
"sSortDescending": ": Activar para ordenar la columna de manera descendente"
}
},
responsive:
{
details:
{
type: 'column',
target: 'tr'
}
},
columnDefs:
[{
className: 'control',
orderable: false,
targets: 0
}],
order: [1, 'asc']
});
}); });
</script> </script>
{% endblock %} {% endblock %}
\ No newline at end of file
...@@ -168,19 +168,10 @@ ...@@ -168,19 +168,10 @@
</span> </span>
</a> </a>
</li> </li>
<li>
<a class="treeview submenu" href="#" id="downloadPdf">
<i class="fa fa-file-pdf-o"></i>
<span>Export to PDF</span>
<span class="pull-right-container">
<span class="label label-primary pull-right"></span>
</span>
</a>
</li>
<li> <li>
<a class="treeview submenu" href="../../static/reports/tmpImages/repsat_test_dev/{{ email }}/{{ purchaseID }}/{{ zone }}.pdf" id="downloadPdf" target="_blank"> <a class="treeview submenu" href="../../static/reports/tmpImages/repsat_test_dev/{{ email }}/{{ purchaseID }}/{{ zone }}.pdf" id="downloadPdf" target="_blank">
<i class="fa fa-file-pdf-o"></i> <i class="fa fa-file-pdf-o"></i>
<span>Export to PDF v2</span> <span>Export to PDF</span>
<span class="pull-right-container"> <span class="pull-right-container">
<span class="label label-primary pull-right"></span> <span class="label label-primary pull-right"></span>
</span> </span>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment