studio - manual policy editor: added in example messages for confirm, error, warning
This commit is contained in:
@@ -551,6 +551,43 @@
|
||||
|
||||
.settings-advanced {
|
||||
|
||||
// messages - should be synced up with global messages in the future
|
||||
.message {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.message-status {
|
||||
display: none;
|
||||
@include border-top-radius(2px);
|
||||
@include box-sizing(border-box);
|
||||
border-bottom: 2px solid $yellow;
|
||||
margin: 0 0 20px 0;
|
||||
padding: 10px 20px;
|
||||
font-weight: 500;
|
||||
background: $paleYellow;
|
||||
|
||||
.text {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
&.error {
|
||||
border-color: shade($red, 50%);
|
||||
background: tint($red, 20%);
|
||||
color: $white;
|
||||
}
|
||||
|
||||
&.confirm {
|
||||
border-color: shade($green, 50%);
|
||||
background: tint($green, 20%);
|
||||
color: $white;
|
||||
}
|
||||
|
||||
&.is-shown {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.course-advanced-policy-list {
|
||||
|
||||
.row {
|
||||
|
||||
@@ -735,6 +735,18 @@ from contentstore import utils
|
||||
<section class="settings-advanced">
|
||||
<h2 class="title">Advanced Settings</h2>
|
||||
|
||||
<div class="message message-status confirm is-shown">
|
||||
Your policy changes have been saved.
|
||||
</div>
|
||||
|
||||
<div class="message message-status error is-shown">
|
||||
There was an error saving your information. Please see below.
|
||||
</div>
|
||||
|
||||
<div class="message message-status warning is-shown">
|
||||
Your changes were saved, but they may affect settings elsewhere
|
||||
</div>
|
||||
|
||||
<section class="settings-advanced-policies">
|
||||
<header>
|
||||
<h3>Manual Policy Definition</h3>
|
||||
|
||||
Reference in New Issue
Block a user