svg
This commit is contained in:
@ -8,12 +8,12 @@
|
||||
|
||||
{{ form_widget(form.submit) }}
|
||||
|
||||
{% if mode=="profil" %}
|
||||
{% if by=="profil" %}
|
||||
<a class="btn btn-secondary" href={{ path('app_user_profil') }}>Annuler</a>
|
||||
{% elseif mode=="update" %}
|
||||
{% elseif by=="update" %}
|
||||
<a class="btn btn-secondary" href={{ path('app_user_update',{id:userid}) }}>Annuler</a>
|
||||
{% else %}
|
||||
<a class="btn btn-secondary" href={{ path('app_config') }}>Annuler</a>
|
||||
<a class="btn btn-secondary" href={{ path('app_admin_config') }}>Annuler</a>
|
||||
{% endif %}
|
||||
|
||||
<br><br>
|
||||
@ -54,7 +54,7 @@
|
||||
{% endif %}
|
||||
|
||||
<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>
|
||||
<a class="btn btn-info" style="width:90px" onClick="ModalLoad('extraLargeModal','Logo','{{ path('app_user_config_logo') }}');" title='Ajouter un Logo'>Modifier</a>
|
||||
</div>
|
||||
{% elseif config.type=="hero" %}
|
||||
<div style="margin:10px auto;">
|
||||
|
@ -9,43 +9,43 @@ CONFIGURATIONS
|
||||
<div class="row mt-4">
|
||||
<div class="col-md-12">
|
||||
<h3>Générale</h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"site",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"site",userid:-1})) }}
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3>Couleurs des fonds de page</h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"colorbgbody",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"colorbgbody",userid:-1})) }}
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3>Polices</h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"font",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"font",userid:-1})) }}
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3>Couleurs des titres </h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"colorfttitle",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"colorfttitle",userid:-1})) }}
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3>Couleurs de la police </h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"colorftbody",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"colorftbody",userid:-1})) }}
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3>Logo</h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"logo",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"logo",userid:-1})) }}
|
||||
|
||||
<h3>Social</h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"social",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"social",userid:-1})) }}
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<h3>Carrousel</h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"hero",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"hero",userid:-1})) }}
|
||||
|
||||
<h3>Image</h3>
|
||||
{{ render(path("app_config_render",{mode:mode,category:"image",userid:-1})) }}
|
||||
{{ render(path("app_admin_config_render",{by:by,category:"image",userid:-1})) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -13,12 +13,12 @@
|
||||
<tr>
|
||||
<td width="70px">
|
||||
{% if config.changeable %}
|
||||
{% if mode=="profil" %}
|
||||
<a href="{{path("app_config_user_update",{mode:mode,id:config.id})}}"><i class="fa fa-file"></i></a>
|
||||
<a href="{{path("app_config_user_delete",{mode:mode,id:config.id})}}"><i class="fa fa-trash"></i></a>
|
||||
{% if by=="profil" %}
|
||||
<a href="{{path("app_user_config_update",{by:by,id:config.id})}}"><i class="fa fa-file"></i></a>
|
||||
<a href="{{path("app_user_config_delete",{by:by,id:config.id})}}"><i class="fa fa-trash"></i></a>
|
||||
{% else %}
|
||||
<a href="{{path("app_config_update",{mode:mode,id:config.id,userid:userid})}}"><i class="fa fa-file"></i></a>
|
||||
<a href="{{path("app_config_delete",{mode:mode,id:config.id,userid:userid})}}"><i class="fa fa-trash"></i></a>
|
||||
<a href="{{path("app_admin_config_update",{by:by,id:config.id,userid:userid})}}"><i class="fa fa-file"></i></a>
|
||||
<a href="{{path("app_admin_config_delete",{by:by,id:config.id,userid:userid})}}"><i class="fa fa-trash"></i></a>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user