]> git.evergreen-ils.org Git - Evergreen.git/blob - Open-ILS/web/opac/skin/default/xml/altcanvas.xml
adding basic preference grabbing and updating example for myopac,
[Evergreen.git] / Open-ILS / web / opac / skin / default / xml / altcanvas.xml
1 <?xml version='1.0'?>
2
3 <!-- These are the UI components that may be needed on any given page.  The must be
4         set to class += 'hide_me' by default -->
5
6 <div id='not_the_canvas' xmlns:xi="http://www.w3.org/2001/XInclude">
7
8         <!-- the login page -->
9         <xi:include href="login.xml"/> 
10
11         <!-- The org tree -->
12         <xi:include href="orgtree.xml"/> 
13
14         <!-- ============================================================================= -->
15         <!-- Register the alternate canvases  -->
16         <script language='javascript'>
17                 config.ids.altcanvas.login                      = config.ids.login.box;
18                 config.ids.altcanvas.org_tree           = config.ids.common.org_container;
19                 config.ids.altcanvas.holds                      = 'holds_box';
20                 config.ids.altcanvas.loading            = 'loading_alt';
21         </script>
22
23         <xi:include href='holds.xml'/>
24
25         <div id='loading_alt' class='hide_me non_canvas' style='margin-top: 6px;'>
26                 <div style='margin-top: 30px; text-align: left; font-weight: 700;' class='color_3'>
27                         <span > Loading </span>
28                         <span id='loading_alt_span'> </span>
29                         <script language='javascript'>
30                                 var __id;
31                                 var __count = 300;
32                                 var __dot;
33                                 var __idx = 0;
34                                 var __slashes = [ '-', '\\\\', '|', '/' ];
35                                 function __loading() { 
36                                         if( __count-- == 0 ) return;
37                                         __dot = __slashes[__idx++];
38                                         if(__idx == 4) __idx = 0;
39                                         __id = setTimeout(
40                                                 "appendClear($('loading_alt_span'), text('"+__dot+"'));__loading();", 100);
41                                 }
42                                 __loading();
43                                 function __killPinwheel(){ __count = 0; }
44                         </script>
45                 </div>
46         </div>
47
48 </div>