Home.html 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {namespace flux=FluidTYPO3\Flux\ViewHelpers}
  2. {namespace v=FluidTYPO3\Vhs\ViewHelpers}
  3. {namespace ot=Opentalent\OtTemplating\ViewHelpers}
  4. <f:comment><!-- uses the layout Home, defined in layouts/[templateName]/Home.html --></f:comment>
  5. <f:layout name="{ot:template.current()}/Home" />
  6. <f:section name='Configuration'>
  7. <flux:form id="home" label="LLL:template_home" extensionName="Opentalent.OtTemplating">
  8. <flux:field.checkbox name="settings.staticDonors" label="LLL:static_donors" default="0"/>
  9. <flux:field.input name="settings.eventsLimit" label="LLL:next_events_limit" default="5" minimum="1" maximum="24" eval="int"/>
  10. <flux:field.input name="settings.eventsPeriod" label="LLL:next_events_period" default="8" minimum="0" eval="int"/>
  11. </flux:form>
  12. <!-- Backend layout grid -->
  13. <flux:grid>
  14. <flux:grid.row>
  15. <flux:grid.column colPos="1" name="Leftcol" label="LLL:left_column" style="width: 25%" />
  16. <flux:grid.column colPos="0" name="Content" label="LLL:content" style="width: 50%" />
  17. <flux:grid.column colPos="2" name="Rightcol" label="LLL:right_column" style="width: 25%" />
  18. </flux:grid.row>
  19. </flux:grid>
  20. </f:section>
  21. <f:section name="Leftcol">
  22. <f:comment><!-- Render colPos=0 in this section --></f:comment>
  23. <v:content.render column="1" />
  24. </f:section>
  25. <f:section name="Content">
  26. <f:comment><!-- Render colPos=1 in this section --></f:comment>
  27. <v:content.render column="0" />
  28. </f:section>
  29. <f:section name="Rightcol">
  30. <f:comment><!-- Render colPos=2 in this section --></f:comment>
  31. <v:content.render column="2" />
  32. </f:section>