[BUGFIX] Avoid exception of renderType selectCheckBox in workspace
[Packages/TYPO3.CMS.git] / typo3 / sysext / viewpage / Resources / Private / Templates / ViewModule / Show.html
1 <f:layout name="DocHeader" />
2 <f:section name="Content">
3
4 <div class="viewpage-item">
5 <div class="viewpage-topbar t3js-viewpage-topbar">
6 <div class="viewpage-topbar-orientation t3js-viewpage-topbar-orientation">
7 <a href="#" class="t3js-change-orientation">
8 {icons.orientation -> f:format.raw()}
9 </a>
10 </div>
11 <div class="viewpage-topbar-preset">
12 <span class="dropdown">
13 <button class="dropdown-toggle" type="button" id="viewpage-topbar-preset-button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
14 <span class="t3js-viewpage-current-label">
15 {current.label}
16 </span>
17 <span class="caret"></span>
18 </button>
19 <ul class="dropdown-menu" aria-labelledby="viewpage-topbar-preset-button">
20 <li role="separator" class="divider"></li>
21 <li>
22 <a href="#" class="t3js-preset-maximized t3js-change-preset" data-key="maximized" data-label="{f:translate(key: 'maximized')}" data-width data-height>
23 <span class="viewpage-preset-item">
24 <span class="viewpage-preset-item-icon">{icons.fullscreen -> f:format.raw()}</span>
25 <span class="viewpage-preset-item-label">
26 {f:translate(key: 'maximized')}
27 </span>
28 <span class="viewpage-preset-item-size">
29 100%/100%
30 </span>
31 </span>
32 </a>
33 </li>
34 <li>
35 <a href="#" class="t3js-preset-custom t3js-change-preset" data-key="custom" data-label="{f:translate(key: 'custom')}" data-width="{custom.width}" data-height="{custom.height}">
36 <span class="viewpage-preset-item">
37 <span class="viewpage-preset-item-icon">{icons.expand -> f:format.raw()}</span>
38 <span class="viewpage-preset-item-label t3js-preset-custom-label">
39 {f:translate(key: 'custom')}
40 </span>
41 <span class="viewpage-preset-item-size">
42 <span class="t3js-preset-custom-width">{custom.width}</span>px/<span class="t3js-preset-custom-height">{custom.height}</span>px
43 </span>
44 </span>
45 </a>
46 </li>
47
48 <f:for each="{presetGroups}" as="presetGroup" iteration="presetGroupIteration">
49 <f:if condition="{presetGroup}">
50 <li role="separator" class="divider"></li>
51 <f:for each="{presetGroup}" as="preset">
52 <li>
53 <a href="#" class="t3js-change-preset" data-key="{preset.key}" data-label="{preset.label}" data-width="{preset.width}" data-height="{preset.height}">
54 <span class="viewpage-preset-item">
55 <span class="viewpage-preset-item-icon">{icons.{preset.type} -> f:format.raw()}</span>
56 <span class="viewpage-preset-item-label">{preset.label}</span>
57 <span class="viewpage-preset-item-size">
58 {f:if(condition: preset.width, then: '{preset.width}px', else: '100%')}/{f:if(condition: preset.height, then: '{preset.height}px', else: '100%')}
59 </span>
60 </span>
61 </a>
62 </li>
63 </f:for>
64 </f:if>
65 </f:for>
66 </ul>
67 </span>
68 </div>
69 <div class="viewpage-topbar-size">
70 <input class="t3js-viewpage-input-width" type="number" name="width" min="300" max="9999" value="{current.width}">
71 x
72 <input class="t3js-viewpage-input-height" type="number" name="height" min="300" max="9999" value="{current.height}">
73 </div>
74 </div>
75 <div class="viewpage-resizeable t3js-viewpage-resizeable" style="width:{current.width}px;height:{current.height}px;">
76 <iframe src="{url}" width="100%" height="100%" id="tx_viewpage_iframe" frameborder="0" border="0"></iframe>
77 </div>
78 </div>
79
80 </f:section>