carpetas ordenadas
This commit is contained in:
60
templates_views_report-templates/export-pdf-report.htm
Normal file
60
templates_views_report-templates/export-pdf-report.htm
Normal file
@@ -0,0 +1,60 @@
|
||||
<!-- mi_proyecto/templates/views/report-templates/export-pdf-report.htm -->
|
||||
{% extends "views/report-templates/default.htm" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block header %}
|
||||
{{ block.super }}
|
||||
<div class="relative report-title-bar">
|
||||
<div class="report-toolbar-preview ep-form-toolbar" style="height: 30px; min-height: 30px;">
|
||||
<button class="btn btn-sm btn-primary" data-bind="click: exportPDF">
|
||||
<i class="fa fa-file-pdf-o"></i> Exportar a PDF
|
||||
</button>
|
||||
<div class="report-print-date" data-bind="component: {
|
||||
name: 'views/components/simple-switch',
|
||||
params: { value: anexarUbic, config:{ label: 'Incluir ubicación detallada'}}}">
|
||||
</div>
|
||||
<div class="report-print-date" data-bind="component: {
|
||||
name: 'views/components/simple-switch',
|
||||
params: { value: anexarImagenes, config:{ label: 'Incluir imágenes adjuntas'}}}">
|
||||
</div>
|
||||
<div class="report-print-date" data-bind="component: {
|
||||
name: 'views/components/simple-switch',
|
||||
params: { value: anexarPdfs, config:{ label: 'Incluir documentos (pdf) adjuntos'}}}">
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock header %}
|
||||
|
||||
{% block body %}
|
||||
<!--ko if: hasProvisionalData() && (editorContext === false) -->
|
||||
<div class="report-provisional-flag">{% trans 'This resource has provisional edits (not displayed in this report) that are pending review' %}</div>
|
||||
<!--/ko-->
|
||||
<!--ko if: hasProvisionalData() && (editorContext === true && report.userisreviewer === true) -->
|
||||
<div class="report-provisional-flag">{% trans 'This resource has provisional edits (not displayed in this report) that are pending review' %}</div>
|
||||
<!--/ko-->
|
||||
<!--ko if: hasProvisionalData() && (editorContext === true && report.userisreviewer === false) -->
|
||||
<div class="report-provisional-flag">{% trans 'This resource has provisional edits that are pending review' %}</div>
|
||||
<!--/ko-->
|
||||
|
||||
<div class="rp-report-section relative rp-report-section-root">
|
||||
<div class="rp-report-section-title">
|
||||
<!-- ko foreach: { data: report.cards, as: 'card' } -->
|
||||
<!-- ko if: !!(ko.unwrap(card.tiles).length > 0) -->
|
||||
<!-- ko if: $index() !== 0 --><hr class="rp-tile-separator"><!-- /ko -->
|
||||
<div class="rp-card-section">
|
||||
<!-- ko component: {
|
||||
name: card.model.cardComponentLookup[card.model.component_id()].componentname,
|
||||
params: {
|
||||
state: 'report',
|
||||
preview: $parent.report.preview,
|
||||
card: card,
|
||||
pageVm: $root,
|
||||
hideEmptyNodes: $parent.hideEmptyNodes
|
||||
}
|
||||
} --> <!-- /ko -->
|
||||
</div>
|
||||
<!-- /ko -->
|
||||
<!-- /ko -->
|
||||
</div>
|
||||
</div>
|
||||
{% endblock body %}
|
||||
Reference in New Issue
Block a user