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
f637cc57
Commit
f637cc57
authored
Oct 02, 2012
by
Calen Pennington
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #800 from MITx/feature/tomg/cms-release-flow
private/public unit
parents
91eb2cf9
76559af8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
16 deletions
+18
-16
cms/static/sass/_base.scss
+2
-2
cms/static/sass/_subsection.scss
+6
-2
cms/static/sass/_unit.scss
+0
-0
cms/templates/unit.html
+10
-12
No files found.
cms/static/sass/_base.scss
View file @
f637cc57
...
...
@@ -183,8 +183,8 @@ label {
}
.row
{
margin-bottom
:
1
5
px
;
padding-bottom
:
1
5
px
;
margin-bottom
:
1
0
px
;
padding-bottom
:
1
0
px
;
border-bottom
:
1px
solid
#cbd1db
;
}
}
...
...
cms/static/sass/_subsection.scss
View file @
f637cc57
...
...
@@ -83,7 +83,7 @@
label
{
display
:
inline-block
!
important
;
margin-right
:
10px
;
line-height
:
3
1px
;
line-height
:
2
1px
;
}
a
{
...
...
@@ -100,6 +100,10 @@
.large-toggle
{
width
:
41px
;
background
:
url(../img/large-toggles.png)
no-repeat
;
background-position
:
0
-5px
;
background-position
:
0
-50px
;
.hidden
{
background-position
:
0
-5px
;
}
}
}
cms/static/sass/_unit.scss
View file @
f637cc57
This diff is collapsed.
Click to expand it.
cms/templates/unit.html
View file @
f637cc57
...
...
@@ -49,8 +49,8 @@
</article>
</div>
<div
class=
"sidebar
wip-box
"
>
<div
class=
"unit-properties window"
>
<div
class=
"sidebar"
>
<div
class=
"unit-properties window
wip-box
"
>
<h4>
Unit Properties
</h4>
<div
class=
"window-contents"
>
<div
class=
"due-date-input row"
>
...
...
@@ -61,21 +61,19 @@
<a
href=
"#"
class=
"remove-date"
>
Remove due date
</a>
</div>
</div>
<div
class=
"visibility row"
>
<label>
Visibility:
<!-- <span class="description">Shows or hides this subsection and the units within it.</span>-->
</label>
<a
href=
"#"
class=
"toggle-off"
>
hidden
</a><a
href=
"#"
class=
"large-toggle"
></a><a
href=
"#"
class=
"toggle-on"
>
shown
</a>
</div>
<div
class=
"status row"
>
<label
class=
"inline-label"
>
Status:
</label>
<div
class=
"row visibility"
>
<label
class=
"inline-label"
>
Visibility:
</label>
<select>
<option>
Draft
</option>
<option>
Released
</option>
<option>
Public
</option>
<option>
Private
</option>
</select>
</div>
<div
class=
"row status"
>
<p>
This unit is scheduled to be released to
<strong>
students
</strong>
on
<strong>
10/12/2012
</strong>
with the subsection
<a
href=
"#"
>
"Administrivia and Circuit Elements."
</a></p>
</div>
<div
class=
"row unit-actions"
>
<a
href=
"#"
class=
"save-button"
>
Save
Draft
</a>
<a
href=
"#"
class=
"save-button"
>
Save
</a>
<a
href=
"preview.html"
target=
"_blank"
class=
"preview-button"
>
Preview
</a>
<a
href=
"#"
class=
"release-button"
>
Release
</a>
</div>
</div>
</div>
...
...
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