adding
[Evergreen.git] / Open-ILS / web / opac / skin / default / js / config.js
1 /* ---------------------------------------------------------------------------- */
2 /* Set up ID's, CSS, etc. */
3 /* ---------------------------------------------------------------------------- */
4 config.ids.common.top_logo                      = "top_left_logo";
5
6 config.css.color_1 = "color_1";
7 config.css.color_2 = "color_2";
8 config.css.color_3 = "color_3";
9
10 /* result */
11 config.ids.result = {};
12 config.css.result = {};
13 config.names.result = {};
14 config.ids.result.offset_start  = "offset_start";
15 config.ids.result.offset_end            = "offset_end";
16 config.ids.result.result_count  = "result_count";
17 config.ids.result.next_link             = 'next_link';
18 config.ids.result.prev_link             = 'prev_link';
19 config.ids.result.home_link             = 'search_home_link';
20 config.ids.result.end_link                      = 'end_link';
21 config.ids.result.main_table            = 'result_table';
22 config.ids.result.row_template  = 'result_table_template';
23 config.ids.result.num_pages             = 'num_pages';
24 config.ids.result.current_page  = 'current_page';
25 config.css.result.nav_active            = "nav_link_active";
26 config.ids.result.top_div                       = "result_table_div";
27 config.ids.result.nav_links             = "search_nav_links";
28 config.ids.result.info                          = "result_info_div";
29 config.css.result.cc_cell_even  = "copy_count_cell_even";
30
31 config.names.result.item_jacket = "item_jacket";
32 config.names.result.item_title  = "item_title";
33 config.names.result.item_author = "item_author";
34 config.names.result.counts_row  = "counts_row";
35 config.names.result.count_cell  = "copy_count_cell";
36
37 /* login page */
38 config.ids.login = {};
39 config.css.login = {};
40 config.ids.login.box                    = "login_box";
41 config.ids.login.username       = "login_username";
42 config.ids.login.password       = "login_password";
43 config.ids.login.button         = "login_button";
44 config.ids.login.cancel         = "login_cancel_button";
45
46
47 /* searchbar ids and css */
48 config.ids.searchbar = {};
49 config.css.searchbar = {};
50 config.ids.searchbar.text                               = 'search_box'; 
51 config.ids.searchbar.submit                     = 'search_submit';      
52 config.ids.searchbar.type_selector      = 'search_type_selector';
53 config.ids.searchbar.depth_selector     = 'depth_selector';
54 config.ids.searchbar.form_selector      = 'form_selector';
55 config.ids.searchbar.extra_row          = 'searchbar_extra';
56 config.ids.searchbar.main_row                   = 'searchbar_main_row';
57 config.ids.searchbar.table                              = 'searchbar_table';
58 config.ids.searchbar.tag                                = 'search_tag_link';
59 config.ids.searchbar.tag_on                     = 'searchbar_tag_on';
60 config.ids.searchbar.tag_off                    = 'searchbar_tag_off';
61 config.ids.searchbar.location_tag       = 'search_location_tag_link';
62
63
64 /*  sidebar */
65 config.ids.sidebar = {};
66 config.css.sidebar = {};
67 config.names.sidebar = {};
68 config.css.sidebar.item = {};
69 config.ids.sidebar.home                         = 'home_link_div';
70 config.ids.sidebar.advanced             = 'advanced_link_div';
71 config.ids.sidebar.myopac                       = 'myopac_link_div';
72 config.ids.sidebar.prefs                        = 'prefs_link_div';
73 config.ids.sidebar.mresult                      = 'mresult_link_div';
74 config.ids.sidebar.rresult                      = 'result_link_div';
75 config.ids.sidebar.login                        = 'login_link';
76 config.ids.sidebar.logout                       = 'logout_link';
77 config.ids.sidebar.logoutbox            = 'logout_link_div';
78 config.ids.sidebar.loginbox             = 'login_link_div';
79 config.ids.sidebar.logged_in_as = 'logged_in_as_div';
80 config.ids.sidebar.username_dest        = 'username_dest';
81 config.ids.sidebar.subject                      = 'subject_sidebar';
82 config.ids.sidebar.subject_item = 'subject_item';
83 config.ids.sidebar.author                       = 'author_sidebar';
84 config.ids.sidebar.author_item  = 'author_item';
85 config.ids.sidebar.series                       = 'series_sidebar';
86 config.ids.sidebar.series_item  = 'series_item';
87
88 config.ids.sidebar.home_link            = 'home_link'
89 config.ids.sidebar.advanced_link        = 'advanced_link'
90 config.ids.sidebar.myopac_link  = 'myopac_link'
91
92 config.names.sidebar.subject_item       = 'subject_item';
93 config.names.sidebar.author_item        = 'author_item';
94 config.names.sidebar.series_item        = 'series_item';
95
96
97 /* ---------------------------------------------------------------------------- */
98 /* These are pages that may replace the canvas */
99 /* ---------------------------------------------------------------------------- */
100 config.ids.altcanvas.login              = config.ids.login.box;
101 config.ids.altcanvas.org_tree    = config.ids.common.org_container;
102
103
104
105