added some confirmation alerts
[Evergreen.git] / Open-ILS / web / opac / skin / default / xml / myopac / myopac_bookbags.xml
1
2 <div id='myopac_bookbag_div' class='hide_me' xmlns:xi="http://www.w3.org/2001/XInclude" >
3
4         <script language='javascript' src='../js/container.js'> </script>
5
6         <div id='myopac_delete_bookbag_warn' class='hide_me'>
7                 This will remove the selected bookbag and all items contained within the bookbag.  
8                 Are you sure you wish to continue?
9         </div>
10
11         <br/>
12
13         <div style='text-align: center; font-weight: bold;' 
14                 class='hide_me' id='myopac_bookbags_none'>You have not created any bookbags</div>
15
16         <div style='width: 99%; text-align: center'> <b>My Bookbags</b></div>
17         <br/>
18         <table width='100%' class='data_grid data_grid_center hide_me' id='myopac_bookbag_table'>
19                 <thead>
20                         <tr><td>Name</td><td># Items</td><td>Published</td><td>Delete this bookbag?</td></tr>
21                 </thead>
22                 <tbody id='myopac_bookbag_tbody'>
23                         <tr id='myopac_bookbag_tr'>
24                                 <td>
25                                         <a href='javascript:void(0);' class='classic_link' name='myopac_expand_bookbag'> </a>
26                                 </td>
27                                 <td><span name='myopac_bookbag_item_count'> </span> <span> Items</span></td>
28                                 <td>
29                                         <span name='myopac_bb_published_no' class='hide_me'>No</span>
30                                         <span name='myopac_bb_published_yes' class='hide_me'>Yes</span>
31                                         <a name='myopac_bb_published_view' class='classic_link hide_me'>(View)</a>
32                                 </td>
33                                 <td>
34                                         <a class='classic_link' href='javascript:void(0);' name='myopac_container_delete'>Delete</a>
35                                 </td>
36                         </tr>
37                 </tbody>
38         </table>
39
40         <br/><br/>
41
42         <table width='100%' class='data_grid data_grid_center'>
43                 <thead>
44                         <tr><td>Create a new Bookbag</td></tr>
45                 </thead>
46                 <tbody>
47                         <tr>
48                                 <td> 
49                                         <span style='padding-right: 5px;'>Enter the name of the new Bookbag: </span>
50                                         <input id='myopac_bookbag_new_name' type='text'> </input> 
51                                 </td>
52                         </tr>
53                         <tr>
54                                 <td>
55                                         <span style='padding: 5px;'>Publish this Bookbag</span>
56                                         <a class='classic_link' href='javascript:alert($("bb_publish_text").innerHTML);'>(<b>??</b>)</a>
57                                         <span>Yes</span> <input type='radio' name='bb_public' id='bb_public_yes'/>
58                                         <span>No</span> <input type='radio' name='bb_public' id='bb_public_no' checked='checked'/>
59                                         <input style='padding-left: 10px;' onclick='myOPACCreateBookbag();' 
60                                                 type='submit' value='&common.submit;'> </input>
61                                 </td>
62                         </tr>
63                 </tbody>
64         </table>
65
66         <br/><br/>
67
68         <!--
69         <div style='overflow: auto; max-height: 200px;' class='hide_me'>
70         -->
71         <div style='width: 99%; text-align: center'> <b id='myopac_bookbag_items_name'> </b></div>
72         <br/>
73
74         <div class='hide_me' style='width: 100%; text-align: center; font-weight: 700; margin-top: 10px;'
75                 id='myopac_bookbag_no_items'>The selected bookbag contains no items...</div>
76
77         <table width='100%' class='hide_me data_grid data_grid_center' id='myopac_bookbag_items_table'>
78                 <thead> 
79                         <tr> <td>Title</td> <td>Authors</td> <td>Remove this item?</td> </tr> 
80                 </thead>
81                 <tbody id='myopac_bookbag_items_tbody'>
82                         <tr id='myopac_bookbag_items_row'>
83                                 <td> <a name='myopac_bookbag_items_title' class='classic_link'> </a> </td>
84                                 <td> <a name='myopac_bookbag_items_author' class='classic_link'> </a> </td>
85                                 <td><a name='myopac_bookbag_items_remove' class='classic_link'>remove</a></td>  
86                         </tr>
87                 </tbody>
88         </table>
89         <!--</div>-->
90
91         <span id='bb_publish_text' class='hide_me'>
92                 Publishing a Bookbag means that the contents of the Bookbag will be visible to others.  
93                 To see the public view of a published Bookbag, click the "View" link in the 
94                 "Published" column of the Bookbag list at the top of this page.
95         </span>
96
97         <span id='myopac_remove_bb_item_confirm' class='hide_me'>
98                 Are you sure you wish to remove this bookbag item?
99         </span>
100
101 </div>
102
103