[FEATURE] Load new content element wizard via modal instead of new page
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / NewContentElement / MenuItem.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2 <div class="media media-new-content-element-wizard">
3 <f:if condition="{onClickEvent}">
4 <f:then>
5 <f:if condition="{content}">
6 <a href="#" onclick="{aOnClick -> f:format.htmlspecialchars()}" data-dismiss="modal">
7 {content -> f:format.raw()}
8 </a>
9 </f:if>
10 <div class="media-left">
11 <a href="#" onclick="{aOnClick -> f:format.htmlspecialchars()}" data-dismiss="modal">
12 {icon -> f:format.raw()}
13 </a>
14 </div>
15 <div class="media-body">
16 <a href="#" onclick="{aOnClick -> f:format.htmlspecialchars()}" data-dismiss="modal">
17 <strong>{wizardInformation.title -> f:format.htmlspecialchars()}</strong>
18 <br />
19 {wizardInformation.description -> f:format.nl2br() -> f:format.htmlspecialchars()}
20 </a>
21 </div>
22 </f:then>
23 <f:else>
24 <input type="radio" class="hide" name="tempB" value="{wizardKey -> f:format.htmlspecialchars()}" onclick="{wizardOnClick -> f:format.htmlspecialchars()}"/>
25 <f:if condition="{content}">
26 <a href="#new-content-element-wizard-carousel" onclick="{aOnClick -> f:format.htmlspecialchars()}" data-slide="next">
27 {content -> f:format.raw()}
28 </a>
29 </f:if>
30 <div class="media-left">
31 <a href="#new-content-element-wizard-carousel" onclick="{aOnClick -> f:format.htmlspecialchars()}" data-slide="next">
32 {icon -> f:format.raw()}
33 </a>
34 </div>
35 <div class="media-body">
36 <a href="#new-content-element-wizard-carousel" onclick="{aOnClick -> f:format.htmlspecialchars()}" data-slide="next">
37 <strong>{wizardInformation.title -> f:format.htmlspecialchars()}</strong>
38 <br />
39 {wizardInformation.description -> f:format.nl2br() -> f:format.htmlspecialchars()}
40 </a>
41 </div>
42 </f:else>
43 </f:if>
44 </div>
45 </html>