style cleanups
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Mar 2006 13:35:54 +0000 (13:35 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 10 Mar 2006 13:35:54 +0000 (13:35 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@3316 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/web/opac/skin/default/js/myopac.js
Open-ILS/web/opac/skin/default/xml/myopac/myopac_checked.xml
Open-ILS/web/opac/skin/default/xml/myopac/myopac_fines.xml
Open-ILS/web/opac/skin/default/xml/myopac/myopac_holds.xml

index 4065611..374966e 100644 (file)
@@ -412,7 +412,7 @@ function myopacShowGenericTransaction( trans ) {
                                text(bills[0].billing_type()));
 
        tbody.appendChild(row);
-       unHideMe($('myopac_trans_table'));
+       unHideMe($('myopac_trans_div'));
 }
 
 
@@ -447,7 +447,10 @@ function myOPACShowCircTransaction(trans, record, circ) {
                appendChild(text(_finesFormatNumber(trans.balance_owed())));
 
        tbody.appendChild(row);
+       /*
        unHideMe($('myopac_circ_trans_table'));
+       */
+       unHideMe($('myopac_circ_trans_div'));
 }
 
 
index 15ef4a4..6ecb940 100644 (file)
@@ -19,7 +19,9 @@
 
                <tbody id='myopac_checked_tbody'>
 
-                       <tr id='myopac_checked_none' class='hide_me'><td>You have no items checked out at this time</td></tr>
+                       <tr id='myopac_checked_none' class='hide_me'>
+                               <td colspan='10' align='center'><b>You have no items checked out at this time</b></td>
+                       </tr>
                        <tr id='myopac_checked_loading'><td>Loading...</td></tr>
 
                        <tr id='myopac_checked_row' class='light_border hide_me'>
index a774bfc..cb555e0 100644 (file)
        </div>
        -->
 
-       <br/><br/><hr/><br/>
 
        <!-- Table for circulation transactions only -->
-       <table width='100%' class='data_grid data_grid_center hide_me' id='myopac_circ_trans_table'>
-               <thead>
-                       <tr><td colspan='10' style='padding: 6px'><b>Overdue Materials</b></td></tr>
-                       <tr>
-                               <td>Title</td>
-                               <td>Author</td>
-                               <td>Checkout Date</td>
-                               <td>Due Date</td>
-                               <td>Date Returned</td>
-                               <td>Balance Owed</td>
-                       </tr>
-               </thead>
-               <tbody id='myopac_circ_trans_tbody'>
-                       <tr id='myopac_circ_trans_row'>
-                               <td><a class='classic_link' name='myopac_circ_trans_title'> </a></td>
-                               <td name='myopac_circ_trans_author'> </td>
-                               <td name='myopac_circ_trans_start'> </td>
-                               <td name='myopac_circ_trans_due'> </td>
-                               <td name='myopac_circ_trans_finished'> </td>
-                               <td>
-                                       <span style='color: red; font-weight: bold;' 
-                                               name='myopac_circ_trans_balance'>$</span>
-                               </td>
-                       </tr>
-               </tbody>
-       </table>
-
-       <br/><br/><hr/><br/>
+       <div id='myopac_circ_trans_div' class='hide_me'>
+               <br/><hr/><br/>
+               <table width='100%' class='data_grid data_grid_center' id='myopac_circ_trans_table'>
+                       <thead>
+                               <tr><td colspan='10' style='padding: 6px'><b>Overdue Materials</b></td></tr>
+                               <tr>
+                                       <td>Title</td>
+                                       <td>Author</td>
+                                       <td>Checkout Date</td>
+                                       <td>Due Date</td>
+                                       <td>Date Returned</td>
+                                       <td>Balance Owed</td>
+                               </tr>
+                       </thead>
+                       <tbody id='myopac_circ_trans_tbody'>
+                               <tr id='myopac_circ_trans_row'>
+                                       <td><a class='classic_link' name='myopac_circ_trans_title'> </a></td>
+                                       <td name='myopac_circ_trans_author'> </td>
+                                       <td name='myopac_circ_trans_start'> </td>
+                                       <td name='myopac_circ_trans_due'> </td>
+                                       <td name='myopac_circ_trans_finished'> </td>
+                                       <td>
+                                               <span style='color: red; font-weight: bold;' 
+                                                       name='myopac_circ_trans_balance'>$</span>
+                                       </td>
+                               </tr>
+                       </tbody>
+               </table>
+       </div>
 
        <!-- Table for all non-circulation transactions -->
-       <table width='100%' class='data_grid data_grid_center hide_me' id='myopac_trans_table'>
-               <thead>
-                       <tr><td colspan='8' style='padding: 6px'><b>Other Fees</b></td></tr>
-                       <tr>
-                               <td width='12%'>Transaction Start Time</td>
-                               <td width='12%'>Last Payment Time</td>
-                               <td width='12%'>Initial Amount Owed</td>
-                               <td width='12%'>Total Amount Paid</td>
-                               <td width='12%'>Balance Owed</td>
-                               <td width='12%'>Billing Type</td>
-                       </tr>
-               </thead>
-
-               <tbody id='myopac_trans_tbody'>
-                       <tr id='myopac_trans_row'>
-                               <td name='myopac_trans_start'> </td>
-                               <td name='myopac_trans_last_payment'> </td>
-                               <td name='myopac_trans_init_amount'>$</td>
-                               <td name='myopac_trans_total_paid'>$</td>
-                               <td style='color:red; font-weight: bold;'>
-                                       <span name='myopac_trans_balance_recur' class='hide_me'> * </span>
-                                       <span name='myopac_trans_balance'>$</span>
-                               </td>
-                               <td name='myopac_trans_bill_type'> </td>
-                       </tr>
-               </tbody>
-       </table>
+       <div id='myopac_trans_div' class='hide_me'>
+               <br/><hr/><br/>
+               <table width='100%' class='data_grid data_grid_center' id='myopac_trans_table'>
+                       <thead>
+                               <tr><td colspan='8' style='padding: 6px'><b>Other Fees</b></td></tr>
+                               <tr>
+                                       <td width='12%'>Transaction Start Time</td>
+                                       <td width='12%'>Last Payment Time</td>
+                                       <td width='12%'>Initial Amount Owed</td>
+                                       <td width='12%'>Total Amount Paid</td>
+                                       <td width='12%'>Balance Owed</td>
+                                       <td width='12%'>Billing Type</td>
+                               </tr>
+                       </thead>
+       
+                       <tbody id='myopac_trans_tbody'>
+                               <tr id='myopac_trans_row'>
+                                       <td name='myopac_trans_start'> </td>
+                                       <td name='myopac_trans_last_payment'> </td>
+                                       <td name='myopac_trans_init_amount'>$</td>
+                                       <td name='myopac_trans_total_paid'>$</td>
+                                       <td style='color:red; font-weight: bold;'>
+                                               <span name='myopac_trans_balance_recur' class='hide_me'> * </span>
+                                               <span name='myopac_trans_balance'>$</span>
+                                       </td>
+                                       <td name='myopac_trans_bill_type'> </td>
+                               </tr>
+                       </tbody>
+               </table>
+       </div>
        
        <br/>
        
index 273f199..7d237ea 100644 (file)
@@ -19,7 +19,9 @@
 
                <tbody id='myopac_holds_tbody'>
 
-                       <tr id='myopac_holds_none' class='hide_me'><td>You have no items on hold at this time</td></tr>
+                       <tr id='myopac_holds_none' class='hide_me'>
+                               <td colspan='10' align='center'><b>You have no items on hold at this time</b></td>
+                       </tr>
                        <tr id='myopac_holds_loading'><td>Loading...</td></tr>
 
                        <tr id='myopac_holds_row' class='light_border hide_me'>