2510337f3b6a67daa25e35a464d63f0413fc1636
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Resources / Private / Templates / Login.html
1
2 <div id="t3-login-wrap">
3 <div class="t3-login-header">
4 <f:format.raw>{logo}</f:format.raw>
5 </div>
6
7 <div class="t3-login-body">
8 <f:render section="{formType}" arguments="{_all}" />
9
10 <div class="t3-login-footer">
11 <div id="t3-login-form-footer-default">
12 <f:if condition="{isOpenIdLoaded}">
13 <a id="t3-login-switchToOpenId" class="switchToOpenId text-muted">
14 <i class="fa fa-openid"></i><f:translate key="{labelPrefixPath}labels.switchToOpenId" />
15 </a>
16 </f:if>
17 </div>
18 <f:if condition="{isOpenIdLoaded}">
19 <div id="t3-login-form-footer-openId" style="display: none;">
20 <a id="t3-login-switchToDefault" class="switchToOpenId">
21 <i class="fa fa-key"></i><f:translate key="{labelPrefixPath}labels.switchToDefault" />
22 </a>
23 </div>
24 </f:if>
25 </div>
26 </div>
27 <f:render section="loginNews" arguments="{_all}" />
28 </div>
29 <div id="t3-login-copyright">
30 <f:format.raw>{copyright}</f:format.raw>
31 <a href="http://typo3.org" target="_blank" class="t3-login-link-typo3">TYPO3.org</a>,
32 <strong><a href="http://typo3.org/donate/" target="_blank" class="t3-login-link-donate"><f:translate key="{labelPrefixPath}labels.donate" /></a></strong>
33 </div>
34
35
36
37 <f:section name="loginForm">
38 <f:format.raw>{formTag}</f:format.raw>
39 <f:if condition="{hasLoginError}">
40 <div id="t3-login-error" class="alert alert-danger">
41 <strong><f:translate key="{labelPrefixPath}error.login.title" /></strong>
42 <p><f:translate key="{labelPrefixPath}error.login.description" /></p>
43 </div>
44 </f:if>
45
46 <noscript>
47 <div id="t3-noscript-error" class="t3-login-alert t3-login-alert-error">
48 <h4><f:translate key="{labelPrefixPath}error.javascript" /></h4>
49 </div>
50 </noscript>
51
52 <div id="t3-nocookies-error" class="t3-login-alert alert alert-warning" style="display:none;">
53 <h4><f:translate key="{labelPrefixPath}error.cookies" /></h4>
54 </div>
55
56 <div class="form-group" id="t3-login-username-section">
57 <input type="text" id="t3-username" name="username" value="{presetUsername}" placeholder="{f:translate(key: '{labelPrefixPath}labels.username')}" class="form-control t3-username" autofocus="autofocus" required="required">
58
59 <div class="t3-login-alert-capslock" id="t3-username-alert-capslock" style="display: none;">
60 <img src="sysext/t3skin/icons/login_capslock.gif" alt="{f:translate(key: '{labelPrefixPath}error.capslock')}" title="{f:translate(key: '{labelPrefixPath}error.capslock')}" />
61 </div>
62 </div>
63
64 <div class="form-group" id="t3-login-password-section">
65 <input type="password" id="t3-password" name="p_field" value="{presetPassword}" placeholder="{f:translate(key: '{labelPrefixPath}labels.password')}" class="form-control t3-password" required="required">
66
67 <div class="t3-login-alert-capslock" id="t3-password-alert-capslock" style="display: none;">
68 <img src="sysext/t3skin/icons/login_capslock.gif" alt="{f:translate(key: '{labelPrefixPath}error.capslock')}" title="{f:translate(key: '{labelPrefixPath}error.capslock')}" />
69 </div>
70 </div>
71
72 <f:if condition="{isOpenIdLoaded}">
73 <div class="form-group" id="t3-login-openid_url-section" style="display: none;">
74 <div class="input-group">
75 <input type="text" id="openid_url" name="openid_url" value="{presetOpenId}" placeholder="{f:translate(key: '{labelPrefixPath}labels.openId')}" class="form-control t3-openidurl" />
76
77 <div class="input-group-addon">
78 <span class="fa fa-openid"></span>
79 </div>
80 </div>
81 </div>
82 </f:if>
83
84 <f:if condition="{interfaceSelector}">
85 <div class="form-group">
86 <div class="t3-login-interface" id="t3-login-interface-section">
87 <f:format.raw>{interfaceSelector}</f:format.raw>
88 </div>
89 </div>
90 </f:if>
91
92 <div class="form-group">
93 <input class="btn btn-block" type="submit" name="commandLI" value="{f:translate(key: '{labelPrefixPath}labels.submitLogin')}" id="t3-login-submit" />
94 <div id="t3-login-process" style="display: none;">
95 <i class="fa fa-spin fa-spinner"></i>
96 <f:translate key="{labelPrefixPath}login_process" />
97 </div>
98 </div>
99 </form>
100 </f:section>
101
102
103
104 <f:section name="logoutForm">
105 <form action="index.php" method="post" name="loginform">
106 <input type="hidden" name="login_status" value="logout" />
107 <div class="t3-login-box-body">
108 <div class="t3-login-logout-form">
109 <div class="t3-login-username">
110 <div class="t3-login-label t3-username">
111 <f:translate key="{labelPrefixPath}labels.username" />
112 </div>
113 <div class="t3-username-current">
114 {backendUser.username}
115 </div>
116 </div>
117 <f:if condition="{showInterfaceSelector}">
118 <div class="t3-login-interface">
119 <div class="t3-login-label t3-interface-selector">
120 <f:translate key="{labelPrefixPath}labels.interface" />
121 </div>
122 <f:format.raw>{interfaceSelectorJump}</f:format.raw>
123 </div>
124 </f:if>
125 <input type="hidden" name="p_field" value="" />
126 <input class="btn btn-block" type="submit" name="commandLO" value="{f:translate(key: '{labelPrefixPath}labels.submitLogin')}" id="t3-login-submit" />
127 </div>
128 </div>
129 </form>
130 </f:section>
131
132
133
134 <f:section name="loginNews">
135 <f:if condition="{loginNewsItems}">
136 <div id="t3-login-news">
137 <div class="t3-login-box-body">
138 <dl>
139 <f:for each="{loginNewsItems}" as="item">
140 <dt>
141 <span class="t3-news-date">{item.date}</span><br>
142 {item.header}
143 </dt>
144 <dd><f:format.html>{item.content}</f:format.html></dd>
145 </f:for>
146 </dl>
147 </div>
148 </div>
149 </f:if>
150 </f:section>