couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cml...@apache.org
Subject svn commit: r659714 - in /incubator/couchdb/trunk/share/www: browse/database.html style/layout.css
Date Fri, 23 May 2008 23:25:12 GMT
Author: cmlenz
Date: Fri May 23 16:25:11 2008
New Revision: 659714

URL: http://svn.apache.org/viewvc?rev=659714&view=rev
Log:
Minor tweaks to the map/reduce editing GUI in Futon.

Modified:
    incubator/couchdb/trunk/share/www/browse/database.html
    incubator/couchdb/trunk/share/www/style/layout.css

Modified: incubator/couchdb/trunk/share/www/browse/database.html
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/share/www/browse/database.html?rev=659714&r1=659713&r2=659714&view=diff
==============================================================================
--- incubator/couchdb/trunk/share/www/browse/database.html [utf-8] (original)
+++ incubator/couchdb/trunk/share/www/browse/database.html [utf-8] Fri May 23 16:25:11 2008
@@ -114,13 +114,13 @@
           <span id="view-toggle">View Code</span>
         </div>
         <div class="code map">
-          <label>Map Function:</label>
+          <label for="viewcode_map">Map Function:</label>
           <textarea id="viewcode_map" class="map" rows="5" cols="79" spellcheck="false"
wrap="off">function(doc) {
   emit(null, doc);
 }</textarea>
         </div>
         <div class="code reduce">
-          <label>Reduce Function (optional):</label>
+          <label for="viewcode_reduce">Reduce Function (optional):</label>
           <textarea id="viewcode_reduce" class="reduce" rows="5" cols="79" spellcheck="false"
wrap="off"></textarea>
         </div>
         <div class="bottom">

Modified: incubator/couchdb/trunk/share/www/style/layout.css
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/share/www/style/layout.css?rev=659714&r1=659713&r2=659714&view=diff
==============================================================================
--- incubator/couchdb/trunk/share/www/style/layout.css (original)
+++ incubator/couchdb/trunk/share/www/style/layout.css Fri May 23 16:25:11 2008
@@ -255,7 +255,7 @@
   border: 1px solid; border-color: #ddd #ddd #e9e9e9 #ddd; color: #333;
   margin: 0 -.5em; padding: 0 .5em 2px;
 }
-#viewcode .top { color: #aaa; font-size: 95%; }
+#viewcode .top {  color: #aaa; font-size: 95%; }
 #viewcode .top span { background: url(../image/twisty.gif) 0 3px no-repeat;
   border: none; color: #666; cursor: pointer; display: block; font-size: 90%;
   margin: 0; padding: 2px 0 0 15px;
@@ -267,11 +267,12 @@
 #viewcode .code, #viewcode .bottom { display: none; }
 #viewcode .code { float: left; padding: .2em 0; width: 49%; }
 #viewcode .code label { font-size: 90%; color: #999; }
-#viewcode .code textarea { border: none; border-top: 1px solid #ddd;
-  color: #333; min-height: 50px; max-width: 98%; padding-top: .5em;
-  resize: none;
+#viewcode .code textarea { border: none; border-top: 1px solid #ccc;
+  color: #333; margin: 0 0 .4em; min-height: 50px; max-width: 98%;
+  padding: .2em 0; resize: none;
 }
-#viewcode div.map { border-right: 1px dashed #ccc; margin-right: .5em; }
+#viewcode .code textarea:focus { background: #ffffe9; }
+#viewcode div.map { border-right: 3px double #ccc; margin-right: .5em; }
 #viewcode .bottom { border-bottom: none; clear: left; padding: 1px 3px; }
 #viewcode .bottom button { font-size: 90%; margin: 0 1em 0 0;
   padding-left: 2em; padding-right: 2em;
@@ -284,6 +285,7 @@
 }
 #viewcode .bottom button.save { font-weight: bold; }
 #viewcode .grippie { background-position: 49% 50%; }
+#viewcode.expanded .top { border-bottom: 1px solid #ddd; }
 #viewcode.expanded .top span { background-position: 0 -96px; }
 #viewcode.expanded .code, #viewcode.expanded .bottom { display: block; }
 



Mime
View raw message