Lazydays templates
[torrus-plus.git] / src / templates / lazydays / default-login.html
blob47dc61070f24ad433dbce5e4a943163e83def03c
1 [% PROCESS 'html-incblocks.txt' %]
2 [% INCLUDE htmlstart
3 title="Torrus Login: " _ companyName
4 contentClass="SingleColumnContent"
5 noTopMenu=1 %]
7 [% IF authFailed %]
8 <P>Incorrect username or password.</P>
9 [% END %]
11 <P>Please authenticate yourself</P>
13 <FORM CLASS="LoginForm" METHOD="POST" ACTION="[%url%]">
14 [% IF urlPassParams.token.defined AND urlPassParams.token.length > 0 %]
15 <INPUT TYPE="HIDDEN" NAME="token" VALUE="[%urlPassParams.token%]"/>
16 [% ELSE;
17 IF urlPassParams.path.defined AND urlPassParams.path.length > 0 %]
18 <INPUT TYPE="HIDDEN" NAME="path" VALUE="[%urlPassParams.path%]"/>
19 [% ELSE;
20 IF urlPassParams.nodeid.defined AND urlPassParams.nodeid.length > 0 %]
21 <INPUT TYPE="HIDDEN" NAME="nodeid" VALUE="[%urlPassParams.nodeid%]"/>
22 [% END;
23 END;
24 END %]
25 [% IF urlPassParams.view.defined AND urlPassParams.view.length > 0 %]
26 <INPUT TYPE="HIDDEN" NAME="view" VALUE="[% urlPassParams.view %]"/>
27 [% END %]
28 <DIV CLASS="LoginRow">
29 <SPAN CLASS="LoginTitle">Username:</SPAN>
30 <SPAN CLASS="LoginInput">
31 <INPUT CLASS="Username" TYPE="TEXT" NAME="uid"/>
32 </SPAN>
33 </DIV>
34 <DIV CLASS="LoginRow">
35 <SPAN CLASS="LoginTitle">Password:</SPAN>
36 <SPAN CLASS="LoginInput">
37 <INPUT CLASS="Password" TYPE="PASSWORD" NAME="password"/>
38 </SPAN>
39 </DIV>
40 <DIV CLASS="LoginRow">
41 <SPAN CLASS="LoginTitle">
42 &nbsp;
43 </SPAN>
44 <SPAN CLASS="LoginInput">
45 <INPUT CLASS="Remember" TYPE="CHECKBOX" NAME="remember"/>
46 remember me
47 </SPAN>
48 </DIV>
49 <DIV CLASS="LoginRow">
50 <INPUT CLASS="Submit" TYPE="SUBMIT" VALUE="Login"/>
51 </DIV>
52 </FORM>
53 [% IF lostPasswordURL %]
54 <DIV CLASS="LoginRow">
55 <A HREF="[% lostPasswordURL %]">Lost password?</A>
56 </DIV>
57 [% END %]
59 [% INCLUDE htmlend %]