From 7d871ddfc9f3440452dab0e7c3a81498e4a2198c Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Thu, 31 Jan 2013 11:50:07 -0500 Subject: [PATCH] studio - revised manual policy UI: added key tips on focus, moved error messages to bottom of pairings --- cms/static/sass/_settings.scss | 13 +++++++++++++ cms/templates/settings.html | 32 ++++++++++---------------------- 2 files changed, 23 insertions(+), 22 deletions(-) diff --git a/cms/static/sass/_settings.scss b/cms/static/sass/_settings.scss index 5f14b83a9b..51c9489254 100644 --- a/cms/static/sass/_settings.scss +++ b/cms/static/sass/_settings.scss @@ -582,6 +582,18 @@ input { width: 100%; } + + .tip { + @include transition (opacity 0.5s ease-in-out 0s); + opacity: 0; + } + + input:focus { + + & + .tip { + opacity: 1.0; + } + } } } @@ -599,6 +611,7 @@ } .message-error { + float: left; margin: 0 0 10px 0; } } diff --git a/cms/templates/settings.html b/cms/templates/settings.html index 7153b6daa3..6dd4d3eed6 100644 --- a/cms/templates/settings.html +++ b/cms/templates/settings.html @@ -746,6 +746,7 @@ from contentstore import utils
+ Keys are case sensitive and cannot contain spaces or start with a number
@@ -760,12 +761,12 @@ from contentstore import utils
  • - This policy key, $KEYNAME, already exists.
    + Keys are case sensitive and cannot contain spaces or start with a number
    @@ -775,17 +776,19 @@ from contentstore import utils
  • + This policy key, $KEYNAME, already exists. + Delete
  • - You cannot leave the key value for this pair blank.
    + Keys are case sensitive and cannot contain spaces or start with a number
    @@ -795,18 +798,20 @@ from contentstore import utils
    + You cannot leave the key value for this pair blank. + Delete
  • - The JSON value for $KEYNAME is invalid.
    -
    + Keys are case sensitive and cannot contain spaces or start with a number +
    @@ -815,25 +820,8 @@ from contentstore import utils
    - Delete -
  • + The JSON value for $KEYNAME is invalid. - -
  • -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    Delete