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
8478f7af
Commit
8478f7af
authored
Oct 01, 2012
by
Tom Giannattasio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
styled course list page
parent
8f0b0684
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
11 deletions
+67
-11
cms/static/sass/_dashboard.scss
+45
-0
cms/static/sass/base-style.scss
+1
-0
cms/templates/index.html
+21
-11
No files found.
cms/static/sass/_dashboard.scss
0 → 100644
View file @
8478f7af
.class-list
{
margin-top
:
20px
;
border-radius
:
3px
;
border
:
1px
solid
$darkGrey
;
background
:
#fff
;
box-shadow
:
0
1px
2px
rgba
(
0
,
0
,
0
,
.1
);
li
{
border-bottom
:
1px
solid
$mediumGrey
;
&
:last-child
{
border-bottom
:
none
;
}
}
a
{
padding
:
20px
25px
;
line-height
:
1
.3
;
&
:hover
{
background
:
$paleYellow
;
}
}
.class-name
{
display
:
block
;
font-size
:
22px
;
font-weight
:
300
;
}
.detail
{
font-size
:
14px
;
font-weight
:
400
;
margin-right
:
20px
;
color
:
#3c3c3c
;
}
}
.new-course-button
{
@include
grey-button
;
display
:
block
;
padding
:
20px
;
text-align
:
center
;
}
\ No newline at end of file
cms/static/sass/base-style.scss
View file @
8478f7af
...
...
@@ -9,6 +9,7 @@
@import
"cms_mixins"
;
@import
"base"
;
@import
"header"
;
@import
"dashboard"
;
@import
"courseware"
;
@import
"subsection"
;
@import
"unit"
;
...
...
cms/templates/index.html
View file @
8478f7af
...
...
@@ -3,18 +3,28 @@
<
%
block
name=
"title"
>
Courses
</
%
block>
<
%
block
name=
"content"
>
<h1>
edX Course Management
</h1>
<section
class=
"main-container"
>
<header>
<h1>
Courses
</h1>
<a
href=
"#"
class=
"wip"
>
+
</a>
</header>
<div
class=
"main-wrapper"
>
<div
class=
"inner-wrapper"
>
<h1>
My Courses
</h1>
<article
class=
"my-classes"
>
<a
href=
"#"
class=
"new-course-button wip-box"
><span
class=
"plus-icon"
></span>
New Course
</a>
<ul
class=
"class-list"
>
%for course, url in courses:
<li>
<a
href=
"${url}"
class=
"class-name"
>
<span
class=
"class-name"
>
${course}
</span>
<!--
<span class="detail">Started: 9/21/2012</span>
<span class="detail">Ends: 10/21/2012</span>
-->
</a>
</li>
%endfor
</ul>
</article>
</div>
</div>
<ol>
%for course, url in courses:
<li><a
href=
"${url}"
>
${course}
</a></li>
%endfor
</ol>
</section>
</
%
block>
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