svg
This commit is contained in:
@ -53,17 +53,17 @@
|
||||
{% set color = app.session.get('colorbgbodylight') %}
|
||||
{% endif %}
|
||||
|
||||
<img id="config_value_img" src="/{{ appAlias }}/uploads/logo/{{ config.value }}" style="background-color: {{color}}; width:90px;height:90px; margin:auto;display:block;">
|
||||
<img id="config_value_img" src="{{asset("uploads/logo/"~config.value)}}" style="background-color: {{color}}; width:90px;height:90px; margin:auto;display:block;">
|
||||
<a class="btn btn-info" style="width:90px" onClick="ModalLoad('extraLargeModal','Logo','{{ path('app_config_logo') }}');" title='Ajouter un Logo'>Modifier</a>
|
||||
</div>
|
||||
{% elseif config.type=="hero" %}
|
||||
<div style="margin:10px auto;">
|
||||
<img id="config_value_img" src="/{{ appAlias }}/uploads/hero/{{ config.value }}" style="width:100%;margin:auto;display:block;">
|
||||
<img id="config_value_img" src="{{asset("uploads/hero/"~config.value)}}" style="width:100%;margin:auto;display:block;">
|
||||
<a class="btn btn-info" style="width:100%" onClick="ModalLoad('extraLargeModal','Carrousel','{{ path('app_crop01', {"type": "hero", "reportinput": "config_value" }) }}');" title='Ajouter une Bannière'>Modifier</a>
|
||||
</div>
|
||||
{% elseif config.type=="image" %}
|
||||
<div style="margin:10px auto;">
|
||||
<img id="config_value_img" src="/{{ appAlias }}/uploads/hero/{{ config.value }}" style="width:100%;margin:auto;display:block;">
|
||||
<img id="config_value_img" src="{{asset("uploads/image/"~config.value)}}" style="width:100%;margin:auto;display:block;">
|
||||
<a class="btn btn-info" style="width:100%" onClick="ModalLoad('extraLargeModal','Image','{{ path('app_crop01', {"type": "image", "reportinput": "config_value" }) }}');" title='Ajouter une Image'>Modifier</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
@ -73,15 +73,16 @@
|
||||
{%endif%}
|
||||
{% elseif config.type=="logo" %}
|
||||
{%if not config.value is empty %}
|
||||
<img src="/{{appAlias}}/uploads/logo/{{ config.value }}" height=50px>
|
||||
<img src="{{asset("uploads/logo/"~config.value)}}" height=50px>
|
||||
{% endif %}
|
||||
{% elseif config.type=="hero" %}
|
||||
{%if not config.value is empty %}
|
||||
<img src="/{{appAlias}}/uploads/hero/{{ config.value }}" style="max-width:100%">
|
||||
qsdfqsdf
|
||||
<img src="{{asset("uploads/hero/"~config.value)}}" style="max-width:100%">
|
||||
{% endif %}
|
||||
{% elseif config.type=="image" %}
|
||||
{%if not config.value is empty %}
|
||||
<img src="/{{appAlias}}/uploads/image/{{ config.value }}" style="max-width:100%">
|
||||
<img src="{{asset("uploads/image/"~config.value)}}" style="max-width:100%">
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{{ config.value|raw }}
|
||||
|
Reference in New Issue
Block a user