batch rename class sc-button (scratch) by btn (bootstrap)

This commit is contained in:
2021-07-05 19:02:09 +02:00
parent 2e2eeae4f2
commit 05a1f7d041
138 changed files with 355 additions and 355 deletions

View File

@@ -31,10 +31,10 @@
{{ form_widget(edit_form) }}
<ul class="sticky-form-buttons record_actions">
<li class="cancel">
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
<li>
<li>
<button class="sc-button bt-save" type="submit">{{ 'Save report'|trans }}</button>
<button class="btn btn-save" type="submit">{{ 'Save report'|trans }}</button>
</li>
</ul>
{{ form_end(edit_form) }}

View File

@@ -48,12 +48,12 @@
<ul class="record_actions">
{% if is_granted('CHILL_REPORT_SEE', report) %}
<li>
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="sc-button bt-view"></a>
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="btn btn-view"></a>
</li>
{% endif %}
{% if is_granted('CHILL_REPORT_UPDATE', report) %}
<li>
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="sc-button bt-update"></a>
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id }) }}" class="btn btn-update"></a>
</li>
{% endif %}
</ul>
@@ -71,7 +71,7 @@
<ul class="record_actions">
<li>
<a href="{{ path('report_select_type', { 'person_id' : person.id } ) }}" class="sc-button bt-new">
<a href="{{ path('report_select_type', { 'person_id' : person.id } ) }}" class="btn btn-new">
{{ 'Create a new report'|trans }}
</a>
</li>

View File

@@ -29,10 +29,10 @@
{{ form_row(form.cFData) }}
<ul class="sticky-form-buttons record_actions">
<li class="cancel">
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
<li>
<li>
<button class="sc-button bt-create" type="submit"> {{ 'Add report'|trans }}</button>
<button class="btn btn-create" type="submit"> {{ 'Add report'|trans }}</button>
</li>
</ul>
{{ form_end(form) }}

View File

@@ -27,7 +27,7 @@
<ul class="record_actions">
<li class="cancel">
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
<li>
<button class="sc-button green" type="submit">
<i class="fa fa-plus"></i>

View File

@@ -46,11 +46,11 @@
<ul class="record_actions">
<li class="cancel">
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="sc-button bt-cancel">{{ 'Back to the list'|trans }}</a>
<a href="{{ path('report_list', { 'person_id': person.id } ) }}" class="btn btn-cancel">{{ 'Back to the list'|trans }}</a>
<li>
{% if is_granted('CHILL_REPORT_UPDATE', entity) %}
<li>
<a class="sc-button bt-edit" href="{{ path('report_edit', { 'person_id': entity.person.id, 'report_id': entity.id }) }}">{{ 'Update the report' | trans }}</a>
<a class="btn btn-edit" href="{{ path('report_edit', { 'person_id': entity.person.id, 'report_id': entity.id }) }}">{{ 'Update the report' | trans }}</a>
</li>
{% endif %}
</ul>

View File

@@ -25,13 +25,13 @@
<ul class="record_actions">
<li>
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="sc-button bt-view">
<a href="{{ path('report_view', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="btn btn-view">
{{ 'View the report'|trans }}
</a>
</li>
{% if is_granted('CHILL_REPORT_UPDATE', report) %}
<li>
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="sc-button bt-edit">
<a href="{{ path('report_edit', { 'person_id': report.person.id, 'report_id': report.id} ) }}" class="btn btn-edit">
{{ 'Update the report'|trans }}
</a>
</li>