Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {namespace flux=FluidTYPO3\Flux\ViewHelpers}
- {namespace v=Tx_Vhs_ViewHelpers}
- <f:layout name="Elements" />
- <div xmlns="http://www.w3.org/1999/xhtml" lang="en"
- xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
- xmlns:flux="http://fedext.net/ns/flux/ViewHelpers"
- xmlns:v="http://fedext.net/ns/vhs/ViewHelpers">
- <f:section name="Configuration">
- <flux:form wizardTab="Acutronic" id="stage" label="Acutronic: Stage Object">
- <flux:form.sheet name="properties" label="Stage Properties">
- <flux:form.container name="properties">
- <flux:field.input name="affix" label="Stage Affix Label:" placeholder="e.g.: 'Easy Access'" />
- <flux:field.input name="id" label="Stage ID:" placeholder="e.g.: 'easy-access'" />
- <flux:field.input name="class" label="Stage Classes:" placeholder="e.g.: 'js-dummy-handle my-class'" />
- <flux:field.select name="size" label="Minimal Stage Size:" items="{
- 0: {0: '', 1: 'none'},
- 1: {0: 'stage-small', 1: 'S (365px)'}
- 2: {0: 'stage-medium', 1: 'M (445px)'},
- 3: {0: 'stage-large', 1: 'L (545px)'},
- 4: {0: 'stage-xlarge', 1: 'XL (660px)'},
- 5: {0: 'stage-xxlarge', 1: 'XXL (680px)'}
- }" maxItems="1" />
- <flux:field.select name="background" label="Stage Background:" items="{
- 0: {0: '', 1: 'none'},
- 1: {0: 'stage-light', 1: 'Light'},
- 2: {0: 'stage-dark', 1: 'Dark'},
- 3: {0: 'stage-shade', 1: 'Shade'},
- 4: {0: 'stage-picture', 1: 'Picture'},
- 5: {0: 'stage-transparent', 1: 'Transparent'}
- }" maxItems="1" />
- <flux:field.file name="background-image" label="Stage Background Image:" allowed="jpg,jpeg,png,gif" uploadFolder="uploads/tx_acutronic" minItems="0" maxItems="1" />
- <flux:field.checkbox name="inverted" label="Stage Text-Color: White?" />
- <flux:field.checkbox name="ovh" label="Stage Overflow: Hidden?" />
- <flux:field.checkbox name="showcase" label="Stage: Showcase?" />
- </flux:form.container>
- </flux:form.sheet>
- <flux:form.sheet name="content" label="Stage Content">
- <flux:form.section name="rows" label="Stage Rows">
- <flux:form.object name="row" label="Row">
- <flux:field.input name="title" label="Row Title:" placeholder="Title will only be shown in backend" />
- <flux:field.input name="id" label="Row ID:" placeholder="e.g.: 'easy-access'" />
- <flux:field.input name="class" label="Row Class:" placeholder="e.g.: 'js-dummy-handle my-class'" />
- <flux:form.section name="cols" label="Stage Cols">
- <flux:form.object name="col" label="Col">
- <flux:field.input name="title" label="Col Title:" placeholder="Title will only be shown in backend" />
- <flux:field.input name="class" label="Col Class:" placeholder="e.g.: 'js-dummy-handle my-class'" />
- <flux:field.select name="col-xs" label="Col Width (Mobile):" items="{
- 0: {0: '',1: 'none'},
- 1: {0: 'col-xs-1',1: '1 column'},
- 2: {0: 'col-xs-2',1: '2 columns'},
- 3: {0: 'col-xs-3',1: '3 columns'},
- 4: {0: 'col-xs-4',1: '4 columns'},
- 5: {0: 'col-xs-5',1: '5 columns'},
- 6: {0: 'col-xs-6',1: '6 columns'},
- 7: {0: 'col-xs-7',1: '7 columns'},
- 8: {0: 'col-xs-8',1: '8 columns'},
- 9: {0: 'col-xs-9',1: '9 columns'},
- 10: {0: 'col-xs-10',1: '10 columns'},
- 11: {0: 'col-xs-11',1: '11 columns'},
- 12: {0: 'col-xs-12',1: '12 columns'},
- 13: {0: 'hidden-xs',1: 'hidden'}
- }" maxItems="1" />
- <flux:field.select name="col-sm" label="Col Width (Small Desktop):" items="{
- 0: {0: '',1: 'none'},
- 1: {0: 'col-sm-1',1: '1 column'},
- 2: {0: 'col-sm-2',1: '2 columns'},
- 3: {0: 'col-sm-3',1: '3 columns'},
- 4: {0: 'col-sm-4',1: '4 columns'},
- 5: {0: 'col-sm-5',1: '5 columns'},
- 6: {0: 'col-sm-6',1: '6 columns'},
- 7: {0: 'col-sm-7',1: '7 columns'},
- 8: {0: 'col-sm-8',1: '8 columns'},
- 9: {0: 'col-sm-9',1: '9 columns'},
- 10: {0: 'col-sm-10',1: '10 columns'},
- 11: {0: 'col-sm-11',1: '11 columns'},
- 12: {0: 'col-sm-12',1: '12 columns'},
- 13: {0: 'hidden-sm',1: 'hidden'}
- }" maxItems="1" />
- <flux:field.select name="col-sm-offset" label="Col Offset (Small Desktop):" items="{
- 0: {0: '',1: 'none'},
- 1: {0: 'col-sm-offset-1',1: '1 column'},
- 2: {0: 'col-sm-offset-2',1: '2 columns'},
- 3: {0: 'col-sm-offset-3',1: '3 columns'},
- 4: {0: 'col-sm-offset-4',1: '4 columns'},
- 5: {0: 'col-sm-offset-5',1: '5 columns'},
- 6: {0: 'col-sm-offset-6',1: '6 columns'},
- 7: {0: 'col-sm-offset-7',1: '7 columns'},
- 8: {0: 'col-sm-offset-8',1: '8 columns'},
- 9: {0: 'col-sm-offset-9',1: '9 columns'},
- 10: {0: 'col-sm-offset-10',1: '10 columns'},
- 11: {0: 'col-sm-offset-11',1: '11 columns'},
- 12: {0: 'col-sm-offset-12',1: '12 columns'}
- }" maxItems="1" />
- <flux:field.select name="col-md" label="Col Width (Big Desktop):" items="{
- 0: {0: '',1: 'none'},
- 1: {0: 'col-md-1',1: '1 column'},
- 2: {0: 'col-md-2',1: '2 columns'},
- 3: {0: 'col-md-3',1: '3 columns'},
- 4: {0: 'col-md-4',1: '4 columns'},
- 5: {0: 'col-md-5',1: '5 columns'},
- 6: {0: 'col-md-6',1: '6 columns'},
- 7: {0: 'col-md-7',1: '7 columns'},
- 8: {0: 'col-md-8',1: '8 columns'},
- 9: {0: 'col-md-9',1: '9 columns'},
- 10: {0: 'col-md-10',1: '10 columns'},
- 11: {0: 'col-md-11',1: '11 columns'},
- 12: {0: 'col-md-12',1: '12 columns'},
- 13: {0: 'hidden-md',1: 'hidden'}
- }" maxItems="1" />
- <flux:field.select name="col-md-offset" label="Col Offset (Big Desktop):" items="{
- 0: {0: '',1: 'none'},
- 1: {0: 'col-md-offset-1',1: '1 column'},
- 2: {0: 'col-md-offset-2',1: '2 columns'},
- 3: {0: 'col-md-offset-3',1: '3 columns'},
- 4: {0: 'col-md-offset-4',1: '4 columns'},
- 5: {0: 'col-md-offset-5',1: '5 columns'},
- 6: {0: 'col-md-offset-6',1: '6 columns'},
- 7: {0: 'col-md-offset-7',1: '7 columns'},
- 8: {0: 'col-md-offset-8',1: '8 columns'},
- 9: {0: 'col-md-offset-9',1: '9 columns'},
- 10: {0: 'col-md-offset-10',1: '10 columns'},
- 11: {0: 'col-md-offset-11',1: '11 columns'},
- 12: {0: 'col-md-offset-12',1: '12 columns'}
- }" maxItems="1" />
- <flux:field.select name="content-type" label="Content Type:" items="{
- 0: {0: '', 1: 'none'},
- 1: {0: 'stage-img', 1: 'Image (right)'},
- 2: {0: 'stage-img stage-img-left', 1: 'Image (left)'},
- 3: {0: 'stage-content', 1: 'Content'},
- 4: {0: 'stage-img accordion-images', 1: 'Accordion Images (right)'},
- 5: {0: 'stage-img stage-img-left accordion-images', 1: 'Accordion Images (left)'}
- }" maxItems="1" />
- </flux:form.object>
- </flux:form.section>
- </flux:form.object>
- </flux:form.section>
- </flux:form.sheet>
- <flux:grid>
- <f:for each="{rows}" as="row" iteration="row-it">
- <flux:grid.row>
- <f:for each="{row.row.cols}" as="col" iteration="col-it">
- <flux:grid.column>
- <flux:form.content name="content.{row-it.index}.{col-it.index}" label="{f:if(condition: col.col.title, then: col.col.title, else: 'Content, Col #{col-it.cycle}')}" />
- </flux:grid.column>
- </f:for>
- </flux:grid.row>
- </f:for>
- </flux:grid>
- </flux:form>
- </f:section>
- <f:section name="Preview">
- <flux:widget.grid />
- </f:section>
- <f:section name="Main">
- <div{f:if(condition: '{properties.id} != ""', then: ' id="{properties.id}"')} class="stage {properties.size} {properties.background}{f:if(condition: '{properties.showcase}', then: ' stage-showcase')}{f:if(condition: '{properties.inverted}', then: ' stage-inverted')}{f:if(condition: '{properties.ovh}', then: ' ovh')}{f:if(condition: '{properties.class} != ""', then: ' {properties.class}')}"{f:if(condition: '{properties.background-image} != ""', then: ' style="background-image: url(uploads/tx_acutronic/{properties.background-image});"')}{f:if(condition: '{properties.affix} != ""', then: ' data-affixlabel="{properties.affix}"')}>
- <div class="container">
- <f:for each="{rows}" as="row" iteration="row-it">
- <div{f:if(condition: '{row.row.id} != ""', then: ' id="{row.row.id}"')} class="row{f:if(condition: '{row.row.class} != ""', then: ' {row.row.class}')}">
- <f:for each="{row.row.cols}" as="col" iteration="col-it">
- <div class="{col.col.col-xs} {col.col.col-sm} {col.col.col-sm-offset} {col.col.col-md} {col.col.col-md-offset} {col.col.content-type} {f:if(condition: '{col.col.class} != ""', then: '{col.col.class}')}">
- <flux:content.render area="content.{row-it.index}.{col-it.index}" />
- </div>
- </f:for>
- </div>
- <div class="clearfix"></div>
- </f:for>
- </div>
- </div>
- </f:section>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement