mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 22:53:49 +00:00
search page, content position
This commit is contained in:
@@ -18,29 +18,31 @@
|
||||
|
||||
|
||||
{% block title title|trans %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<div style="margin-right: 2em; margin-left: 2em;">
|
||||
|
||||
<h1>{{ title|trans }}</h1>
|
||||
|
||||
{{ form_start(form) }}
|
||||
|
||||
{% for f in form %}
|
||||
{% if f.vars.name != 'submit' %}
|
||||
{{ form_row(f) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
{{ form_widget(form.submit, { 'attr' : { 'class': 'btn btn-create change-icon' } } ) }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{ form_end(form) }}
|
||||
|
||||
{% block content %}
|
||||
<div class="search-list my-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10 col-xxl">
|
||||
|
||||
<h1>{{ title|trans }}</h1>
|
||||
|
||||
{{ form_start(form) }}
|
||||
|
||||
{% for f in form %}
|
||||
{% if f.vars.name != 'submit' %}
|
||||
{{ form_row(f) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
<ul class="record_actions">
|
||||
<li>
|
||||
{{ form_widget(form.submit, { 'attr' : { 'class': 'btn btn-create change-icon' } } ) }}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
{{ form_end(form) }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -19,7 +19,13 @@
|
||||
{% set _search_pattern = pattern %}
|
||||
|
||||
{% block content %}
|
||||
<div class="search-list my-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10 col-xxl">
|
||||
|
||||
<p class="col-8 centered error">{{ message }}</p>
|
||||
<p class="error">{{ message }}</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@@ -21,13 +21,15 @@
|
||||
{% block title %}{{ 'Search %pattern%'|trans({ '%pattern%' : pattern }) }}{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<div class="search-list my-5">
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-10 col-xxl">
|
||||
|
||||
<div class="col-12 parent" >
|
||||
<div class="col-10 push-1 parent">
|
||||
{% for result in results %}
|
||||
{{ result|raw }}
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user