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
3b42ea7e
Commit
3b42ea7e
authored
Nov 07, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added basic settings markup and revised sections based on additional fields/info needed
parent
7887f92e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
222 additions
and
22 deletions
+222
-22
cms/static/sass/_base.scss
+2
-1
cms/static/sass/_settings.scss
+13
-1
cms/templates/settings.html
+207
-20
No files found.
cms/static/sass/_base.scss
View file @
3b42ea7e
...
@@ -80,7 +80,8 @@ footer {
...
@@ -80,7 +80,8 @@ footer {
input
[
type
=
"text"
],
input
[
type
=
"text"
],
input
[
type
=
"email"
],
input
[
type
=
"email"
],
input
[
type
=
"password"
]
{
input
[
type
=
"password"
],
textarea
{
padding
:
6px
8px
8px
;
padding
:
6px
8px
8px
;
@include
box-sizing
(
border-box
);
@include
box-sizing
(
border-box
);
border
:
1px
solid
#b0b6c2
;
border
:
1px
solid
#b0b6c2
;
...
...
cms/static/sass/_settings.scss
View file @
3b42ea7e
...
@@ -37,13 +37,17 @@
...
@@ -37,13 +37,17 @@
}
}
}
}
input
{
input
,
textarea
{
font-size
:
15px
;
font-size
:
15px
;
&
.long
{
&
.long
{
width
:
400px
;
width
:
400px
;
}
}
&
.tall
{
height
:
200px
;
}
&
.short
{
&
.short
{
width
:
100px
;
width
:
100px
;
}
}
...
@@ -54,6 +58,14 @@
...
@@ -54,6 +58,14 @@
}
}
.settings-page-section
{
.settings-page-section
{
>
.alert
{
display
:
none
;
&
.is-shown
{
display
:
block
;
}
}
>
section
{
>
section
{
display
:
none
;
display
:
none
;
margin-bottom
:
40px
;
margin-bottom
:
40px
;
...
...
cms/templates/settings.html
View file @
3b42ea7e
...
@@ -90,35 +90,211 @@
...
@@ -90,35 +90,211 @@
<nav
class=
"settings-page-menu"
>
<nav
class=
"settings-page-menu"
>
<ul>
<ul>
<li><a
href=
"#"
class=
"is-shown"
data-section=
"details"
>
Course Details
</a></li>
<li><a
href=
"#"
class=
"is-shown"
data-section=
"details"
>
Course Details
</a></li>
<li><a
href=
"#"
data-section=
"staff"
>
Staff
</a></li>
<li><a
href=
"#"
data-section=
"grading"
>
Grading
</a></li>
<li><a
href=
"#"
data-section=
"grading"
>
Grading
</a></li>
<li><a
href=
"#"
data-section=
"handouts"
>
Handouts
&
Guides
</a></li>
<li><a
href=
"#"
data-section=
"problems"
>
Problems
</a></li>
<li><a
href=
"#"
data-section=
"problems"
>
Problems
</a></li>
</ul>
</ul>
</nav>
</nav>
</div>
</div>
<div
class=
"settings-page-section main-column"
>
<div
class=
"settings-page-section main-column"
>
<section
class=
"is-shown settings-details"
>
<section
class=
"is-shown settings-details"
>
<h2>
Course Details
</h2>
<h2>
Course Details
</h2>
<div
class=
"row"
>
<label>
Course Name:
</label>
<section
class=
"settings-details-basic"
>
<input
type=
"text"
class=
"course-name-input long"
>
<header>
</div>
<h3>
Basic Information
</h3>
<div
class=
"row"
>
<span
class=
"detail"
>
The nuts and bolts of your class
</span>
<label>
Organization:
</label>
</header>
<input
type=
"text"
class=
"course-organization-input long"
>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Course Name:
</label>
<label>
Course Number:
</label>
<input
type=
"text"
class=
"long course-name-input"
>
<input
type=
"text"
class=
"course-number-input short"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Organization:
</label>
<label>
Start Date:
</label>
<input
type=
"text"
class=
"long course-organization-input"
>
<input
type=
"text"
class=
"start-date-input date"
>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<label>
Course Number:
</label>
<label>
Enrollment End Date:
</label>
<input
type=
"text"
class=
"short course-number-input"
>
<input
type=
"text"
class=
"start-date-input date"
>
<span
class=
"tip"
>
e.g. 101x
</span>
</div>
</div>
<div
class=
"row"
>
<label>
Course Description:
</label>
<textarea
class=
"long tall course-description-input"
></textarea>
</div>
</section>
<section
class=
"settings-details-dates"
>
<header>
<h3>
Dates
&
Times
</h3>
<span
class=
"detail"
>
The nuts and bolts of your class
</span>
</header>
<div
class=
"row"
>
<label>
Classes Start Date:
</label>
<input
type=
"text"
class=
"date course-start-date-input"
>
<span
class=
"tip"
>
First day the class begins
</span>
</div>
<div
class=
"row"
>
<label>
Classes End Date:
</label>
<input
type=
"text"
class=
"date course-end-date-input"
>
<span
class=
"tip"
>
Last day of class activty
</span>
</div>
<div
class=
"row"
>
<label>
Milestone :
</label>
<div
class=
"field"
>
<ol
class=
"input-list course-milestone-list"
>
<li
class=
"course-milestone-list-element"
>
<div
class=
"course-milestone-date"
>
<input
type=
"text"
class=
"course-milestone-date-input date"
>
<span
class=
"label-micro"
>
Milestone Date
</span>
</div>
<div
class=
"course-milestone-name"
>
<input
type=
"text"
class=
"course-milestone-name-input short"
>
<span
class=
"label-micro"
>
Milestone Name
</span>
</div>
<a
href=
"#"
class=
"delete-icon remove-milestone-data"
></a>
</li>
</ol>
<a
href=
"#"
class=
"new-item new-course-milestone-item add-milestone-data"
>
<span
class=
"plus-icon-small"
></span>
New Class Milestone
</a>
</div>
</div>
</section>
<section
class=
"settings-details-marketing"
>
<header>
<h3>
Introducing Your Course
</h3>
<span
class=
"detail"
>
How your course will be shown to students considering taking it
</span>
</header>
<div
class=
"row"
>
<label>
Course Overview:
</label>
<textarea
class=
"long tall course-overview"
></textarea>
</div>
<div
class=
"row"
>
<label>
Course Statement:
</label>
<textarea
class=
"long course-shortdescription"
></textarea>
<span
class=
"tip"
>
Used to introduce your class to perspective students
</span>
</div>
<div
class=
"row"
>
<label>
Introduction Video:
</label>
<input
type=
"file"
class=
"course-video"
>
</div>
</section>
<section
class=
"settings-details-requirements"
>
<header>
<h3>
Requirements
</h3>
<span
class=
"detail"
>
Expectations of the students taking this course
</span>
</header>
<div
class=
"row"
>
<label>
Prerequisites
</label>
<textarea
class=
"long tall course-prerequisites"
></textarea>
</div>
<div
class=
"row optional"
>
<label>
Prerequisites Links
</label>
<div
class=
"field"
>
<input
type=
"text"
class=
"long course-prerequisites-links"
>
<a
href=
"#"
class=
"new-item new-course-prerequisites-links-item add-links-data"
>
<span
class=
"plus-icon-small"
></span>
New Link
</a>
</div>
</div>
<div
class=
"row"
>
<label>
Requirements:
</label>
<textarea
class=
"long tall course-requirements"
></textarea>
</div>
<div
class=
"row"
>
<label>
Hours of Effort per Week:
</label>
<input
type=
"text"
class=
"course-effort short"
>
</div>
<div
class=
"row"
>
<label>
Textbooks:
</label>
<div
class=
"field"
>
<ol
class=
"input-list course-textbook-list"
>
<li
class=
"course-textbook-list-element"
>
<div
class=
"course-textbook-name"
>
<input
type=
"text"
class=
"long course-textbook-name-input"
>
<span
class=
"label-micro"
>
Textbook Name
</span>
</div>
<div
class=
"course-textbook-url"
>
<input
type=
"text"
class=
"long course-textbook-url-input"
>
<span
class=
"label-micro"
>
Textbook URL
</span>
</div>
<a
href=
"#"
class=
"delete-icon remove-textbook-data"
></a>
</li>
</ol>
<a
href=
"#"
class=
"new-item new-course-textbook-item add-textbook-data"
>
<span
class=
"plus-icon-small"
></span>
New Textbook
</a>
</div>
</div>
</section>
<section
class=
"settings-details-more"
>
<header>
<h3>
More Information
</h3>
<span
class=
"detail"
>
Other helpful information about the course
</span>
</header>
<div
class=
"row"
>
<label>
Frequently Asked Questions:
</label>
<div
class=
"field"
>
<ol
class=
"input-list course-faq-list"
>
<li
class=
"course-faq-list-element"
>
<div
class=
"course-faq-question"
>
<input
type=
"text"
class=
"long course-faq-question-input"
>
<span
class=
"label-micro"
>
Question
</span>
</div>
<div
class=
"course-faq-answer"
>
<textarea
class=
"long tall course-faq-answer-input"
></textarea>
<span
class=
"label-micro"
>
Answer
</span>
</div>
<a
href=
"#"
class=
"delete-icon remove-faq-data"
></a>
</li>
</ol>
<a
href=
"#"
class=
"new-item new-course-faq-item add-faq-data"
>
<span
class=
"plus-icon-small"
></span>
New Question
&
Answer
</a>
</div>
</div>
</section>
</section>
</section>
<section
class=
"settings-staff"
>
<h2>
Course Staff
</h2>
</section>
<section
class=
"settings-grading"
>
<section
class=
"settings-grading"
>
<h2>
Grading
</h2>
<h2>
Grading
</h2>
<section>
<section>
...
@@ -200,6 +376,17 @@
...
@@ -200,6 +376,17 @@
</div>
</div>
</section>
</section>
</section>
</section>
<section
class=
"settings-handouts"
>
<h2>
Handouts
&
Guides
</h2>
<div
class=
"row"
>
<label>
Syllabus:
</label>
<input
type=
"file"
class=
"course-handouts-syllabus"
>
<span
class=
"tip"
>
PDF formatted file
</span>
</div>
</section>
<section
class=
"settings-problems"
>
<section
class=
"settings-problems"
>
<h2>
Problems
</h2>
<h2>
Problems
</h2>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
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