mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +00:00
bootstrap styles in export section
This commit is contained in:
parent
340310be62
commit
ef9a155cc1
@ -16,7 +16,7 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% block title "Download export"|trans ~ export.title|trans %}
|
{% block title "Download export"|trans ~ export.title|trans %}
|
||||||
|
|
||||||
@ -33,11 +33,19 @@ window.addEventListener("DOMContentLoaded", function(e) {
|
|||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block content %}
|
||||||
|
<div class="col-md-10">
|
||||||
|
|
||||||
<h1>{{ export.title|trans }}</h1>
|
<h1>{{ export.title|trans }}</h1>
|
||||||
<h2>{{ "Download export"|trans }}</h2>
|
<h2>{{ "Download export"|trans }}</h2>
|
||||||
|
|
||||||
<div id="download_container" data-alias="{{ alias|escape('html_attr') }}" {% if mime_type is defined %}data-mime-type="{{ mime_type|escape('html_attr') }}"{% endif %} data-download-text="{{ "Download your report"|trans|escape('html_attr') }}"><span id="waiting_text">{{ "Waiting for your report"|trans }}...</span></div>
|
<div id="download_container"
|
||||||
|
data-alias="{{ alias|escape('html_attr') }}"
|
||||||
{% endblock %}
|
{%- if mime_type is defined %}
|
||||||
|
data-mime-type="{{- mime_type|escape('html_attr') -}}"
|
||||||
|
{% endif -%}
|
||||||
|
data-download-text="{{ "Download your report"|trans|escape('html_attr') }}"
|
||||||
|
><span id="waiting_text">{{ "Waiting for your report"|trans ~ '...' }}</span></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
{% endblock content %}
|
@ -25,7 +25,6 @@
|
|||||||
{% endblock js %}
|
{% endblock js %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<div class="col-md-10">
|
<div class="col-md-10">
|
||||||
|
|
||||||
<h1>{{ export.title|trans }}</h1>
|
<h1>{{ export.title|trans }}</h1>
|
||||||
@ -71,7 +70,7 @@
|
|||||||
{% if form.children.export.children.aggregators is defined %}
|
{% if form.children.export.children.aggregators is defined %}
|
||||||
{% if form.children.export.children.aggregators is not empty %}
|
{% if form.children.export.children.aggregators is not empty %}
|
||||||
|
|
||||||
<section class="aggregator">
|
<section class="aggregator mb-4">
|
||||||
<h2>{{ 'Aggregators'| trans }}</h2>
|
<h2>{{ 'Aggregators'| trans }}</h2>
|
||||||
|
|
||||||
<div class="flex-table">
|
<div class="flex-table">
|
||||||
@ -106,7 +105,7 @@
|
|||||||
<style>
|
<style>
|
||||||
div#export_export_fields { column-count: 2; }
|
div#export_export_fields { column-count: 2; }
|
||||||
</style>
|
</style>
|
||||||
<section class="parameter">
|
<section class="parameter mb-4">
|
||||||
<h2>
|
<h2>
|
||||||
{{ 'Export parameters'|trans }}
|
{{ 'Export parameters'|trans }}
|
||||||
</h2>
|
</h2>
|
||||||
@ -119,7 +118,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if form.children.export.children.pick_formatter is defined %}
|
{% if form.children.export.children.pick_formatter is defined %}
|
||||||
<section class="formatter">
|
<section class="formatter mb-4">
|
||||||
<h2>
|
<h2>
|
||||||
{{ 'Formatter'| trans }}
|
{{ 'Formatter'| trans }}
|
||||||
</h2>
|
</h2>
|
||||||
|
@ -16,39 +16,40 @@
|
|||||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#}
|
#}
|
||||||
|
|
||||||
{% extends "@ChillMain/layoutWithVerticalMenu.html.twig" %}
|
{% extends "@ChillMain/layout.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{{ export.title|trans }}{% endblock %}
|
{% block title %}{{ export.title|trans }}{% endblock %}
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block content %}
|
||||||
|
<div class="col-md-10">
|
||||||
<h1>{{ export.title|trans }}</h1>
|
|
||||||
|
|
||||||
<p>{{ export.description|trans }}</p>
|
|
||||||
|
|
||||||
{{ form_start(form) }}
|
|
||||||
<div style="">
|
|
||||||
<h2>{{ 'Formatter'| trans }}</h2>
|
|
||||||
|
|
||||||
<div style="clear: both;">
|
<h1>{{ export.title|trans }}</h1>
|
||||||
{% if form.children.formatter.children|length == 0 %}
|
|
||||||
<p>
|
<p>{{ export.description|trans }}</p>
|
||||||
<span class="chill-no-data-statement">{{ "No options availables. Your report is fully configured."|trans }}</span>
|
|
||||||
</p>
|
{{ form_start(form) }}
|
||||||
{{ form_widget(form.children.formatter) }}
|
<section class="formatter mb-4">
|
||||||
{% else %}
|
<h2>{{ 'Formatter'| trans }}</h2>
|
||||||
{# we always have to render children, to mark as rendered #}
|
|
||||||
{% for input in form.children.formatter.children %}
|
<div>
|
||||||
{{ form_row(input) }}
|
{% if form.children.formatter.children|length == 0 %}
|
||||||
{% endfor %}
|
<p>
|
||||||
{% endif %}
|
<span class="chill-no-data-statement">{{ "No options availables. Your report is fully configured."|trans }}</span>
|
||||||
|
</p>
|
||||||
|
{{ form_widget(form.children.formatter) }}
|
||||||
|
{% else %}
|
||||||
|
{# we always have to render children, to mark as rendered #}
|
||||||
|
{% for input in form.children.formatter.children %}
|
||||||
|
{{ form_row(input) }}
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<div class="mb-4">
|
||||||
|
<p>{{ form_widget(form.submit, { 'attr' : { 'class' : 'btn btn-action' }, 'label': 'Generate the report' } ) }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
{{ form_end(form) }}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endblock content %}
|
||||||
<div style=clear:both;">
|
|
||||||
<p>{{ form_widget(form.submit, { 'attr' : { 'class' : 'btn btn-action' }, 'label': 'Generate the report' } ) }}</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{{ form_end(form) }}
|
|
||||||
|
|
||||||
{% endblock layout_wvm_content %}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user