[FEATURE] Responsive website preview
[Packages/TYPO3.CMS.git] / typo3 / sysext / viewpage / Resources / Private / Layouts / DocHeader.html
1 <f:be.container
2 loadJQuery="TRUE"
3 includeJsFiles="{
4 0:'{f:uri.resource(path:\'JavaScript/common.js\')}'
5 }"
6 >
7 <div class="typo3-fullDoc">
8 <div id="typo3-docheader">
9 <div class="typo3-docheader-functions">
10 <form>
11 <label for="width">
12 <f:translate key="width" />
13 </label>
14 <f:form.select options="{widths}" id="width" name="width" />
15 </form>
16 </div>
17 <div class="typo3-docheader-buttons">
18 <div class="left">
19 <f:comment>
20 Uri was added by javascript window.open and not a simple <a href>
21 because f:be.buttons.icon does not support the target parameter.
22 </f:comment>
23 <f:be.buttons.icon uri="javascript:window.open('{url}', '');" icon="actions-document-view" />
24 </div>
25 <div class="right">
26 <f:be.buttons.icon uri="javascript:document.getElementById('tx_viewpage_iframe').contentWindow.location.reload(true);" icon="actions-system-refresh" />
27 <f:be.buttons.shortcut />
28 </div>
29 </div>
30 </div>
31
32 <div id="typo3-docbody">
33 <div id="typo3-inner-docbody" style="height: 100%;">
34 <f:render section="Content" />
35 </div>
36 </div>
37 </div>
38 </f:be.container>