|
|
@@ -10,44 +10,48 @@
|
|
|
<f:then>
|
|
|
|
|
|
<div class="templates">
|
|
|
- <h3>Choisir un thème:</h3>
|
|
|
- <f:for each="{templates}" as="template" key="template_key">
|
|
|
+ <h3>Thèmes disponibles</h3>
|
|
|
+ <div class="templates-gallery">
|
|
|
+ <f:for each="{templates}" as="template" key="template_key">
|
|
|
|
|
|
- <div class="template-card">
|
|
|
- <div class="template-title">
|
|
|
- {template.name}
|
|
|
- </div>
|
|
|
- <div class="template-poster">
|
|
|
- <f:image src="{template.picture}" alt="poster" />
|
|
|
- </div>
|
|
|
- <div class="template-description">
|
|
|
- {template.description}
|
|
|
- </div>
|
|
|
- <div class="template-controls">
|
|
|
+ <div class="template-card">
|
|
|
+ <div class="template-title">
|
|
|
+ {template.name}
|
|
|
+ </div>
|
|
|
+ <div class="template-poster">
|
|
|
+ <f:image src="{template.picture}" alt="poster" />
|
|
|
+ </div>
|
|
|
+ <div class="template-description">
|
|
|
+ {template.description}
|
|
|
+ </div>
|
|
|
+ <div class="template-controls">
|
|
|
|
|
|
- <f:if condition="{template_key}=={currentTemplate}">
|
|
|
- <f:then>
|
|
|
- <div class="active">Thème actif</div>
|
|
|
- </f:then>
|
|
|
- <f:else>
|
|
|
- <f:link.action
|
|
|
- action="selectTemplate"
|
|
|
- arguments="{template_key: template_key}"
|
|
|
- title="select"
|
|
|
- class="ot-btn"
|
|
|
- >
|
|
|
- Utiliser ce thème
|
|
|
- </f:link.action>
|
|
|
- </f:else>
|
|
|
- </f:if>
|
|
|
+ <f:if condition="{template_key}=={currentTemplate}">
|
|
|
+ <f:then>
|
|
|
+ <div class="active">Thème actif</div>
|
|
|
+ </f:then>
|
|
|
+ <f:else>
|
|
|
+ <f:link.action
|
|
|
+ action="selectTemplate"
|
|
|
+ arguments="{template_key: template_key}"
|
|
|
+ title="select"
|
|
|
+ class="ot-btn"
|
|
|
+ >
|
|
|
+ Utiliser ce thème
|
|
|
+ </f:link.action>
|
|
|
+ </f:else>
|
|
|
+ </f:if>
|
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </f:for>
|
|
|
+ </f:for>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
|
|
|
<div class="customizer">
|
|
|
|
|
|
+ <h3>Autre options de personnalisation</h3>
|
|
|
+
|
|
|
<f:form action="updatePreferences">
|
|
|
<div class="form-group">
|
|
|
<label>Couleur du thème</label>
|