mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
[export] layout of page "export list"
This commit is contained in:
parent
7d7912a93e
commit
6abf51be4b
@ -17,4 +17,5 @@ Master branch
|
|||||||
=============
|
=============
|
||||||
|
|
||||||
- fix error when interval is hour only
|
- fix error when interval is hour only
|
||||||
|
- layout of page "list exports"
|
||||||
|
|
||||||
|
21
Resources/public/modules/export-list/export-list.scss
Normal file
21
Resources/public/modules/export-list/export-list.scss
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
.container-export {
|
||||||
|
margin-left: 1rem;
|
||||||
|
margin-right: 1rem;
|
||||||
|
|
||||||
|
.export-list {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
|
||||||
|
.export-list__element {
|
||||||
|
min-width: 18rem;
|
||||||
|
max-width: 20rem;
|
||||||
|
padding: 1rem;
|
||||||
|
margin: 1rem;
|
||||||
|
flex-grow: 1;
|
||||||
|
|
||||||
|
border: 1px solid var(--chill-gray);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -16,22 +16,18 @@
|
|||||||
* 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 "ChillMainBundle::layoutWithVerticalMenu.html.twig" %}
|
{% extends "ChillMainBundle::layout.html.twig" %}
|
||||||
|
|
||||||
{% block title %}{{ 'Exports list'|trans }}{% endblock %}
|
{% block title %}{{ 'Exports list'|trans }}{% endblock %}
|
||||||
|
|
||||||
{% block vertical_menu_content %}
|
|
||||||
{{ chill_menu('export', {
|
|
||||||
'layout': 'ChillMainBundle::Menu/export.html.twig',
|
|
||||||
}) }}
|
|
||||||
{% endblock %}
|
|
||||||
|
|
||||||
{% block layout_wvm_content %}
|
{% block content %}
|
||||||
{% block export_content %}
|
<div class="container-export">
|
||||||
<h1>{{ 'Exports list'|trans }}</h1>
|
<h1>{{ 'Exports list'|trans }}</h1>
|
||||||
|
|
||||||
|
<div class="export-list">
|
||||||
{% for export_alias,export in exports %}
|
{% for export_alias,export in exports %}
|
||||||
<div class="export">
|
<div class="export-list__element">
|
||||||
<h2>{{ export.title|trans }}</h2>
|
<h2>{{ export.title|trans }}</h2>
|
||||||
<p>{{ export.description|trans }}</p>
|
<p>{{ export.description|trans }}</p>
|
||||||
|
|
||||||
@ -42,5 +38,6 @@
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock %}
|
</div>
|
||||||
{% endblock %}
|
</div>
|
||||||
|
{% endblock %}
|
||||||
|
@ -1 +1 @@
|
|||||||
{% if nb > 0 %}<span class="notification-counter">{{ nb }}{% endif %}
|
{% if nb > 0 %}<span class="notification-counter">{{ nb }}</span>{% endif %}
|
@ -28,6 +28,7 @@ require('./Resources/public/modules/download-report/index.js');
|
|||||||
//require('./Resources/public/css/select2/select2.css');
|
//require('./Resources/public/css/select2/select2.css');
|
||||||
require('select2/dist/css/select2.css');
|
require('select2/dist/css/select2.css');
|
||||||
require('./Resources/public/modules/select_interactive_loading/index.js');
|
require('./Resources/public/modules/select_interactive_loading/index.js');
|
||||||
|
require('./Resources/public/modules/export-list/export-list.scss');
|
||||||
|
|
||||||
// img
|
// img
|
||||||
require('./Resources/public/img/favicon.ico');
|
require('./Resources/public/img/favicon.ico');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user