]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/src/templates/opac/pages/login.ttk
4de084e31d44f616cb559aaabffe64e3e62f606d
[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                         ';
17
18                         # here, this just provides the color backdrop for the search bar
19                         INCLUDE opac/pages/chunks/body_header.ttk;
20
21                         lines(3);
22
23                         WRAPPER html/center;
24
25                                 WRAPPER html/table width='100%';
26
27
28                                         WRAPPER html/row;
29                                                 cell(width='42%', align='right', content = tm.username);
30                                                 cell(width='3%');
31                                                 cell(width='55%', align='left',
32                                                                 content = input( type='textarea', id='login_username', name='username', size='16' ));
33                                         END;
34
35                                         row(content = cell(colspan='3', content = lines(2)));
36
37                                         WRAPPER html/row;
38                                                 cell(width='42%', align='right', content = tm.password);
39                                                 cell( width='3%');
40                                                 cell(width='55%', align='left',
41                                                                 content = input( type='password', id='login_password', name='password', size='16' ));
42                                         END;
43                                 END;
44
45                                 lines(1);
46
47                                 WRAPPER html/table id='login_result' width='100%';
48                                         WRAPPER html/row;
49                                                 WRAPPER html/cell align='center';
50                                                         input( type='submit', id='login_button', value=tm.login ); # xxx Login
51                                                 END;
52                                         
53                                         row(content = cell(content = lines(2)));
54                                         row(content = cell( width='100%', align='center', id = 'login_result_text'));
55
56                                         END;
57
58                                 END; # - table
59                         END; # - center
60                 END; # - body
61         END; # - html
62
63 %]
64
65
66
67
68