descripcion reportes

parent a6b2cc0f
......@@ -25,9 +25,6 @@
<script type="text/javascript">
</script>
{% endblock %}
{% block messages %}
......@@ -130,7 +127,7 @@
<br>
<ul class="sidebar-menu" data-widget="tree">
<li>
<a class="treeview " href="{% url 'map' %}">
<a class="treeview " href="{% url 'map' %}">
<i class="fa fa-map"></i>
<span>Home</span>
<span class="pull-right-container">
......@@ -166,7 +163,7 @@
<!--div id="popover-content-logout" class="hide"-->
<div class="panel panel-default">
<div class="panel-heading">Reports {{ request.META.HTTP_REFERER }}</div>
<div class="panel-heading">Reports</div>
<div class="panel-body" id="mytable">
<table data-toggle="table" id="example" class="table table-striped table-bordered"
style="width:100%">
......@@ -185,11 +182,14 @@
{% for product in productList %}
<tr>
<td>
<a href="#" id="title{{ product.purchase_id }}" data-toggle="popover" data-trigger="hover"
data-content="{% if product.description %}{{ product.description }}{% else %}Without Description{% endif %}"
<a href="#" id="title{{ product.purchase_id }}" data-toggle="popover"
data-trigger="hover"
data-content="
{% if product.description %}{{ product.description }}{% else %}Without Description{% endif %}"
onclick="showMyModalSetTitle('{{ product.search_name }}','{{ product.polygon }}');"> {{ product.search_name }}</a>
<a href="#" onclick="showEditModal('{{ product.search_name }}','{{ product.description }}','{{ product.purchase_id }}')"><span
<a href="#"
onclick="showEditModal('{{ product.search_name }}','{{ product.description }}','{{ product.purchase_id }}')"><span
class="fas fa-pencil-alt"
style="margin:3px 0 0 0"></span></a>
</td>
......@@ -221,28 +221,34 @@
</div>
</div>
<div id="action_buttons{{ product.purchase_id }}" {% if product.progress != 100 %}
class="hidden" {% endif %}>
<a title="View Report"
{% if product.initial_folder %}
href="../reports/{{ product.purchase_id }}"
{% endif %}
class="btn btn-success btn-sm col-md-4 col-xs-4 col-sm-4 col-lg-4 col-xl-4">
<i class="fa fa-eye"></i>
</a>
<a title="Download zip" {% if product.progress == 100 %}
href="../../static/reports/tmpImages/repsat_test_dev/{{ request.user.email }}/{{ product.purchase_id }}/myzip.zip"
{% else %}
href="#"
{% endif %} class="btn btn-warning btn-sm col-md-4 col-xs-4 col-sm-4 col-lg-4 col-xl-4">
<i class="fa fa-file-zip-o"></i>
</a>
<a title="Download PDF" {% if product.progress == 100 %}
href="{% url 'PDF' product.purchase_id %}"
{% else %}
href="#"
{% endif %} class="btn btn-info btn-sm col-md-4 col-xs-4 col-sm-4 col-lg-4 col-xl-4">
<i class="fa fa-file-pdf-o"></i>
</a>
class="hidden" {% else %} class="text-center row col-md-12 col-xs-12 col-sm-12 col-lg-12 col-xl-12" {% endif %}>
<div class="col-md-4 col-xs-6 col-sm-6 col-lg-4 col-xl-4">
<a title="View Report"
{% if product.initial_folder %}
href="../reports/{{ product.purchase_id }}"
{% endif %}
class="btn btn-success ">
<i class="fa fa-eye"></i>
</a>
</div>
<div class="col-md-4 col-xs-6 col-sm-6 col-lg-4 col-xl-4">
<a title="Download zip" {% if product.progress == 100 %}
href="../../static/reports/tmpImages/repsat_test_dev/{{ request.user.email }}/{{ product.purchase_id }}/myzip.zip"
{% else %}
href="#"
{% endif %} class="btn btn-warning ">
<i class="fa fa-file-zip-o"></i>
</a>
</div>
<div class="col-md-4 col-xs-6 col-sm-6 col-lg-4 col-xl-4">
<a title="Download PDF" {% if product.progress == 100 %}
href="{% url 'PDF' product.purchase_id %}"
{% else %}
href="#"
{% endif %} class="btn btn-info">
<i class="fa fa-file-pdf-o"></i>
</a>
</div>
<!--a title="View Log" href="#" class="btn btn-info"
onclick="openmodal('{{ product.log_info }}')">
<i class="fa fa-file-text"></i>
......@@ -259,7 +265,7 @@
<!-- /.content -->
</div>
<!-- Footer -->
<footer class=" page-footer font-small special-color-dark pt-5" >
<footer class=" page-footer font-small special-color-dark pt-5">
<!-- Footer Elements -->
<div class="container">
</div>
......
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