git-svn-id: svn://svn.open-ils.org/ILS-Contrib/servres/trunk@88 6d9bc8c9-1ec2-4278...
authorartunit <artunit@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 23 Dec 2008 03:42:50 +0000 (03:42 +0000)
committerartunit <artunit@6d9bc8c9-1ec2-4278-b937-99fde70a366f>
Tue, 23 Dec 2008 03:42:50 +0000 (03:42 +0000)
conifer/templates/search_results.xhtml

index da28d49..4ae5c0a 100644 (file)
@@ -26,7 +26,7 @@ courses = course_list
     <!-- 
         probably need a simple css option to hide instructors and course info
     -->
-    <table py:if="instructors or courses">
+    <table py:if="instructors or courses" width="100%">
         <tr>
         <!-- instructors -->
         <td py:if="instructors" valign="top" class="topbox">
@@ -38,8 +38,9 @@ courses = course_list
             <td>${Markup(instructor.instr_name_hl(norm_query))}</td>
             <td>foo</td>
         </tr>
-        <tr>
+        <tr py:if="instr_len > count">
         <td></td>
+        <!-- will tap into open list here -->
         <td>(more...)</td>
         </tr>
         </table>
@@ -47,14 +48,19 @@ courses = course_list
 
         <!-- courses -->
         <td py:if="courses" valign="top" class="topbox">
-        <table>
+        <table class="topheading">
         <tr>
-        <th>Course</th>
+        <th align="left">Course</th>
         </tr>
         <tr py:for="course in courses">
             <!-- will highlight this, probably pull in dept info -->
             <td>${course.title}</td>
         </tr>
+        <tr py:if="course_len > count">
+        <td></td>
+        <!-- will tap into open list here -->
+        <td>(more...)</td>
+        </tr>
         </table>
         </td>
         </tr>