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
1a1be106
Commit
1a1be106
authored
Feb 14, 2013
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
studio - page headers: added in view live links to course dashboard
parent
2024f9ee
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
5 deletions
+28
-5
cms/static/sass/_base.scss
+0
-1
cms/static/sass/_dashboard.scss
+25
-2
cms/templates/index.html
+2
-1
cms/templates/overview.html
+1
-1
No files found.
cms/static/sass/_base.scss
View file @
1a1be106
...
@@ -651,7 +651,6 @@ hr.divide {
...
@@ -651,7 +651,6 @@ hr.divide {
.view-button
{
.view-button
{
@include
blue-button
;
@include
blue-button
;
@include
font-size
(
13
);
@include
font-size
(
13
);
padding
:
8px
20px
10px
;
text-align
:
center
;
text-align
:
center
;
&
.big
{
&
.big
{
...
...
cms/static/sass/_dashboard.scss
View file @
1a1be106
...
@@ -6,19 +6,27 @@
...
@@ -6,19 +6,27 @@
@include
box-shadow
(
0
1px
2px
rgba
(
0
,
0
,
0
,
.1
));
@include
box-shadow
(
0
1px
2px
rgba
(
0
,
0
,
0
,
.1
));
li
{
li
{
position
:
relative
;
border-bottom
:
1px
solid
$mediumGrey
;
border-bottom
:
1px
solid
$mediumGrey
;
&
:last-child
{
&
:last-child
{
border-bottom
:
none
;
border-bottom
:
none
;
}
}
}
a
{
.class-link
{
z-index
:
100
;
display
:
block
;
padding
:
20px
25px
;
padding
:
20px
25px
;
line-height
:
1
.3
;
line-height
:
1
.3
;
&
:hover
{
&
:hover
{
background
:
$paleYellow
;
background
:
$paleYellow
;
+
.view-live-button
{
opacity
:
1
.0
;
pointer-events
:
auto
;
}
}
}
}
}
}
...
@@ -34,6 +42,21 @@
...
@@ -34,6 +42,21 @@
margin-right
:
20px
;
margin-right
:
20px
;
color
:
#3c3c3c
;
color
:
#3c3c3c
;
}
}
.view-live-button
{
z-index
:
10000
;
position
:
absolute
;
top
:
15px
;
right
:
$baseline
;
padding
:
(
$baseline
/
4
)
(
$baseline
/
2
);
opacity
:
0
;
pointer-events
:
none
;
&
:hover
{
opacity
:
1
.0
;
pointer-events
:
auto
;
}
}
}
}
.new-course
{
.new-course
{
...
...
cms/templates/index.html
View file @
1a1be106
...
@@ -61,9 +61,10 @@
...
@@ -61,9 +61,10 @@
<ul
class=
"class-list"
>
<ul
class=
"class-list"
>
%for course, url in courses:
%for course, url in courses:
<li>
<li>
<a
href=
"${url}"
class=
"class-name"
>
<a
class=
"class-link"
href=
"${url}"
class=
"class-name"
>
<span
class=
"class-name"
>
${course}
</span>
<span
class=
"class-name"
>
${course}
</span>
</a>
</a>
<a
href=
"#"
class=
"button view-button view-live-button"
><i
class=
"ss-icon ss-symbolicons-block icon icon-view"
>

</i>
View Live
</a>
</li>
</li>
%endfor
%endfor
</ul>
</ul>
...
...
cms/templates/overview.html
View file @
1a1be106
...
@@ -137,7 +137,7 @@
...
@@ -137,7 +137,7 @@
<a
href=
"#"
class=
"button new-button new-courseware-section-button"
><i
class=
"ss-icon ss-symbolicons-standard icon icon-create"
>
+
</i>
New Section
</a>
<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>
<li
class=
"nav-item"
>
<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 Cours
e
</a>
<a
href=
"#"
class=
"button view-button view-
live-button"
><i
class=
"ss-icon ss-symbolicons-block icon icon-view"
>

</i>
View Liv
e
</a>
</li>
</li>
</ul>
</ul>
</nav>
</nav>
...
...
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