couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r733462 - in /couchdb/trunk/share/www: document.html style/layout.css
Date Sun, 11 Jan 2009 12:31:06 GMT
Author: jchris
Date: Sun Jan 11 04:31:05 2009
New Revision: 733462

URL: http://svn.apache.org/viewvc?rev=733462&view=rev
Log:
Futon docids are links to the raw JSON doc

Modified:
    couchdb/trunk/share/www/document.html
    couchdb/trunk/share/www/style/layout.css

Modified: couchdb/trunk/share/www/document.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/document.html?rev=733462&r1=733461&r2=733462&view=diff
==============================================================================
--- couchdb/trunk/share/www/document.html [utf-8] (original)
+++ couchdb/trunk/share/www/document.html [utf-8] Sun Jan 11 04:31:05 2009
@@ -42,7 +42,8 @@
       $(function() {
         $("h1 a.dbname").text(page.dbName)
           .attr("href", "database.html?" + encodeURIComponent(page.db.name));
-        $("h1 strong").text(page.docId);
+        $("h1 strong").html('<a href="/'+encodeURIComponent(page.db.name)
+          +'/'+encodeURIComponent(page.docId)+'>'+page.docId+'</a>');
         page.updateFieldListing();
 
         $("#tabs li.tabular a").click(function() {

Modified: couchdb/trunk/share/www/style/layout.css
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/style/layout.css?rev=733462&r1=733461&r2=733462&view=diff
==============================================================================
--- couchdb/trunk/share/www/style/layout.css (original)
+++ couchdb/trunk/share/www/style/layout.css Sun Jan 11 04:31:05 2009
@@ -36,6 +36,7 @@
   text-shadow: #333 2px 2px 1px;
 }
 h1 strong { color: #fff; font-weight: normal; padding-right: 25px; }
+h1 strong a {color:#fff !important;background:none !important;}
 body.loading h1 strong {
   background: url(../image/spinner.gif) right center no-repeat;
 }



Mime
View raw message