]> git.evergreen-ils.org Git - working/Evergreen.git/blob - Open-ILS/web/templates/default/opac/myopac/lists.tt2
ctx.media_prefix for all images and css
[working/Evergreen.git] / Open-ILS / web / templates / default / opac / myopac / lists.tt2
1 [%  WRAPPER "default/opac/parts/base.tt2" +
2         "default/opac/parts/myopac/base.tt2";
3     myopac_page = "lists"  %]
4 <div
5     style="margin-top: 6px;margin-left:20px;width:250px;padding:5px;"
6     id="mylist_div">
7     <div style="padding-bottom: 7px;">
8         <h2 style="font-weight:normal;">Create new list</h2>
9         Enter the name of the new list:<br />
10         <input type="text" id="mylist_new" />
11     </div>
12     <table cellpadding="0" cellspacing="10" border="0">
13         <tr>
14             <td>
15                 Share this list?
16                 <a href="#"><img
17                     alt="Sharing Help"
18                     src="[% ctx.media_prefix %]/images/question-mark.png" /></a>
19             </td>
20             <td>
21                 <input type="radio" value="0" name="shareList"
22                     id="shareListNo" checked="checked" />
23                 <label for="shareListNo">No</label>
24                 <br />
25                 <input type="radio" value="1" name="shareList"
26                     id="shareListYes" />
27                     <label for="shareListYes">Yes</label>
28             </td>
29         </tr>
30     </table>
31     <a href="#"><img
32         alt="Submit" src="[% ctx.media_prefix %]/images/btnSubmit.png" /></a>
33     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
34     <a href="#"><img
35         alt="Cancel" src="[% ctx.media_prefix %]/images/btnCancel.png" /></a>
36 </div>
37 <div id='myopac_bookbag_div' style="padding:5px;">
38     <div class="header_middle">
39         <span id="acct_holds_header" style="float:left;">My Lists</span>
40         <span style="float:right;">
41             <a class="hide_me" href="#">Export List</a>
42         </span>
43     </div>
44     <div style="float:right;width:85px;">
45         <div style="position:absolute">
46             <div style="position:relative;top:13px;">
47                 <a href="#"
48                     style="position:relative;top:-3px;left:-5px;"><img
49                     alt="Saving Help"
50                     src="[% ctx.media_prefix %]/images/question-mark.png" /></a>
51                 <a id='acct_lists_save' href="#"><img alt="Save"
52                     src="[% ctx.media_prefix %]/images/save-btn.png" /></a>
53             </div>
54         </div>
55     </div>
56     <div class="clear-both pad-top-ten">
57         <a href="#">+ Add new list</a>
58     </div>
59     <div id="temp_wrapper">
60         <div id='acct_list_template2' class="hide_me">
61             <div style="width:100%">
62                 <table cellpadding="0" cellspacing="0" border="0">
63                     <tr>
64                         <td style="font-weight:bold;padding-right:10px;" id='anon_list_name'>
65                             Temporary List
66                         </td>
67                         <td>
68                             <a href="#"><img
69                                 alt="Anonymous List Help"
70                                 src="[% ctx.media_prefix %]/images/question-mark.png" /></a>
71                         </td>
72                     </tr>
73                 </table>
74                 <div class="float-right"></div>
75                 <div class="clear-both pad-bottom-five"></div>
76             </div>
77     
78             <table id="acct_list_header_anon" cellpadding='0' cellspacing='0' border='0'>
79                 <tr>
80                     <td width="1%" style="padding-left:10px;">
81                         <input type="checkbox" id="check_all_list_anon" />
82                     </td>
83                     <td width="98%" style="padding-left:5px;">Title</td>
84                     <td width="1%">
85                         <select style='width:175px;margin-right:11px;'
86                             name="list_actions" id="sel_all_list_anon">
87                             <option value="0">-- Actions for this list --</option>
88                             <option value="hold">Place Hold</option>
89                             <option value="remove">Remove Items</option>
90                         </select>
91                     </td>
92                 </tr>
93             </table>
94             <table cellpadding='0' cellspacing='5' border='0'
95                 width='91%' style='margin-left:5px;margin-top:5px;'>
96                 <tbody id='anon_list_tbody'></tbody>
97             </table>
98             <br /><br />
99         </div>
100         <div id='acct_lists_prime'>
101             <div id='acct_list_template'>
102                 <div style="width:100%">
103                     <div style="float:left;font-weight:bold;padding-top:5px;"
104                         name='list_name'></div>
105                     <div style="float:left;padding:5px 0px 0px 10px;">
106                         <a target='_blank' name='share_list_rss'
107                             class='hide_me'><img alt="RSS Feed" border="0"
108                             src="/opac[% ctx.media_prefix %]/images/small-rss.png"
109                             title="You are sharing this list"/></a>
110                     </div>
111                     <div style="float:left;padding:5px 0px 0px 10px;">
112                         <a href="#" name="share_list_link">Share</a>
113                     </div>
114                     <div style="float:left;padding:5px 0px 0px 10px;">
115                         <a href="#" name="remove_list">Remove</a>
116                     </div>
117                     <div class="clear-both pad-bottom-five"></div>
118                 </div>
119                 <table id="acct_list_header" cellpadding='0' cellspacing='0'
120                     border='0'>
121                     <tr>
122                         <td width="1%" style="padding-left:10px;">
123                             <input type="checkbox" id="check_all_list" />
124                         </td>
125                         <td width="98%" style="padding-left:5px;">Title</td>
126                         <td width="1%">
127                             <select style='width:175px;margin-right:11px;' name="list_actions">
128                                 <option value="0">-- Actions for this list --</option>
129                                 <option value="hold">Place Hold</option>
130                                 <option value="remove">Remove Items</option>
131                             </select>
132                         </td>
133                     </tr>
134                 </table>
135                 <table cellpadding='0' cellspacing='5' border='0'
136                     width='91%' style='margin-left:5px;margin-top:5px;'>
137                     <tbody name='list_tbody'></tbody>
138                 </table>
139                 <br /><br />
140             </div>
141         </div>
142     </div>
143     <div id='myopac_delete_bookbag_warn' class='hide_me'>
144         [% l("This will remove the selected bookbag and all items contained within the bookbag.  Are you sure you wish to continue?") %]
145     </div>
146     <div style='text-align: center; font-weight: bold;' 
147         class='hide_me' id='myopac_bookbags_none'>[% l("You have not created any bookbags") %]</div>
148     <table width='100%' class='data_grid data_grid_center hide_me'
149         id='myopac_bookbag_table'>
150         <thead>
151             <tr>
152                 <td>[% l("Name") %]</td>
153                 <td>[% l("# Items") %]</td>
154                 <td>[% l("Shared") %]</td>
155                 <td>[% l("Share / Hide") %]</td>
156                 <td>[% l("Delete this bookbag?") %]</td>
157             </tr>
158         </thead>
159         <tbody id='myopac_bookbag_tbody'>
160             <tr id='myopac_bookbag_tr'>
161                 <td>
162                     <a href='#' class='classic_link'
163                         name='myopac_expand_bookbag'> </a>
164                 </td>
165                 <td>
166                     <span name='myopac_bookbag_item_count'> </span>
167                     <span> [% l("Items") %]</span>
168                 </td>
169                 <td>
170                     <span name='myopac_bb_published_no' class='hide_me'>
171                         [% l("No") %]
172                     </span>
173                     <span name='myopac_bb_published_yes' class='hide_me'>
174                         [% l("Yes") %]
175                     </span>
176                     <a name='myopac_bb_published_view'
177                         class='classic_link hide_me'>[% l("(View)") %]</a>
178                     <a name='myopac_bb_published_atom'
179                         class='unadorned_link hide_me'>
180                         <img alt="RSS Feed" border="0"
181                         src="/opac[% ctx.media_prefix %]/images/small-rss.png"
182                         title="[% l("ATOM Feed") %]" />
183                     </a>
184                 </td>
185                 <td>
186                     <a name='myopac_bb_make_unpublished'
187                         class='classic_link hide_me'>[% l("Hide") %]</a>
188                     <a name='myopac_bb_make_published'
189                         class='classic_link hide_me'>[% l("Share this Bookbag") %]</a>
190                 </td>
191                 <td>
192                     <a class='classic_link' href='#'
193                         name='myopac_container_delete'>[% l("Delete") %]</a>
194                 </td>
195             </tr>
196         </tbody>
197     </table>
198     <table width='100%' class='data_grid data_grid_center hide_me' style='margin-top: 10px;'>
199         <thead>
200             <tr><td>[% l("Create a new Bookbag") %]</td></tr>
201         </thead>
202         <tbody>
203             <tr>
204                 <td> 
205                     <span style='padding-right: 5px;'>
206                         [% l("Enter the name of the new Bookbag: ") %]
207                     </span>
208                     <input id='myopac_bookbag_new_name' type='text' /> 
209                 </td>
210             </tr>
211             <tr>
212                 <td>
213                     <span style='padding: 5px;'>[% l("Share this Bookbag") %]</span>
214                     <a class='classic_link'
215                         href='#'><b>[% l("(Help)") %]</b></a>
216                     <span>[% l("Yes") %]</span>
217                     <input type='radio' name='bb_public' id='bb_public_yes'/>
218                     <span>[% l("No") %]</span>
219                     <input type='radio' name='bb_public' id='bb_public_no' checked='checked'/>
220                     <input style='padding-left: 10px;' type='submit'
221                         value='[% l("Submit") %]' />
222                 </td>
223             </tr>
224         </tbody>
225     </table>
226     <div style='width: 99%; text-align: center'>
227         <b id='myopac_bookbag_items_name'> </b>
228     </div>
229     <div class='hide_me'
230         style='width:100%; text-align:center; font-weight:700; margin-top:10px;'
231         id='myopac_bookbag_no_items'>
232         [% l("The selected bookbag contains no items...") %]
233     </div>
234     <table width='100%' class='hide_me data_grid data_grid_center'
235         id='myopac_bookbag_items_table'>
236         <thead> 
237             <tr>
238                 <td>[% l("Title") %]</td>
239                 <td>[% l("Authors") %]</td>
240                 <td>[% l("Remove this item?") %]</td>
241             </tr> 
242         </thead>
243         <tbody id='myopac_bookbag_items_tbody'>
244             <tr id='myopac_bookbag_items_row'>
245                 <td>
246                     <a name='myopac_bookbag_items_title'
247                         class='classic_link'> </a>
248                 </td>
249                 <td name='myopac_bookbag_items_author'></td>
250                 <td>
251                     <a name='myopac_bookbag_items_remove'
252                         class='classic_link'>[% l("remove") %]</a>
253                 </td>    
254             </tr>
255         </tbody>
256     </table>
257     <span id='bb_publish_text' class='hide_me'>[% l("Sharing a Bookbag means that the contents of the Bookbag will be visible to others.  To see the public view of a shared Bookbag, click the \"View\" link in the \"Shared\" column of the Bookbag list at the top of this page.") %]</span>
258     <span id='myopac_remove_bb_item_confirm' class='hide_me'>
259         [% l("Are you sure you wish to remove this bookbag item?") %]
260     </span>
261     <span id='myopac_make_published_confirm' class='hide_me'>
262         [% l("Sharing this bookbag will allow the contents of the bookbag to be seen by others.  Are you sure you wish to share this bookbag?") %]
263     </span>
264     <span id='myopac_make_unpublished_confirm' class='hide_me'>
265         [% l("Are you sure you wish to hide this bookbag?") %]
266     </span>
267     <span id='myopac_bb_update_success' class='hide_me'>
268         [% l("The Bookbag was successfully updated.") %]
269     </span>
270     <span id='bb_create_warning' class='hide_me'>
271         [% l("Warning: Adding items to a bookbag creates a link between you and the items in the database.  The contents of the bookbag are NOT publicly viewable unless the bookbag is shared. However, if you prefer not to have any link between your patron record and a particular item or items, we suggest that you do not place said items in a bookbag or that you avoid using bookbags all together.  Thank you.") %]
272     </span>
273     <span id='myopac_bb_what_are' class='hide_me'>
274         [% l("Bookbags are...") %]
275     </span>
276     <span class='hide_me' id='bb_update_success'>
277         [% l("Bookbag successfully updated") %]
278     </span>
279 </div>
280 [% END %]