Style changes to cart popup window more compact display: - compact holdings list...
authorOwen Leonard <oleonard@myacpl.org>
Tue, 4 May 2010 15:24:28 +0000 (11:24 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Fri, 7 May 2010 17:18:02 +0000 (13:18 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
koha-tmpl/opac-tmpl/prog/en/css/opac.css
koha-tmpl/opac-tmpl/prog/en/modules/opac-basket.tmpl
koha-tmpl/opac-tmpl/prog/images/item-bullet.gif [new file with mode: 0644]

index d54e5d6..41bb6ad 100644 (file)
@@ -1950,4 +1950,9 @@ a.p1:active {
 
 div.ft {
        clear : both;
+}
+#basket td ul li {
+       font-size:90%;
+       list-style:disc outside url("../../images/item-bullet.gif");
+       padding:0.2em 0;
 }
\ No newline at end of file
index 4eb2909..e314342 100644 (file)
        <script type="text/javascript">
        //<![CDATA[
 
-$(document).ready(function(){
-    $("#itemst").tablesorter({
-        headers: { 0: { sorter: false }}
-    });
-});
+$(document).ready(function()
+    {
+        $("#itemst").tablesorter({
+                        headers: { 0: { sorter: false },4:{sorter:false}}
+                });
+    }
+);
 
 <!-- TMPL_IF NAME="TagsEnabled" -->
 var MSG_NO_TAG_SPECIFIED = _("No tag was specified.");
@@ -292,14 +294,14 @@ function tagAdded() {
 
         <tr>
             <th scope="row">Location(s)</th>
-            <td><!-- TMPL_IF NAME="ITEM_RESULTS" --><!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
-                <p>
-                    <!-- TMPL_VAR NAME="branchname" --><!-- TMPL_IF NAME="location" -->, <!-- TMPL_VAR NAME="location" --><!-- /TMPL_IF -->
-                    <!-- TMPL_IF name="itemcallnumber" -->
-                        (<!-- TMPL_VAR NAME="itemcallnumber" -->)
-                    <!-- /TMPL_IF -->
-                </p>
-                <!-- /TMPL_LOOP --><!-- TMPL_ELSE -->This record has no items.<!-- /TMPL_IF --></td>
+            <td><!-- TMPL_IF NAME="ITEM_RESULTS" --><ul><!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
+                            <li>
+                                <strong><!-- TMPL_VAR NAME="branchname" --></strong><!-- TMPL_IF NAME="location" -->, <!-- TMPL_VAR NAME="location" --><!-- /TMPL_IF -->
+                                <!-- TMPL_IF name="itemcallnumber" -->
+                                    (<!-- TMPL_VAR NAME="itemcallnumber" -->)
+                                <!-- /TMPL_IF -->
+                            </li>
+                            <!-- /TMPL_LOOP --></ul><!-- TMPL_ELSE -->This record has no items.<!-- /TMPL_IF --></td>
         </tr>
     </table>
     <!-- /TMPL_LOOP -->
@@ -307,8 +309,8 @@ function tagAdded() {
 
 <!-- TMPL_ELSE -->
 <!-- TMPL_UNLESS NAME="print_basket" -->
-<p style="border-top : 1px solid #E8E8E8;">
-       <form action="/cgi-bin/koha/opac-basket.pl" method="get" name="bookbag_form" id="bookbag_form">
+<form action="/cgi-bin/koha/opac-basket.pl" method="get" name="bookbag_form" id="bookbag_form">
+<p style="border-top : 1px solid #E8E8E8;padding:5px 0;">
     <a id="CheckAll" href="#">Select All</a>
     <a id="CheckNone" href="#">Clear All</a>
     | <b>Selected items :</b>
@@ -364,14 +366,14 @@ function tagAdded() {
                    <!-- TMPL_VAR NAME="copyrightdate" -->
                 <!-- /TMPL_IF -->
            </td>
-                <td><!-- TMPL_IF NAME="ITEM_RESULTS" --><!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
-                    <p>
+                <td><!-- TMPL_IF NAME="ITEM_RESULTS" --><ul><!-- TMPL_LOOP NAME="ITEM_RESULTS" -->
+                    <li>
                         <!-- TMPL_VAR NAME="branchname" --><!-- TMPL_IF NAME="location" -->, <!-- TMPL_VAR NAME="location" --><!-- /TMPL_IF -->
                         <!-- TMPL_IF name="itemcallnumber" -->
                             (<!-- TMPL_VAR NAME="itemcallnumber" -->)
                         <!-- /TMPL_IF -->
-                    </p>
-                    <!-- /TMPL_LOOP --><!-- TMPL_ELSE -->This record has no items.<!-- /TMPL_IF --></td>
+                    </li>
+                    <!-- /TMPL_LOOP --></ul><!-- TMPL_ELSE -->This record has no items.<!-- /TMPL_IF --></td>
             </tr>
         <!-- /TMPL_LOOP -->
     </table></form>
diff --git a/koha-tmpl/opac-tmpl/prog/images/item-bullet.gif b/koha-tmpl/opac-tmpl/prog/images/item-bullet.gif
new file mode 100644 (file)
index 0000000..eae920d
Binary files /dev/null and b/koha-tmpl/opac-tmpl/prog/images/item-bullet.gif differ