Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
d8a6010d
Commit
d8a6010d
authored
Feb 06, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - manual policy editor: added in example messages for confirm, error, warning
parent
571e1106
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
cms/static/sass/_settings.scss
+37
-0
cms/templates/settings.html
+12
-0
No files found.
cms/static/sass/_settings.scss
View file @
d8a6010d
...
...
@@ -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
{
...
...
cms/templates/settings.html
View file @
d8a6010d
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment