| 1234567891011121314151617181920212223242526272829303132333435363738 |
- {namespace flux=FluidTYPO3\Flux\ViewHelpers}
- {namespace v=FluidTYPO3\Vhs\ViewHelpers}
- {namespace ot=Opentalent\OtTemplating\ViewHelpers}
- <f:comment><!-- uses the layout Home, defined in layouts/[templateName]/Home.html --></f:comment>
- <f:layout name="{ot:template.current()}/Home" />
- <f:section name='Configuration'>
- <flux:form id="home" label="{f:translate(key: 'template_home')}" extensionName="Opentalent.OtTemplating">
- <flux:field.checkbox name="settings.staticDonors" label="{f:translate(key: 'static_donors')}" default="0"/>
- <flux:field.input name="settings.eventsLimit" label="{f:translate(key: 'next_events_limit')}" default="5" minimum="1" maximum="24" eval="int"/>
- <flux:field.input name="settings.eventsPeriod" label="{f:translate(key: 'next_events_period')}" default="8" minimum="0" eval="int"/>
- </flux:form>
- <!-- Backend layout grid -->
- <flux:grid>
- <flux:grid.row>
- <flux:grid.column colPos="1" name="Leftcol" label="{f:translate(key: 'left_column')}" style="width: 25%" />
- <flux:grid.column colPos="0" name="Content" label="{f:translate(key: 'content')}" style="width: 50%" />
- <flux:grid.column colPos="2" name="Rightcol" label="{f:translate(key: 'right_column')}" style="width: 25%" />
- </flux:grid.row>
- </flux:grid>
- </f:section>
- <f:section name="Leftcol">
- <f:comment><!-- Render colPos=0 in this section --></f:comment>
- <v:content.render column="1" />
- </f:section>
- <f:section name="Content">
- <f:comment><!-- Render colPos=1 in this section --></f:comment>
- <v:content.render column="0" />
- </f:section>
- <f:section name="Rightcol">
- <f:comment><!-- Render colPos=2 in this section --></f:comment>
- <v:content.render column="2" />
- </f:section>
|