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
2024f9ee
Commit
2024f9ee
authored
Feb 14, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - page headers: added view course button to course outline
parent
6ade6983
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
2 deletions
+30
-2
cms/static/sass/_base.scss
+27
-2
cms/templates/overview.html
+3
-0
No files found.
cms/static/sass/_base.scss
View file @
2024f9ee
...
...
@@ -127,7 +127,7 @@ h1 {
.title
{
float
:
left
;
width
:
flex-grid
(
5
,
12
);
width
:
flex-grid
(
6
,
12
);
margin-right
:
flex-gutter
();
}
...
...
@@ -135,7 +135,7 @@ h1 {
position
:
relative
;
bottom
:
-
(
$baseline
*
0
.75
);
float
:
right
;
width
:
flex-grid
(
4
,
12
);
width
:
flex-grid
(
6
,
12
);
text-align
:
right
;
.nav-item
{
...
...
@@ -158,6 +158,11 @@ h1 {
font-weight
:
700
!
important
;
}
.view-button
{
font-weight
:
700
!
important
;
}
.upload-button
.icon-create
{
@include
font-size
(
18
);
margin-top
:
(
$baseline
/
4
);
...
...
@@ -643,6 +648,26 @@ hr.divide {
}
}
.view-button
{
@include
blue-button
;
@include
font-size
(
13
);
padding
:
8px
20px
10px
;
text-align
:
center
;
&
.big
{
display
:
block
;
}
.icon-view
{
@include
font-size
(
15
);
display
:
inline-block
;
vertical-align
:
middle
;
margin-right
:
(
$baseline
/
2
);
margin-top
:
(
$baseline
/
5
);
line-height
:
0
;
}
}
.edit-button.standard
,
.delete-button.standard
{
@include
font-size
(
12
);
...
...
cms/templates/overview.html
View file @
2024f9ee
...
...
@@ -136,6 +136,9 @@
<li
class=
"nav-item"
>
<a
href=
"#"
class=
"button new-button new-courseware-section-button"
><i
class=
"ss-icon ss-symbolicons-standard icon icon-create"
>
+
</i>
New Section
</a>
</li>
<li
class=
"nav-item"
>
<a
href=
"#"
class=
"button view-button view-course-button"
><i
class=
"ss-icon ss-symbolicons-block icon icon-view"
>

</i>
View Course
</a>
</li>
</ul>
</nav>
</header>
...
...
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