summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Lenz <cmlenz@apache.org>2010-02-23 21:28:07 +0000
committerChristopher Lenz <cmlenz@apache.org>2010-02-23 21:28:07 +0000
commit65044b7d17cacce989d8866f21becfa6a8cc72b7 (patch)
tree72c60324736c70e4db2e60612f14a201a72228e8
parentc18afdf0d7e33455f3509d3a2165baaffd2d9186 (diff)
Futon: Make the DB security dialog more compact.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@915526 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--share/www/dialog/_database_security.html16
-rw-r--r--share/www/style/layout.css5
2 files changed, 10 insertions, 11 deletions
diff --git a/share/www/dialog/_database_security.html b/share/www/dialog/_database_security.html
index 71771f9e..d63fa787 100644
--- a/share/www/dialog/_database_security.html
+++ b/share/www/dialog/_database_security.html
@@ -13,12 +13,13 @@ specific language governing permissions and limitations under the License.
-->
<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 @@ specific language governing permissions and limitations under the License.
<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>
diff --git a/share/www/style/layout.css b/share/www/style/layout.css
index 669bf8f7..1292e892 100644
--- a/share/www/style/layout.css
+++ b/share/www/style/layout.css
@@ -268,9 +268,8 @@ body.fullwidth #wrap { margin-right: 0; }
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;