record more complete
authorsenator <lebbeous@esilibrary.com>
Tue, 1 Feb 2011 20:25:29 +0000 (15:25 -0500)
committersenator <lebbeous@esilibrary.com>
Tue, 1 Feb 2011 20:25:29 +0000 (15:25 -0500)
Open-ILS/web/templates/default/kcls-wire/parts/cn_browse.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-wire/parts/record/cn_details.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-wire/parts/record/copyinfo.tt2 [new file with mode: 0644]
Open-ILS/web/templates/default/kcls-wire/parts/record/extras.tt2

diff --git a/Open-ILS/web/templates/default/kcls-wire/parts/cn_browse.tt2 b/Open-ILS/web/templates/default/kcls-wire/parts/cn_browse.tt2
new file mode 100644 (file)
index 0000000..b104391
--- /dev/null
@@ -0,0 +1,43 @@
+<!-- ****************** cn_browse.xml ***************************** -->
+<div id='cn_browse' class='hide_me cn_browser' 
+    style='width: 95%; text-align: center; padding: 15px;'>
+    <div id='cn_browse_loading' class='cn_browse_loading hide_me'>&common.cn.loading;</div>
+    <div id='cn_browse_div'> 
+        <div style='width: 90%; text-align: center; margin: 10px;' class='color_4'>
+            <span>&common.cn.browsing;</span>
+            <b style='margin-left: 6px;' id='cn_browse_where'> </b>
+        </div>
+        <table class='data_grid bookshelf' width='100%'>
+            <thead>
+                <tr>
+                    <td>
+                        <a id='cn_browse_next' class='classic_link' 
+                        href='javascript:cnBrowsePrev();'><b>&common.cn.previous;</b></a>
+                    </td>
+                    <td colspan='1' align='center'>&common.cn.shelf;</td>
+                    <td>
+                        <a id='cn_browse_prev' class='classic_link' 
+                            href='javascript:cnBrowseNext();'><b>&common.cn.next;</b></a>
+                    </td>
+                </tr>
+            </thead>
+            <tbody id='cn_tbody'>
+                <tr id='cn_browse_row'>
+                    <td id='cn_browse_td' class='cn_browse_item' width='25%' valign='top'>
+                        <a><img height='60' width='50' 
+                            class='cn_browse_info' name='cn_browse_pic' border='0' /></a>
+                        <div style='font-weight: bold;' class='cn_browse_info' name='cn_browse_cn'></div>
+                        <div class='cn_browse_info'>
+                            <a name='cn_browse_title' class='classic_link'></a>
+                        </div>
+                        <div class='cn_browse_info'>
+                            <a name='cn_browse_author' class='classic_link'>  </a>
+                        </div>
+                        <div class='cn_browse_info' name='cn_browse_lib'>  </div>
+                    </td>
+                </tr>
+            </tbody>
+        </table>
+    </div>
+</div>
+<!-- ****************** end: cn_browse.xml ***************************** -->
diff --git a/Open-ILS/web/templates/default/kcls-wire/parts/record/cn_details.tt2 b/Open-ILS/web/templates/default/kcls-wire/parts/record/cn_details.tt2
new file mode 100644 (file)
index 0000000..69a9a3b
--- /dev/null
@@ -0,0 +1,102 @@
+<!-- ****************** rdetail_cn_details.xml ***************************** -->
+<table class='hide_me'>
+       <tbody>
+               <tr style='border: 3px solid #E0E0E0;' id='rdetail_volume_details_row' templateRow='1'>
+                       <td colspan='10'>
+                               <div style='text-align: center; margin-top: 6px; margin-bottom: 6px'>
+                                       <a name='print' href='javascript:void(0);' class='classic_link'>&rdetail.print;</a>
+                                       <table class='data_grid data_grid_center' style='width: 100%'>
+                                               <thead>
+                                                       <tr>
+                                                               <td width='33%'>&rdetail.cn.barcode;</td>
+                                                               <td>&common.status;</td>
+                                                               <td>&rdetail.cn.location;</td>
+                                                               <td name='age_protect_label' class='hide_me'>&rdetail.cn.hold.age;</td>
+                                                               <td name='create_date_label' class='hide_me'>&rdetail.cn.genesis;</td>
+                                                               <td name='holdable_label' class='hide_me'>&rdetail.cn.holdable;</td>
+                                                               <td name='due_date_label' class='hide_me'>&rdetail.cn.due;</td>
+                                                       </tr>
+                                               </thead>
+                                               <tbody name='copies_tbody' class='copy_details_table' width='100%'>
+                                                       <tr name='copies_row'>
+                                                               <td>
+                                                                       <span name='barcode'> </span>
+                                    <a class='hide_me classic_link copy_more_info'
+                                        name='details_link'>&rdetail.cn.more;</a>
+                                    <a class='hide_me classic_link copy_more_info'
+                                        name='less_details_link'>&rdetail.cn.less;</a>
+                                    <a class='hide_me classic_link copy_more_info'
+                                        name='copy_hold_link' href='javascript:void(0);'>&rdetail.cn.hold;</a>
+                                                               </td>
+                                                               <td name='status'> </td>
+                                                               <td name='location'> </td>
+                                                               <td name='age_protect_value' class='hide_me'>&rdetail.cn.disabled;</td>
+                                                               <td name='create_date_value' class='hide_me'> </td>
+                                                               <td name='copy_holdable_td' class='hide_me'>
+                                                                       <span name='copy_is_holdable'> </span>
+                                                               </td>
+                                                               <td name='copy_due_date_td' class='hide_me'>
+                                                                       <span name='copy_due_date'> </span>
+                                                               </td>
+                                                       </tr>
+
+                                                       <tr name='copy_extras_row' class='hide_me'>
+                                                               <td colspan='10'>
+                                                                       <table width='100%' class='data_grid'>
+                                                                               <tbody name='extras_tbody'>
+                                                                                       <tr name='extras_row' class='hide_me'>
+                                                                                               <td name='type' width='20%'> 
+                                                    <span name='note' class='hide_me'>
+                                                        <b>&rdetail.cn.note;</b>
+                                                    </span>
+                                                    <span name='cat' class='hide_me'>
+                                                        <b>&rdetail.cn.category;</b>
+                                                    </span>
+                                                                                               </td>
+                                                                                               <td>
+                                                                                                       <span name='key'> </span> : <span name='value'> </span>
+                                                                                               </td>
+                                                                                       </tr>
+                                                                               </tbody>
+                                                                       </table>
+                                                               </td>
+                                                       </tr>
+                                               </tbody>
+                                       </table>
+                               </div>
+                       </td>
+               </tr>
+       </tbody>
+</table>
+
+<span class='hide_me' id='rdetail.yes'>&common.yes;</span>
+<span class='hide_me' id='rdetail.no'>&common.no;</span>
+
+<div id='rdetail_print_details' class='hide_me'>
+       <div style='text-align: center; padding: 20px; width: 100%'>
+               <div style='width:100%; border: 2px solid #E0F0E0; margin-bottom: 20px;'>
+            <input type='submit' value='&rdetail.cn.print;' onclick='window.print();' />
+               </div>
+               <div name='body'> 
+                       <table>
+                               <tbody name='tbody'>
+                                       <tr><td>&common.library;</td><td colspan='2' name='lib'></td></tr>
+                                       <tr><td>&common.title;</td><td colspan='2' name='title'></td></tr>
+                                       <tr><td>&common.author;</td><td colspan='2' name='author'></td></tr>
+                                       <tr><td>&common.edition;</td><td colspan='2' name='edition'></td></tr>
+                                       <tr><td>&common.pubdate;</td><td colspan='2' name='pubdate'></td></tr>
+                                       <tr><td>&common.publisher;</td><td colspan='2' name='publisher'></td></tr>
+                                       <tr><td>&common.physical;</td><td colspan='2' name='phys'></td></tr>
+                                       <tr>
+                                               <td colspan='3' style='background: #E0F0E0;'> </td>
+                                       </tr>
+                    <tr name='cnrow'>
+                        <td><b>&common.callnumber;</b></td>
+                        <td><b colspan='2' name='cn'></b></td>
+                    </tr>
+                               </tbody>
+                       </table>
+               </div>
+       </div>
+</div>
+<!-- ****************** end: rdetail_cn_details.xml ***************************** -->
diff --git a/Open-ILS/web/templates/default/kcls-wire/parts/record/copyinfo.tt2 b/Open-ILS/web/templates/default/kcls-wire/parts/record/copyinfo.tt2
new file mode 100644 (file)
index 0000000..6c78071
--- /dev/null
@@ -0,0 +1,68 @@
+<!-- ****************** rdetail_copyinfo.xml ***************************** -->
+<div id='rdetail_copy_info_div' class='rdetail_extras_div hide_me'>
+    <div style='width: 100%; text-align: center; padding-bottom: 5px;'>
+        <span>
+            <a href='javascript:void(0);' id='copy_info_local_link' 
+                class='rdetail_copy_nav_link hide_me classic_link'><b>&rdetail.copyInfo.local;</b></a>
+        </span>
+        <span width=''>
+            <a href='javascript:void(0);' id='copy_info_all_link' 
+                class='rdetail_copy_nav_link classic_link'><b>&rdetail.copyInfo.all;</b></a>
+        </span>
+    </div>
+    <table id='rdetail_copy_info_table' class='data_grid'>
+        <thead>
+            <tr>
+                <td class='rdetail_copy_info_header_cell'>&rdetail.copyInfo.library;</td>
+                <td class='rdetail_copy_info_header_cell'>&rdetail.copyInfo.callnumber;</td>
+                <td name='rdetail_copylocation_header' class='rdetail_copy_info_header_cell hide_me'>
+                    &rdetail.copyInfo.copylocation;
+                </td>
+                <td class='rdetail_copy_info_header_cell'>&rdetail.copyInfo.actions;</td>
+                <td nowrap='nowrap' class='rdetail_copy_info_header_cell' id='rdetail_copy_info_status'> 
+                    <div name='rdetail_status_cell'> </div>
+                </td>
+            </tr>
+        </thead>
+        <tbody id='rdetail_copy_info_tbody'>
+            <tr id='rdetail_copy_info_row' class='hide_me'>
+                <td name='rdetail_library_cell'>
+                    <a name='lib_print_link' class='hide_me classic_link'
+                        style='font-size: 8pt; padding-left: 20px;'>&rdetail.copyInfo.print;</a>
+                </td>
+                <td name='rdetail_callnumber_cell'> </td>
+                <td class="hide_me" name='rdetail_copylocation_cell'> </td>
+                <td name='rdetail_actions_cell'> 
+                    <div style='padding-bottom: 1px;'>
+                        <a style='font-size: 8pt;'
+                            name='details' class='hide_me classic_link'>&rdetail.copyInfo.details;</a>
+                    </div>
+                    <div style='margin-top: 2px;'>
+                        <a name='browse' style='font-size: 8pt;'
+                            class='hide_me classic_link'>&rdetail.copyInfo.browse;</a>
+                    </div>
+                    <div style='margin-top: 2px;' name='hold_div' class='hide_me'>
+                        <a name='hold' style='font-size: 8pt;' href='javascript:void(0);'
+                            class='classic_link'>&rdetail.copyInfo.hold;</a>
+                    </div>
+                </td>
+                <td nowrap='nowrap' class='rdetail_copy_count_cell vertical' 
+                    name='rdetail_copy_count_cell'>
+                </td>
+            </tr>
+            <tr id='rdetail_copy_info_loading'>
+                <td>
+                    &rdetail.loading;
+                </td>
+            </tr>
+        </tbody>
+    </table>
+    <!-- <table class='hide_me'>
+        <tbody>
+        <tr style='border: 3px solid #E0E0E0;' id='rdetail_volume_details_row'><td colspan='10'></td></tr>
+        </tbody>
+    </table> -->
+    <br/><br/>
+    <div id='rdetail_copy_info_none' class='hide_me'>&rdetail.noneAvailable;</div>
+</div> <!-- copy info -->
+<!-- ****************** end: rdetail_copyinfo.xml ***************************** -->
index c8f0d2c..cc607e6 100644 (file)
                                <span>&rdetail.extras.call.local; </span>
                                <select id='cn_browse_selector'> </select>
                        </div>
-            <!-- XXX TODO common/cn_browse -->
+            [% INCLUDE "default/kcls-wire/parts/cn_browse.tt2" %]
                </div>
 
-        <!-- XXX TODO rdetail_cn_details -->
+        [% INCLUDE "default/kcls-wire/parts/record/cn_details.tt2" %]
 
         <div rel="rdetail_copy_info_div" rel2="copyinfo"
             class="rdetail_extras" id="rdetail_copy_info_link">
                     class="rdetail_extras_lbl">&rdetail.extras.summary;</a>
                    </div>
                </div>
-               <!-- XXX TODO rdetail_copyinfo -->
+
+        [% INCLUDE "default/kcls-wire/parts/record/copyinfo.tt2" %]
 
         <div rel="rdetail_marc_div" rel2="marc" class="rdetail_extras" id="rdetail_viewmarc_link">
             <div class="rdetail_extras_hr"></div>