From 65044b7d17cacce989d8866f21becfa6a8cc72b7 Mon Sep 17 00:00:00 2001 From: Christopher Lenz Date: Tue, 23 Feb 2010 21:28:07 +0000 Subject: 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 --- share/www/dialog/_database_security.html | 16 ++++++++-------- share/www/style/layout.css | 5 ++--- 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. -->
-

Admins and Readers

-

- Each database contains lists of admins and readers. - Admins and readers are each defined by names and roles, which are lists of strings. For example, if the readers is defined by names ["jane", "mike"] and roles ["bbq"] then anyone with a "bbq" role can read the database. Yummy! -

+

Security

+

+ Each database contains lists of admins and readers. + Admins and readers are each defined by names and roles, which are lists of strings. +

+

Admins

Database admins can update design documents and edit the readers list.

@@ -29,10 +30,9 @@ specific language governing permissions and limitations under the License.
-
-
+

Readers

-

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.

+

Database readers can access the database. If no readers are defined, the database is public.

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; -- cgit v1.2.3