You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by eh...@apache.org on 2007/02/22 23:05:17 UTC

svn commit: r510678 - in /lucene/solr/trunk/client/ruby/flare: app/views/browse/index.rhtml app/views/layouts/browse.rhtml public/stylesheets/flare.css

Author: ehatcher
Date: Thu Feb 22 14:05:16 2007
New Revision: 510678

URL: http://svn.apache.org/viewvc?view=rev&rev=510678
Log:
tweaks to suggest popup to avoid overlay issue, lowercased flare as that seems a good persona, and added commas on document display

Modified:
    lucene/solr/trunk/client/ruby/flare/app/views/browse/index.rhtml
    lucene/solr/trunk/client/ruby/flare/app/views/layouts/browse.rhtml
    lucene/solr/trunk/client/ruby/flare/public/stylesheets/flare.css

Modified: lucene/solr/trunk/client/ruby/flare/app/views/browse/index.rhtml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/client/ruby/flare/app/views/browse/index.rhtml?view=diff&rev=510678&r1=510677&r2=510678
==============================================================================
--- lucene/solr/trunk/client/ruby/flare/app/views/browse/index.rhtml (original)
+++ lucene/solr/trunk/client/ruby/flare/app/views/browse/index.rhtml Thu Feb 22 14:05:16 2007
@@ -72,7 +72,7 @@
         <td class="title" colspan="2"><%=doc['title_text']%></td>
       </tr>
       <% doc.each do |k,v|; highlighting = @response.highlighted(doc['id'], k) %>
-      <tr><td class="field"><%=k%>:</td><td><%= highlighting ? "...#{highlighting}..." : v%></td></tr>
+      <tr><td class="field"><%=k%>:</td><td><%= highlighting ? "...#{highlighting}..." : (v.respond_to?('join') ? v.join(',') : v.to_s)%></td></tr>
       <% end %>
     </table>
   </td>

Modified: lucene/solr/trunk/client/ruby/flare/app/views/layouts/browse.rhtml
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/client/ruby/flare/app/views/layouts/browse.rhtml?view=diff&rev=510678&r1=510677&r2=510678
==============================================================================
--- lucene/solr/trunk/client/ruby/flare/app/views/layouts/browse.rhtml (original)
+++ lucene/solr/trunk/client/ruby/flare/app/views/layouts/browse.rhtml Thu Feb 22 14:05:16 2007
@@ -1,6 +1,6 @@
 <html>
   <head>
-    <title>Solr Flare: <%=controller.action_name%></title>
+    <title>Solr flare: <%=controller.action_name%></title>
     <%= javascript_include_tag :defaults %>
     <%= stylesheet_link_tag 'flare'%>
   </head>

Modified: lucene/solr/trunk/client/ruby/flare/public/stylesheets/flare.css
URL: http://svn.apache.org/viewvc/lucene/solr/trunk/client/ruby/flare/public/stylesheets/flare.css?view=diff&rev=510678&r1=510677&r2=510678
==============================================================================
--- lucene/solr/trunk/client/ruby/flare/public/stylesheets/flare.css (original)
+++ lucene/solr/trunk/client/ruby/flare/public/stylesheets/flare.css Thu Feb 22 14:05:16 2007
@@ -158,3 +158,9 @@
 	color: #999;
 	font-style: italic;
 }
+
+div.auto_complete {
+	padding-left: 20px;
+	padding-top: 10px;
+	background: #fff;
+}