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
d695de24
Commit
d695de24
authored
Aug 13, 2014
by
Brian Talbot
Committed by
Ben McMorran
Aug 21, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Studio: addressing course re-run PR feedback
parent
8e3b5327
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
7 deletions
+21
-7
cms/static/js/views/course_rerun.js
+1
-1
cms/static/sass/views/_course-create.scss
+6
-0
cms/static/sass/views/_dashboard.scss
+11
-3
cms/templates/index.html
+2
-2
cms/templates/ux/reference/course-create-rerun.html
+1
-1
No files found.
cms/static/js/views/course_rerun.js
View file @
d695de24
...
...
@@ -52,7 +52,7 @@ require(["domReady", "jquery", "underscore", "js/utils/cancel_on_escape"],
);
// Go into creating re-run state
$
(
'.rerun-course-save'
).
addClass
(
'is-disabled'
).
addClass
(
'is-processing'
).
html
(
'<i class="icon-refresh icon-spin"></i>'
+
gettext
(
'Processing Re-run Request'
)
'<i class="icon
icon
-refresh icon-spin"></i>'
+
gettext
(
'Processing Re-run Request'
)
);
$
(
'.action-cancel'
).
addClass
(
'is-hidden'
);
};
...
...
cms/static/sass/views/_course-create.scss
View file @
d695de24
...
...
@@ -73,6 +73,12 @@
.rerun-course-save
{
@include
blue-button
;
.icon
{
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
(
$baseline
/
4
);
}
}
.rerun-course-cancel
{
...
...
cms/static/sass/views/_dashboard.scss
View file @
d695de24
...
...
@@ -236,7 +236,7 @@
@extend
%t-strong
;
margin
:
(
$baseline
/
2
);
[
class
^=
"icon-"
]
{
.icon
{
margin-right
:
(
$baseline
/
4
);
}
}
...
...
@@ -302,6 +302,14 @@
padding-bottom
:
(
$baseline
/
2
);
color
:
$gray-l2
;
}
.title
{
@extend
%t-title6
;
margin-bottom
:
$baseline
;
border-bottom
:
1px
solid
$gray-l3
;
padding-bottom
:
(
$baseline
/
2
);
color
:
$gray-l2
;
}
}
.list-courses
{
...
...
@@ -333,12 +341,12 @@
.value
{
.copy
,
*[
class
^=
"icon"
]
{
.copy
,
.icon
{
display
:
inline-block
;
vertical-align
:
middle
;
}
*[
class
^=
"icon"
]
{
.icon
{
@extend
%t-icon4
;
margin-right
:
(
$baseline
/
2
);
}
...
...
cms/templates/index.html
View file @
d695de24
...
...
@@ -162,7 +162,7 @@ require(["domReady!", "jquery", "jquery.form", "js/index"], function(doc, $) {
<dl
class=
"course-status"
>
<dt
class=
"label sr"
>
This re-run processing status:
</dt>
<dd
class=
"value"
>
<i
class=
"icon-refresh icon-spin"
></i>
<i
class=
"icon
icon
-refresh icon-spin"
></i>
<span
class=
"copy"
>
Configuring as re-run
</span>
</dd>
</dl>
...
...
@@ -200,7 +200,7 @@ require(["domReady!", "jquery", "jquery.form", "js/index"], function(doc, $) {
<dl
class=
"course-status"
>
<dt
class=
"label sr"
>
This re-run processing status:
</dt>
<dd
class=
"value"
>
<i
class=
"icon-warning-sign"
></i>
<i
class=
"icon
icon
-warning-sign"
></i>
<span
class=
"copy"
>
Configuration Error
</span>
</dd>
</dl>
...
...
cms/templates/ux/reference/course-create-rerun.html
View file @
d695de24
...
...
@@ -328,7 +328,7 @@ TODO:
<div
class=
"actions"
>
<button
type=
"submit"
class=
"action action-primary rerun-course-save is-disabled is-processing"
>
<i
class=
"icon-refresh icon-spin"
></i>
<i
class=
"icon
icon
-refresh icon-spin"
></i>
${_('Processing Re-run Request')}
</button>
</div>
...
...
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