]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/pages/login.ttk
our little opac is growing up
[Evergreen.git] / Open-ILS / src / templates / opac / pages / login.ttk
1
2 [%
3         tm = global.textmap.opac.login;
4
5         WRAPPER html/html;
6
7                 WRAPPER html/head title=tm.basic_search.page_title;
8                         INCLUDE opac/pages/chunks/css_includes.ttk;
9                 END;
10
11                 WRAPPER html/body onload='
12                         pageInit();
13                         globalPage.session.exp_days = "' _ global.config.session_timeout _ '";
14                         globalPage.login_success_msg = "<b>' _ tm.success _ '</b>";
15                         globalPage.login_failure_msg = "<b>' _ tm.failure _ '</b>";
16                         document.getElementById("login_username").focus();
17                         ';
18
19                         # here, this just provides the color backdrop for the search bar
20                         INCLUDE opac/pages/chunks/body_header.ttk hide_hits_per='1';
21
22                         lines(3);
23
24                         WRAPPER html/center;
25
26                                 WRAPPER html/table width='100%';
27
28
29                                         WRAPPER html/row;
30                                                 cell(width='42%', align='right', content = "Username");
31                                                 cell(width='3%');
32                                                 cell(width='55%', align='left',
33                                                                 content = input( type='textarea', id='login_username', name='username', size='16' ));
34                                         END;
35
36                                         row(content = cell(colspan='3', content = lines(2)));
37
38                                         WRAPPER html/row;
39                                                 cell(width='42%', align='right', content = "Password");
40                                                 cell( width='3%');
41                                                 cell(width='55%', align='left',
42                                                                 content = input( type='password', id='login_password', name='password', size='16' ));
43                                         END;
44                                 END;
45
46                                 lines(1);
47
48                                 WRAPPER html/table id='login_result' width='100%';
49                                         WRAPPER html/row;
50                                                 WRAPPER html/cell align='center';
51                                                         input( type='submit', id='login_button', value=tm.login ); # xxx Login
52                                                 END;
53                                         
54                                         row(content = cell(content = lines(2)));
55                                         row(content = cell( width='100%', align='center', id = 'login_result_text'));
56
57                                         END;
58
59                                 END; # - table
60                         END; # - center
61
62                         %]
63
64
65                         <!--
66                         <table border=0 cellspacing=5 cellpadding=0>
67                         <tr><td>
68                         <iframe src="http://www.siteprocentral.com/cgi-bin/feed/feedload.cgi?id=feed" width="762" height="406" frameborder="0" scrolling="no"></iframe>
69                         </td></tr>
70                         <tr>
71                         <td align=center style="font: 10px Arial, Helvetica, sans-serif">
72                         <hr width="760" size="1" noshade>
73                         Place this <a href="http://www.siteprocentral.com/html_color_code.html">HTML Color Code</a> tool on your website free. | Professional <a href="http://www.turnkey-websites-opportunity.com"> Turnkey Websites</a>
74                         </td></tr></table>
75                         -->
76         
77                         [%
78
79
80
81                 END; # - body
82         END; # - html
83
84 %]
85
86
87
88
89