You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by cm...@apache.org on 2010/02/23 22:28:08 UTC

svn commit: r915526 - in /couchdb/trunk/share/www: dialog/_database_security.html style/layout.css

Author: cmlenz
Date: Tue Feb 23 21:28:07 2010
New Revision: 915526

URL: http://svn.apache.org/viewvc?rev=915526&view=rev
Log:
Futon: Make the DB security dialog more compact.

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

Modified: couchdb/trunk/share/www/dialog/_database_security.html
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/dialog/_database_security.html?rev=915526&r1=915525&r2=915526&view=diff
==============================================================================
--- couchdb/trunk/share/www/dialog/_database_security.html (original)
+++ couchdb/trunk/share/www/dialog/_database_security.html Tue Feb 23 21:28:07 2010
@@ -13,12 +13,13 @@
 
 -->
 <form action="" method="post">
-  <h2>Admins and Readers</h2>
-  <p class="help">
-    Each database contains lists of admins and readers. 
-    Admins and readers are each defined by <tt>names</tt> and <tt>roles</tt>, which are lists of strings. For example, if the readers is defined by <tt>names ["jane", "mike"]</tt> and roles <tt>["bbq"]</tt> then anyone with a <tt>"bbq"</tt> role can read the database. Yummy!
-  </p>
+  <h2>Security</h2>
   <fieldset>
+    <p class="help">
+      Each database contains lists of admins and readers. 
+      Admins and readers are each defined by <tt>names</tt> and <tt>roles</tt>, which are lists of strings.
+    </p>
+
     <h3>Admins</h3>
     <p class="help">Database admins can update design documents and edit the readers list.</p>
     <table summary=""><tbody><tr>
@@ -29,10 +30,9 @@
       <td><input type="text" name="admin_roles" size="40"></td>
     </tr>
     </tbody></table>
-  </fieldset>
-  <fieldset>
+
     <h3>Readers</h3>
-    <p class="help">Database readers can access the database. If no readers are defined, the database is public. When readers are defined, only they may read or write to the database.</p>
+    <p class="help">Database readers can access the database. If no readers are defined, the database is public.</p>
     <table summary=""><tbody><tr>
       <th><label>Names:</label></th>
       <td><input type="text" name="reader_names" size="40"></td>

Modified: couchdb/trunk/share/www/style/layout.css
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/style/layout.css?rev=915526&r1=915525&r2=915526&view=diff
==============================================================================
--- couchdb/trunk/share/www/style/layout.css (original)
+++ couchdb/trunk/share/www/style/layout.css Tue Feb 23 21:28:07 2010
@@ -268,9 +268,8 @@
 body.loading #dialog h2 {
   background-image: url(../image/spinner.gif);
 }
-#dialog h3 {
-  color: #ccc; font-size: 110%; font-weight: bold; margin: 0 -2em;
-  padding: .35em 2em;
+#dialog h3 { color: #ccc; font-size: 100%; font-weight: bold; margin: 0 -2em;
+  padding: .35em 2em 0;
 }
 #dialog fieldset { background: #222; border-top: 1px solid #111;
   margin: 0 0 1em; padding: .5em 1em 1em;