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
0ef56bb0
Commit
0ef56bb0
authored
Oct 05, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #830 from MITx/feature/tomg/cms-style-cleanup
Random style updates
parents
580164e1
1e68123e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
41 deletions
+25
-41
cms/static/sass/_cms_mixins.scss
+1
-1
cms/static/sass/_courseware.scss
+1
-3
cms/static/sass/_login.scss
+1
-0
cms/static/sass/_unit.scss
+5
-1
cms/templates/overview.html
+3
-1
cms/templates/signup.html
+1
-1
cms/templates/unit.html
+13
-34
No files found.
cms/static/sass/_cms_mixins.scss
View file @
0ef56bb0
...
...
@@ -153,7 +153,7 @@
}
&
.editing
{
background
:
#
d1dae3
;
background
:
#
fffcf1
;
}
.draft-item
,
...
...
cms/static/sass/_courseware.scss
View file @
0ef56bb0
input
.courseware-unit-search-input
{
position
:
absolute
;
right
:
0
;
top
:
5px
;
float
:
left
;
width
:
260px
;
background-color
:
#fff
;
}
...
...
cms/static/sass/_login.scss
View file @
0ef56bb0
...
...
@@ -13,6 +13,7 @@
box-shadow
:
0
1px
1px
rgba
(
0
,
0
,
0
,
0
.2
)
,
0
-1px
0px
rgba
(
255
,
255
,
255
,
0
.05
)
inset
,
0
1px
0
rgba
(
255
,
255
,
255
,
.25
)
inset
;
h1
{
float
:
none
;
margin
:
5px
0
;
font-size
:
15px
;
font-weight
:
300
;
...
...
cms/static/sass/_unit.scss
View file @
0ef56bb0
...
...
@@ -220,6 +220,10 @@
}
}
.xmodule_display
{
padding
:
10px
20px
;
}
.component-editor
{
@include
edit-box
;
display
:
none
;
...
...
@@ -382,7 +386,7 @@
}
.new-unit-item
{
margin
-left
:
50px
;
margin
:
0
0
15px
50px
;
}
}
}
...
...
cms/templates/overview.html
View file @
0ef56bb0
...
...
@@ -9,7 +9,9 @@
<div
class=
"main-wrapper"
>
<div
class=
"inner-wrapper"
>
<h1>
Courseware
</h1>
<input
type=
"text"
class=
"courseware-unit-search-input search wip-box"
placeholder=
"search units"
/>
<div
class=
"page-actions"
>
<input
type=
"text"
class=
"courseware-unit-search-input search wip-box"
placeholder=
"search units"
/>
</div>
<article
class=
"courseware-overview"
>
<a
href=
"#"
class=
"new-courseware-section-button wip-box"
><span
class=
"plus-icon"
></span>
New Section
</a>
% for section in sections:
...
...
cms/templates/signup.html
View file @
0ef56bb0
...
...
@@ -51,7 +51,7 @@
</div>
</form>
<div
class=
"log-in-extra"
>
<p>
Not enrolled?
<a
href=
"/"
>
Sign up
.
</a></p>
<p>
Already enrolled?
<a
href=
"/"
>
Log In
.
</a></p>
</div>
</article>
...
...
cms/templates/unit.html
View file @
0ef56bb0
...
...
@@ -92,46 +92,25 @@
<h4>
Unit Location
</h4>
<div
class=
"window-contents"
>
<div><input
type=
"text"
class=
"url"
value=
"/courseware/${section.url_name}/${subsection.url_name}"
disabled
/></div>
<section
class=
"courseware-section branch"
>
<header>
<div
class=
"item-details"
>
<h3>
${section.display_name}
</h3>
</div>
</header>
<div
class=
"unit-list"
>
<ol>
<li>
<a
href=
"#"
class=
"section-item"
>
${section.display_name}
</a>
<ol>
<li
class=
"branch"
>
<div
class=
"section-item"
>
<div>
<a
href=
"${reverse('edit_subsection', args=[subsection.location])}"
>
<span
class=
"folder-icon"
></span>
<span
class=
"subsection-name"
><span
class=
"subsection-name-value"
>
${subsection.display_name}
</span></span>
</a>
</div>
</div>
${units.enum_units(subsection, actions=False, selected=unit.location)}
<li>
<a
href=
"${reverse('edit_subsection', args=[subsection.location])}"
class=
"section-item"
>
<span
class=
"folder-icon"
></span>
<span
class=
"subsection-name"
><span
class=
"subsection-name-value"
>
${subsection.display_name}
</span></span>
</a>
<ol>
${units.enum_units(subsection, actions=False, selected=unit.location)}
</ol>
</li>
</ol>
</
div
>
</
section>
</
li
>
</
ol>
</div>
</div>
</div>
</div>
</div>
<div
class=
"history-modal"
>
<div
class=
"modal-body"
>
<h2>
S3V2: Properties of Linearity
</h2>
<div
class=
"video-unit"
><img
src=
"images/video-module.png"
></div>
<p><span
class=
"textbook-icon"
></span>
More information given in the text.
</p>
<p><span
class=
"slides-icon"
></span>
Lecture Slides Handout [Clean] [Annotated]
</p>
</div>
<div
class=
"modal-actions"
>
<a
href=
"#"
class=
"revert-button"
>
Revert to this version
</a>
<a
href=
"#"
class=
"close-button"
>
Close
</a>
</div>
</div>
<div
class=
"modal-cover"
></div>
</
%
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