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
89bba535
Commit
89bba535
authored
Sep 30, 2013
by
Brian Talbot
Committed by
Julian Arni
Oct 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Studio: adds in action-related elements to the status display UI of the Import view
parent
4bbacb02
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
2 deletions
+32
-2
cms/static/sass/views/_import.scss
+24
-0
cms/templates/import.html
+8
-2
No files found.
cms/static/sass/views/_import.scss
View file @
89bba535
...
@@ -153,6 +153,26 @@
...
@@ -153,6 +153,26 @@
padding-bottom
:
0
;
padding-bottom
:
0
;
}
}
// CASE: has actions
&
.has-actions
{
.status-detail
{
width
:
flex-grid
(
5
,
9
);
}
.list-actions
{
display
:
none
;
width
:
flex-grid
(
3
,
9
);
float
:
right
;
margin-left
:
flex-gutter
();
text-align
:
right
;
.action-primary
{
@extend
%btn-primary-blue
;
}
}
}
// TYPE: success
// TYPE: success
&
.item-progresspoint-success
{
&
.item-progresspoint-success
{
...
@@ -212,6 +232,10 @@
...
@@ -212,6 +232,10 @@
.status-detail
.title
{
.status-detail
.title
{
color
:
$green
;
color
:
$green
;
}
}
.list-actions
{
display
:
block
;
}
}
}
// STATE: error
// STATE: error
...
...
cms/templates/import.html
View file @
89bba535
...
@@ -102,7 +102,7 @@
...
@@ -102,7 +102,7 @@
<p
class=
"copy"
>
${_("Replacing previous course content with imported content")}
</p>
<p
class=
"copy"
>
${_("Replacing previous course content with imported content")}
</p>
</div>
</div>
</li>
</li>
<li
class=
"item-progresspoint item-progresspoint-success is-not-started"
>
<li
class=
"item-progresspoint item-progresspoint-success
has-actions
is-not-started"
>
<span
class=
"deco status-visual"
>
<span
class=
"deco status-visual"
>
<i
class=
"icon-check"
></i>
<i
class=
"icon-check"
></i>
</span>
</span>
...
@@ -111,6 +111,12 @@
...
@@ -111,6 +111,12 @@
<h3
class=
"title"
>
${_("Success")}
</h3>
<h3
class=
"title"
>
${_("Success")}
</h3>
<p
class=
"copy"
>
${_("Your imported content has now replaced all other course content")}
</p>
<p
class=
"copy"
>
${_("Your imported content has now replaced all other course content")}
</p>
</div>
</div>
<ul
class=
"list-actions"
>
<li
class=
"item-action"
>
<a
href=
""
class=
"action action-primary"
>
${_("View Updated Outline")}
</a>
</li>
</ul>
</li>
</li>
</ol>
</ol>
</div>
</div>
...
@@ -196,7 +202,7 @@ $('#fileupload').fileupload({
...
@@ -196,7 +202,7 @@ $('#fileupload').fileupload({
bar
.
hide
();
bar
.
hide
();
chooseBtn
.
html
(
'${_("Choose new file")}'
).
show
();
chooseBtn
.
html
(
'${_("Choose new file")}'
).
show
();
bar
.
hide
();
bar
.
hide
();
}
}
});
});
});
});
}
else
{
}
else
{
...
...
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