Commit f8ee5c26 by Don Mitchell

Merge branch 'feature/btalbot/cms-settings' of github.com:MITx/mitx into

feature/dhm/cms-settings

Conflicts:
	cms/templates/settings.html
parents 339949f9 6c3c3776
...@@ -16,9 +16,9 @@ CMS.Views.Settings.Main = Backbone.View.extend({ ...@@ -16,9 +16,9 @@ CMS.Views.Settings.Main = Backbone.View.extend({
this.subviews[this.currentTab] = this.createSubview(); this.subviews[this.currentTab] = this.createSubview();
// fill in fields // fill in fields
this.$el.find("#course-name-input").val(this.model.get('courseLocation').get('name')); this.$el.find("#course-name").val(this.model.get('courseLocation').get('name'));
this.$el.find("#course-organization-input").val(this.model.get('courseLocation').get('org')); this.$el.find("#course-organization").val(this.model.get('courseLocation').get('org'));
this.$el.find("#course-number-input").val(this.model.get('courseLocation').get('course')); this.$el.find("#course-number").val(this.model.get('courseLocation').get('course'));
this.render(); this.render();
}, },
...@@ -75,24 +75,24 @@ CMS.Views.Settings.Details = Backbone.View.extend({ ...@@ -75,24 +75,24 @@ CMS.Views.Settings.Details = Backbone.View.extend({
"blur input" : "updateModel" "blur input" : "updateModel"
}, },
render: function() { render: function() {
if (this.model.has('start_date')) this.$el.find('#course-start-date-input').datepicker('setDate', this.model.get('start_date')); if (this.model.has('start_date')) this.$el.find('#course-start-date').datepicker('setDate', this.model.get('start_date'));
if (this.model.has('end_date')) this.$el.find('#course-end-date-input').datepicker('setDate', this.model.get('end_date')); if (this.model.has('end_date')) this.$el.find('#course-end-date').datepicker('setDate', this.model.get('end_date'));
if (this.model.has('enrollment_start')) this.$el.find('#course-enrollment-start-input').datepicker('setDate', this.model.get('enrollment_start')); if (this.model.has('enrollment_start')) this.$el.find('#course-enrollment-start').datepicker('setDate', this.model.get('enrollment_start'));
if (this.model.has('enrollment_end')) this.$el.find('#course-enrollment-end-input').datepicker('setDate', this.model.get('enrollment_end')); if (this.model.has('enrollment_end')) this.$el.find('#course-enrollment-end').datepicker('setDate', this.model.get('enrollment_end'));
}, },
updateModel: function(event) { updateModel: function(event) {
// figure out which field // figure out which field
switch (event.currentTarget.id) { switch (event.currentTarget.id) {
case 'course-start-date-input': case 'course-start-date':
this.model.set('start_date', $(event.currentTarget).datepicker('getDate')); this.model.set('start_date', $(event.currentTarget).datepicker('getDate'));
break; break;
case 'course-end-date-input': case 'course-end-date':
this.model.set('end_date', $(event.currentTarget).datepicker('getDate')); this.model.set('end_date', $(event.currentTarget).datepicker('getDate'));
break; break;
case 'course-enrollment-start-date-input': case 'course-enrollment-start-date':
this.model.set('enrollment_start', $(event.currentTarget).datepicker('getDate')); this.model.set('enrollment_start', $(event.currentTarget).datepicker('getDate'));
break; break;
case 'course-enrollment-end-date-input': case 'course-enrollment-end-date':
this.model.set('enrollment_end', $(event.currentTarget).datepicker('getDate')); this.model.set('enrollment_end', $(event.currentTarget).datepicker('getDate'));
break; break;
......
...@@ -83,7 +83,7 @@ ...@@ -83,7 +83,7 @@
.detail { .detail {
float: right; float: right;
marign-top: 3px; margin-top: 3px;
color: $mediumGrey; color: $mediumGrey;
font-size: 13px; font-size: 13px;
} }
...@@ -151,6 +151,11 @@ ...@@ -151,6 +151,11 @@
} }
} }
input[type="checkbox"], input[type="radio"] {
}
.input-default input, .input-default textarea { .input-default input, .input-default textarea {
color: $mediumGrey; color: $mediumGrey;
background: $lightGrey; background: $lightGrey;
...@@ -165,98 +170,6 @@ ...@@ -165,98 +170,6 @@
font-size: 13px; font-size: 13px;
} }
.field.ui-status {
> .input {
display: block !important;
margin-bottom: 15px;
}
.ui-status-input-checkbox input, .ui-status-input-radio input {
position: absolute;
top: -9999px;
left: -9999px;
}
label {
cursor: pointer;
}
.ui-status-input-checkbox input ~ label, .ui-status-input-radio input ~ label {
position: relative;
left: -30px;
display: inline-block;
z-index: 100;
margin: 0 0 0 5px;
padding-left: 30px;
color: $offBlack;
opacity: 0.50;
cursor: pointer;
@include transition(opacity 0.25s ease-in-out);
&:before {
display: inline-block;
margin-right: 10px;
}
&:after {
display: inline-block;
margin-left: 10px;
}
~ .tip {
margin-top: 0;
@include transition(color 0.25s ease-in-out);
}
}
.ui-status-indic {
background: transparent url('../images/correct-icon.png') 0 0 no-repeat;
z-index: 10;
display: inline-block;
height: 20px;
width: 30px;
opacity: 0.50;
@include transition(opacity 0.25s ease-in-out);
}
.ss-check {
color: $green;
}
.ss-delete {
color: $red;
}
.ui-status-input-checkbox input:checked ~ label, .ui-status-input-radio input:checked ~ label {
opacity: 0.99;
&:after {
}
&:before {
}
~ .tip {
color: $darkGrey;
}
}
.ui-status-input-checkbox input:checked ~ .ui-status-indic, .ui-status-input-radio input:checked ~ .ui-status-indic {
background: transparent url('../images/correct-icon.png') 0 0 no-repeat;
opacity: 0.99;
}
// disabled
.ui-status-input-checkbox input:disabled, .ui-status-input-radio input:disabled {
color: $mediumGrey;
}
.ui-status-input-checkbox input:disabled ~ .ui-status-indic, .ui-status-input-radio input:disabled ~ .ui-status-indic {
color: $mediumGrey;
}
}
.tip { .tip {
color: $mediumGrey; color: $mediumGrey;
font-size: 13px; font-size: 13px;
...@@ -318,7 +231,7 @@ ...@@ -318,7 +231,7 @@
&.multi { &.multi {
display: block; display: block;
background: tint($lightGrey, 50%); background: tint($lightGrey, 50%);
padding: 15px; padding: 20px 15px;
@include border-radius(4px); @include border-radius(4px);
@include box-sizing(border-box); @include box-sizing(border-box);
...@@ -385,9 +298,48 @@ ...@@ -385,9 +298,48 @@
&:last-child { &:last-child {
border: 0; border: 0;
} }
.row {
}
} }
} }
//radio buttons and checkboxes
.input-radio {
@include clearfix();
input {
display: block;
float: left;
margin-right: 10px;
}
.copy {
position: relative;
top: -5px;
float: left;
width: 350px;
}
label {
display: block;
margin-bottom: 0;
}
.tip {
display: block;
margin-top: 0;
}
.message-error {
}
}
.input-checkbox {
}
// enumerated inputs // enumerated inputs
&.enum { &.enum {
} }
...@@ -405,7 +357,7 @@ ...@@ -405,7 +357,7 @@
} }
&.multi-inline { &.multi-inline {
@include clearfix; @include clearfix();
.group { .group {
width: 170px; width: 170px;
...@@ -516,7 +468,6 @@ ...@@ -516,7 +468,6 @@
} }
.current-faculty-photo { .current-faculty-photo {
overflow: hidden;
padding: 0; padding: 0;
img { img {
...@@ -532,10 +483,24 @@ ...@@ -532,10 +483,24 @@
.settings-grading { .settings-grading {
.course-grading-assignment-list-item {
.course-grading-gradeweight, .course-grading-totalassignments, .course-grading-totalassignmentsdroppable { .row:nth-child(4) {
border: none;
margin-bottom: 0;
padding-bottom: 0;
}
}
input { .input-list {
.row {
.input {
&:last-child {
margin-bottom: 0;
padding-bottom: 0;
}
}
} }
} }
} }
...@@ -556,7 +521,7 @@ ...@@ -556,7 +521,7 @@
.settings-discussions { .settings-discussions {
.settings-discussions-categories .course-discussions-categories-list-item { .course-discussions-categories-list-item {
label { label {
display: none; display: none;
......
...@@ -142,20 +142,20 @@ ...@@ -142,20 +142,20 @@
</header> </header>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-name-input">Course Name:</label> <label for="course-name">Course Name:</label>
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<input type="text" class="long" id="course-name-input" value="[Course Name]" disabled="disabled"> <input type="text" class="long" id="course-name" value="[Course Name]" disabled="disabled">
<span class="tip tip-stacked">This is used in <a href="${get_lms_link_for_item(context_course.location,True)}">your course URL</a>, and cannot be changed</span> <span class="tip tip-stacked">This is used in <a href="[COURSE_SUMMARY_URL]">your course URL</a>, and cannot be changed</span>
</div> </div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-organization-input">Organization:</label> <label for="course-organization">Organization:</label>
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<input type="text" class="long" id="course-organization-input" value="[Course Organization]" disabled="disabled"> <input type="text" class="long" id="course-organization" value="[Course Organization]" disabled="disabled">
<span class="tip tip-stacked">This is used in <a href="${get_lms_link_for_item(context_course.location,True)}">your course URL</a>, and cannot be changed</span> <span class="tip tip-stacked">This is used in <a href="${get_lms_link_for_item(context_course.location,True)}">your course URL</a>, and cannot be changed</span>
</div> </div>
</div> </div>
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
<label for="course-number-input">Course Number:</label> <label for="course-number-input">Course Number:</label>
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<input type="text" class="short" id="course-number-input" value="[Course No.]" disabled="disabled"> <input type="text" class="short" id="course-number" value="[Course No.]" disabled="disabled">
<span class="tip tip-inline">e.g. 101x</span> <span class="tip tip-inline">e.g. 101x</span>
<span class="tip tip-stacked">This is used in <a href="${get_lms_link_for_item(context_course.location,True)}">your course URL</a>, and cannot be changed</span> <span class="tip tip-stacked">This is used in <a href="${get_lms_link_for_item(context_course.location,True)}">your course URL</a>, and cannot be changed</span>
</div> </div>
...@@ -178,7 +178,7 @@ ...@@ -178,7 +178,7 @@
<section class="settings-details-schedule"> <section class="settings-details-schedule">
<header> <header>
<h3>Course Schedule</h3> <h3>Course Schedule</h3>
<span class="detail">Important steps and segments of your your course</span> <span class="detail">Important steps and segments of your course</span>
</header> </header>
<div class="row row-col2"> <div class="row row-col2">
...@@ -187,14 +187,14 @@ ...@@ -187,14 +187,14 @@
<div class="field"> <div class="field">
<div class="input multi multi-inline"> <div class="input multi multi-inline">
<div class="group"> <div class="group">
<label for="course-start-date-input">Start Date</label> <label for="course-start-date">Start Date</label>
<input type="text" class="start-date date set-date" id="course-start-date-input" placeholder="MM/DD/YYYY"> <input type="text" class="start-date date set-date" id="course-start-date" placeholder="MM/DD/YYYY">
<span class="tip tip-stacked">First day the course begins</span> <span class="tip tip-stacked">First day the course begins</span>
</div> </div>
<div class="group"> <div class="group">
<label for="course-end-date-input">End Date</label> <label for="course-end-date">End Date</label>
<input type="text" class="start-date date set-date" id="course-end-date-input" placeholder="MM/DD/YYYY"> <input type="text" class="start-date date set-date" id="course-end-date" placeholder="MM/DD/YYYY">
<span class="tip tip-stacked">Last day the course is active</span> <span class="tip tip-stacked">Last day the course is active</span>
</div> </div>
</div> </div>
...@@ -207,14 +207,14 @@ ...@@ -207,14 +207,14 @@
<div class="field"> <div class="field">
<div class="input multi multi-inline"> <div class="input multi multi-inline">
<div class="group"> <div class="group">
<label for="course-enrollment-start-date-input">Start Date</label> <label for="course-enrollment-start-date">Start Date</label>
<input type="text" class="start-date date set-date" id="course-enrollment-start-date-input" placeholder="MM/DD/YYYY"> <input type="text" class="start-date date set-date" id="course-enrollment-start-date" placeholder="MM/DD/YYYY">
<span class="tip tip-stacked">First day students can enroll</span> <span class="tip tip-stacked">First day students can enroll</span>
</div> </div>
<div class="group"> <div class="group">
<label for="course-enrollment-end-date-input">End Date</label> <label for="course-enrollment-end-date">End Date</label>
<input type="text" class="start-date date set-date" id="course-enrollment-end-date-input" placeholder="MM/DD/YYYY"> <input type="text" class="start-date date set-date" id="course-enrollment-end-date" placeholder="MM/DD/YYYY">
<span class="tip tip-stacked">Last day students can enroll</span> <span class="tip tip-stacked">Last day students can enroll</span>
</div> </div>
</div> </div>
...@@ -222,18 +222,18 @@ ...@@ -222,18 +222,18 @@
</div> </div>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-syllabus-input">Course Syllabus</label> <label for="course-syllabus">Course Syllabus</label>
<div class="field"> <div class="field">
<div class="input input-existing"> <div class="input input-existing">
<div class=" current current-course-syllabus"> <div class=" current current-course-syllabus">
<span class="doc-filename"><a href="[link to file]".pdf> <i class="ss-icon ss-standard">&#x1F4C4;</i>CS184x_syllabus.pdf</a></span> <span class="doc-filename"><a href="[link to file]".pdf> <i class="ss-icon ss-standard">&#x1F4C4;</i>CS184x_syllabus.pdf</a></span>
<a href="#" class="remove-item remove-course-syllabus remove-doc-data"><span class="delete-icon"></span> Delete Syllabus</a> <a href="#" class="remove-item remove-course-syllabus remove-doc-data" id="course-syllabus"><span class="delete-icon"></span> Delete Syllabus</a>
</div> </div>
</div> </div>
<div class="input"> <div class="input">
<a href="#" class="new-item new-course-syllabus add-syllabus-data" id="course-syllabus-input"> <a href="#" class="new-item new-course-syllabus add-syllabus-data" id="course-syllabus">
<span class="upload-icon"></span>Upload Syllabus <span class="upload-icon"></span>Upload Syllabus
</a> </a>
<span class="tip tip-inline">PDF formatting preferred</span> <span class="tip tip-inline">PDF formatting preferred</span>
...@@ -255,7 +255,7 @@ ...@@ -255,7 +255,7 @@
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<textarea class="long tall edit-box tinymce" id="course-overview"></textarea> <textarea class="long tall edit-box tinymce" id="course-overview"></textarea>
<span class="tip tip-stacked">Introductions, prerequisites, FAQs that are used on <a href="${get_lms_link_for_item(context_course.location,True)}">your course summary page</a></span> <span class="tip tip-stacked">Introductions, prerequisites, FAQs that are used on <a href="[COURSE_SUMMARY_URL]">your course summary page</a></span>
</div> </div>
</div> </div>
</div> </div>
...@@ -314,25 +314,25 @@ ...@@ -314,25 +314,25 @@
<div class="field enum"> <div class="field enum">
<ul class="input-list course-faculty-list"> <ul class="input-list course-faculty-list">
<li class="input input-existing multi course-faculty-list-item"> <li class="input input-existing multi course-faculty-list-item">
<div class="row"> <div class="row row-col2">
<label for="course-faculty-firstname-input">Faculty First Name:</label> <label for="course-faculty-1-firstname">Faculty First Name:</label>
<div class="field"> <div class="field">
<input type="text" class="long" id="course-faculty-firstname-input"> <input type="text" class="long" id="course-faculty-1-firstname">
</div> </div>
</div> </div>
<div class="row"> <div class="row row-col2">
<label for="course-faculty-lastname-input">Faculty Last Name:</label> <label for="course-faculty-1-lastname">Faculty Last Name:</label>
<div class="field"> <div class="field">
<input type="text" class="long" id="course-faculty-lastname-input"> <input type="text" class="long" id="course-faculty-1-lastname">
</div> </div>
</div> </div>
<div class="row"> <div class="row row-col2">
<label for="course-faculty-photo-input">Faculty Photo</label> <label for="course-faculty-1-photo">Faculty Photo</label>
<div class="field"> <div class="field">
<div class="input input-existing"> <div class="input input-existing">
<div class="current current-faculty-photo"> <div class="current current-faculty-1-photo">
<img src="http://placehold.it/400x300&text=Faculty+Photo" alt="Faculty Photo" /> <img src="http://placehold.it/400x300&text=Faculty+Photo" alt="Faculty Photo" />
<a href="#" class="remove-item remove-faculty-photo remove-video-data"><span class="delete-icon"></span> Delete Faculty Photo</a> <a href="#" class="remove-item remove-faculty-photo remove-video-data"><span class="delete-icon"></span> Delete Faculty Photo</a>
</div> </div>
...@@ -341,9 +341,9 @@ ...@@ -341,9 +341,9 @@
</div> </div>
<div class="row"> <div class="row">
<label for="course-faculty-bio-input">Faculty Bio:</label> <label for="course-faculty-1-bio">Faculty Bio:</label>
<div class="field"> <div class="field">
<textarea class="long tall edit-box tinymce" id="course-faculty-bio-input"></textarea> <textarea class="long tall edit-box tinymce" id="course-faculty-1-bio"></textarea>
<span class="tip tip-stacked">A brief description of your education, experience, and expertise</span> <span class="tip tip-stacked">A brief description of your education, experience, and expertise</span>
</div> </div>
</div> </div>
...@@ -352,25 +352,25 @@ ...@@ -352,25 +352,25 @@
</li> </li>
<li class="input multi course-faculty-list-item"> <li class="input multi course-faculty-list-item">
<div class="row"> <div class="row row-col2">
<label for="course-faculty-firstname-input">Faculty First Name:</label> <label for="course-faculty-2-firstname">Faculty First Name:</label>
<div class="field"> <div class="field">
<input type="text" class="long" id="course-faculty-firstname-input"> <input type="text" class="long" id="course-faculty-2-firstname">
</div> </div>
</div> </div>
<div class="row"> <div class="row row-col2">
<label for="course-faculty-lastname-input">Faculty Last Name:</label> <label for="course-faculty-2-lastname">Faculty Last Name:</label>
<div class="field"> <div class="field">
<input type="text" class="long" id="course-faculty-lastname-input"> <input type="text" class="long" id="course-faculty-2-lastname">
</div> </div>
</div> </div>
<div class="row"> <div class="row row-col2">
<label for="course-faculty-photo-input">Faculty Photo</label> <label for="course-faculty-2-photo">Faculty Photo</label>
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<a href="#" class="new-item new-faculty-photo add-faculty-photo-data" id="course-faculty-photo-input"> <a href="#" class="new-item new-faculty-photo add-faculty-photo-data" id="course-faculty-2-photo">
<span class="upload-icon"></span>Upload Faculty Photo <span class="upload-icon"></span>Upload Faculty Photo
</a> </a>
<span class="tip tip-inline">Max size: 30KB</span> <span class="tip tip-inline">Max size: 30KB</span>
...@@ -379,10 +379,10 @@ ...@@ -379,10 +379,10 @@
</div> </div>
<div class="row"> <div class="row">
<label for="course-faculty-bio-input">Faculty Bio:</label> <label for="course-faculty-2-bio">Faculty Bio:</label>
<div class="field"> <div class="field">
<div clas="input"> <div clas="input">
<textarea class="long tall edit-box tinymce" id="course-faculty-bio-input"></textarea> <textarea class="long tall edit-box tinymce" id="course-faculty-2-bio"></textarea>
<span class="tip tip-stacked">A brief description of your education, experience, and expertise</span> <span class="tip tip-stacked">A brief description of your education, experience, and expertise</span>
</div> </div>
</div> </div>
...@@ -410,7 +410,7 @@ ...@@ -410,7 +410,7 @@
<div class="row"> <div class="row">
<div class="grade-controls"> <div class="grade-controls course-grading-range">
<a href="#" class="new-grade-button"><span class="plus-icon"></span></a> <a href="#" class="new-grade-button"><span class="plus-icon"></span></a>
<div class="grade-slider"> <div class="grade-slider">
<div class="grade-bar"> <div class="grade-bar">
...@@ -466,13 +466,13 @@ ...@@ -466,13 +466,13 @@
</header> </header>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-graceperiod">General Assignment Deadline:</label> <label for="course-grading-deadline">General Assignment Deadline:</label>
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<input type="text" class="short" id="course-grading-duetime" placeholder="HH:MM"> <input type="text" class="short" id="course-grading-deadline" placeholder="HH:MM">
<span class="tip tip-inline">Boston, MA Local Time (UTC/GMT -5 hours)</span> <span class="tip tip-stacked">Boston, MA Local Time (UTC/GMT -5 hours).<br />
<span class="tip tip-stacked"><a href="http://www.worldtimeserver.com/convert_time_in_UTC.aspx">Convert to your time zone</a></span> <a href="http://www.worldtimeserver.com/convert_time_in_UTC.aspx">Convert to your time zone</a></span>
</div> </div>
</div> </div>
</div> </div>
...@@ -482,129 +482,121 @@ ...@@ -482,129 +482,121 @@
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<input type="text" class="short" id="course-grading-graceperiod" placeholder="e.g. 10 minutes"> <input type="text" class="short" id="course-grading-graceperiod" value="0:00" placeholder="e.g. 10 minutes">
<span class="tip tip-inline">leeway on due dates</span> <span class="tip tip-inline">leeway on due dates</span>
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<section class="settings-grading-lessonexercises"> <section class="setting-grading-assignment-types">
<header> <header>
<h3>Lesson Exercises</h3> <h3>Assignment Types</h3>
<span class="detail">Grading in-lesson question &amp; problems</span>
</header> </header>
<div class="row">
<div class="field enum">
<ul class="input-list course-grading-assignment-list">
<li class="input input-existing multi course-grading-assignment-list-item">
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-lessonexercises-gradeweight">Weight of Total Grade:</label> <label for="ourse-grading-assignment-1-name">Assignment Type Name:</label>
<div class="field"> <div class="field">
<div class="input course-grading-gradeweight"> <div class="input course-grading-assignment-name">
<input type="text" class="short" id="course-grading-lessonexercises-gradeweight"> <input type="text" class="long" id="course-grading-assignment-1-name">
<span class="tip tip-inline">e.g. 25%</span> <span class="tip tip-stacked">e.g. Homework, Labs, Midterm Exams, Final Exam</span>
</div> </div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-lessonexercises-totalassignments">Total Number:</label> <label for="course-grading-1-gradeweight">Weight of Total Grade:</label>
<div class="field"> <div class="field">
<div class="input course-grading-totalassignments"> <div class="input course-grading-gradeweight">
<input type="text" class="short" id="course-grading-lessonexercises-totalassignments"> <input type="text" class="short" id="course-grading-assignment-1-gradeweight">
<span class="tip tip-inline">total exercises assigned</span> <span class="tip tip-inline">e.g. 25%</span>
</div> </div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-lessonexercises-totalassignmentsdroppable">Number of Droppable:</label> <label for="course-grading-assignment-1-totalassignments">Total Number:</label>
<div class="field"> <div class="field">
<div class="input course-grading-totalassignmentsdroppable"> <div class="input course-grading-totalassignments">
<input type="text" class="short" id="course-grading-lessonexercises-totalassignmentsdroppable"> <input type="text" class="short" id="course-grading-assignment-1-totalassignments">
<span class="tip tip-inline">total exercises that won't be graded</span> <span class="tip tip-inline">total exercises assigned</span>
</div> </div>
</div> </div>
</div> </div>
</section>
<section class="settings-grading-labs">
<header>
<h3>Labs</h3>
<span class="detail">Grading in-lesson question &amp; problems</span>
</header>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-labs-gradeweight">Weight of Total Grade:</label> <label for="course-grading-assignment-1-droppable">Number of Droppable:</label>
<div class="field"> <div class="field">
<div class="input course-grading-gradeweight"> <div class="input course-grading-droppable">
<input type="text" class="short course-grading-gradeweight" id="course-grading-labs-gradeweight"> <input type="text" class="short" id="course-grading-assignment-1-droppable">
<span class="tip tip-inline">e.g. 25%</span> <span class="tip tip-inline">total exercises that won't be graded</span>
</div> </div>
</div> </div>
</div> </div>
<a href="#" class="remove-item remove-grading-data"><span class="delete-icon"></span> Delete Assignment Type</a>
</li>
<li class="input input-existing multi course-grading-assignment-list-item">
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-labs-totalassignments">Total Number:</label> <label for="course-grading-assignment-2-name">Assignment Type Name:</label>
<div class="field"> <div class="field">
<div class="input course-grading-totalassignments"> <div class="input course-grading-assignment-name">
<input type="text" class="short course-grading-totalassignments" id="course-grading-labs-totalassignments"> <input type="text" class="long" id="course-grading-assignment-2-name">
<span class="tip tip-inline">total labs assigned</span> <span class="tip tip-stacked">e.g. Homework, Labs, Midterm Exams, Final Exam</span>
</div> </div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-labs-totalassignmentsdroppable">Number of Droppable:</label> <label for="course-grading-2-gradeweight">Weight of Total Grade:</label>
<div class="field"> <div class="field">
<div class="input course-grading-totalassignmentsdroppable"> <div class="input course-grading-gradeweight">
<input type="text" class="short course-grading-labs-totalassignmentsdroppable" id="course-grading-labs-totalassignmentsdroppable"> <input type="text" class="short" id="course-grading-assignment-2-gradeweight">
<span class="tip tip-inline">total labs that won't be graded</span> <span class="tip tip-inline">e.g. 25%</span>
</div> </div>
</div> </div>
</div> </div>
</section>
<section class="settings-grading-exams">
<header>
<h3>Exams</h3>
<span class="detail">Grading in-lesson question &amp; problems</span>
</header>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-exams-gradeweight">Weight of Total Grade:</label> <label for="course-grading-assignment-2-totalassignments">Total Number:</label>
<div class="field"> <div class="field">
<div class="input course-grading-gradeweight"> <div class="input course-grading-totalassignments">
<input type="text" class="short course-grading-gradeweight" id="course-grading-exams-gradeweight"> <input type="text" class="short" id="course-grading-assignment-2-totalassignments">
<span class="tip tip-inline">e.g. 50%</span> <span class="tip tip-inline">total exercises assigned</span>
</div> </div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="row row-col2">
<label for="course-grading-exams-totalassignments">Total Number:</label> <label for="course-grading-assignment-2-droppable">Number of Droppable:</label>
<div class="field"> <div class="field">
<div class="input course-grading-totalassignments"> <div class="input course-grading-droppable">
<input type="text" class="short course-grading-totalassignments" id="course-grading-exams-totalassignments"> <input type="text" class="short" id="course-grading-assignment-2-droppable">
<span class="tip tip-inline">total exams held</span> <span class="tip tip-inline">total exercises that won't be graded</span>
</div> </div>
</div> </div>
</div> </div>
<div class="row row-col2"> <a href="#" class="remove-item remove-grading-data"><span class="delete-icon"></span> Delete Assignment Type</a>
<label for="course-grading-exams-totalassignmentsdroppable">Number of Droppable:</label> </li>
</ul>
<div class="field"> <a href="#" class="new-item new-course-grading-item add-grading-data">
<div class="input course-grading-totalassignmentsdroppable"> <span class="plus-icon"></span>New Assignment Type
<input type="text" class="short course-grading-exams-totalassignmentsdroppable" id="course-grading-labs-totalassignmentsdroppable"> </a>
<span class="tip tip-inline">total exams that won't be graded</span>
</div>
</div> </div>
</div> </div>
</section> </section>
...@@ -624,234 +616,143 @@ ...@@ -624,234 +616,143 @@
<div class="field"> <div class="field">
<div class="input input-radio"> <div class="input input-radio">
<input checked="checked" type="radio" name="problems-general-randomization" id="problems-general-randomization-always" value="Always"> <input checked="checked" type="radio" name="course-problems-general-randomization" id="course-problems-general-randomization-always" value="Always">
<label for="problems-general-randomization-always">Always</label>
<div class="copy">
<label for="course-problems-general-randomization-always">Always</label>
<span class="tip tip-stacked"><strong>randomize all</strong> problems</span> <span class="tip tip-stacked"><strong>randomize all</strong> problems</span>
</div> </div>
<div class="input">
<input type="radio" name="problems-general-randomization" id="problems-general-randomization-never" value="Never">
<label for="problems-general-randomization-never">Never</label>
<span class="tip tip-stacked"><strong>do not randomize</strong> problems</span>
</div> </div>
<div class="input"> <div class="input input-radio">
<input type="radio" name="problems-general-randomization" id="problems-general-randomization-perstudent" value="Per Student"> <input type="radio" name="course-problems-general-randomization" id="course-problems-general-randomization-never" value="Never">
<label for="problems-general-randomization-perstudent">Per Student</label>
<span class="tip tip-stacked">randomize problems <strong>per student</strong></span> <div class="copy">
</div> <label for="course-problems-general-randomization-never">Never</label>
<span class="tip tip-stacked"><strong>do not randomize</strong> problems</span>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="input input-radio">
<h4 class="label">Show Answers:</h4> <input type="radio" name="course-problems-general-randomization" id="course-problems-general-randomization-perstudent" value="Per Student">
<div class="field ui-status"> <div class="copy">
<div class="input"> <label for="course-problems-general-randomization-perstudent">Per Student</label>
<input checked="checked" type="radio" name="problems-general-showanswer" id="problems-general-showanswer-always" value="Always"> <span class="tip tip-stacked">randomize problems <strong>per student</strong></span>
<label for="problems-general-showanswer-always">Always</label>
<span class="tip tip-stacked">Answers will be shown after the number of attempts has been met</span>
</div> </div>
<div class="input">
<input type="radio" name="problems-general-showanswer" id="problems-general-showanswer-never" value="Never">
<label for="problems-general-showanswer-never">Never</label>
<span class="tip tip-stacked">Answers will never be shown, regardless of attempts</span>
</div> </div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="row row-col2">
<label for="problems-general-attempts">Number of Attempts: </label> <h4 class="label">Show Answers:</h4>
<div class="field"> <div class="field">
<div class="input"> <div class="input input-radio">
<input type="text" class="short" id="problems-general-attempts" placeholder="0 or higher" value="0"> <input checked="checked" type="radio" name="course-problems-general-showanswer" id="course-problems-general-showanswer-always" value="Always">
<span class="tip tip-inline">To set infinite atttempts, use "0"</span>
</div>
</div>
</div>
</section><!-- .settings-problems-general -->
<section class="settings-problems-lessonexercises settings-extras">
<header>
<h3>Lesson Exercises</h3>
<span class="detail">In-lesson question &amp; problem specific rules</span>
</header>
<div class="row row-col2">
<h4 class="label">Problem Randomization:</h4>
<div class="field ui-status">
<div class="input">
<input checked="checked" type="radio" name="problems-lessonexercises-randomization" id="problems-lessonexercises-randomization-always" value="Always">
<label for="problems-lessonexercises-randomization-always">Always</label>
<span class="tip tip-stacked"><strong>randomize all</strong> problems</span>
</div>
<div class="input">
<input type="radio" name="problems-lessonexercises-randomization" id="problems-lessonexercises-randomization-never" value="Never">
<label for="problems-lessonexercises-randomization-never">Never</label>
<span class="tip tip-stacked"><strong>do not randomize</strong> problems</span>
</div>
<div class="input"> <div class="copy">
<input type="radio" name="problems-lessonexercises-randomization" id="problems-lessonexercises-randomization-perstudent" value="Per Student"> <label for="course-problems-general-showanswer-always">Always</label>
<label for="problems-lessonexercises-randomization-perstudent">Per Student</label> <span class="tip tip-stacked">Answers will be shown after the number of attempts has been met</span>
<span class="tip tip-stacked">randomize problems <strong>per student</strong></span>
</div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="input input-radio">
<h4 class="label">Show Answers:</h4> <input type="radio" name="course-problems-general-showanswer" id="course-problems-general-showanswer-never" value="Never">
<div class="field ui-status">
<div class="input">
<input checked="checked" type="radio" name="problems-lessonexercises-showanswer" id="problems-lessonexercises-showanswer-always" value="Always">
<label for="problems-lessonexercises-showanswer-always">Always</label>
<span class="tip tip-stacked">Answers will be shown after the number of attempts has been met</span>
</div>
<div class="input"> <div class="copy">
<input type="radio" name="problems-lessonexercises-showanswer" id="problems-lessonexercises-showanswer-never" value="Never"> <label for="course-problems-general-showanswer-never">Never</label>
<label for="problems-lessonexercises-showanswer-never">Never</label>
<span class="tip tip-stacked">Answers will never be shown, regardless of attempts</span> <span class="tip tip-stacked">Answers will never be shown, regardless of attempts</span>
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="row row-col2"> <div class="row row-col2">
<label for="problems-lessonexercises-attempts">Number of Attempts: </label> <label for="pcourse-roblems-general-attempts">Number of Attempts <br /> Allowed on Problems: </label>
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<input type="text" class="short" id="problems-lessonexercises-attempts" placeholder="0 or higher" value="0"> <input type="text" class="short" id="course-problems-general-attempts" placeholder="0 or higher" value="0">
<span class="tip tip-inline">To set infinite atttempts, use "0"</span> <span class="tip tip-stacked">Students will this have this number of chances to answer a problem. To set infinite atttempts, use "0"</span>
</div> </div>
</div> </div>
</div> </div>
</section><!-- .settings-problems-lessonexercises --> </section><!-- .settings-problems-general -->
<section class="settings-problems-labs settings-extras"> <section class="settings-problems-assignment-1 settings-extras">
<header> <header>
<h3>Labs</h3> <h3>[Assignment Type Name]</h3>
<span class="detail">Exploratory assignment-specific rules</span>
</header> </header>
<div class="row row-col2"> <div class="row row-col2">
<h4 class="label">Problem Randomization:</h4> <h4 class="label">Problem Randomization:</h4>
<div class="field ui-status"> <div class="field">
<div class="input"> <div class="input input-radio">
<input checked="checked" type="radio" name="problems-labs-randomization" id="problems-labs-randomization-always" value="Always"> <input checked="checked" type="radio" name="course-problems-assignment-1-randomization" id="course-problems-assignment-1-randomization-always" value="Always">
<label for="problems-labs-randomization-always">Always</label>
<div class="copy">
<label for="course-problems-assignment-1-randomization-always">Always</label>
<span class="tip tip-stacked"><strong>randomize all</strong> problems</span> <span class="tip tip-stacked"><strong>randomize all</strong> problems</span>
</div> </div>
<div class="input">
<input type="radio" name="problems-labs-randomization" id="problems-labs-randomization-never" value="Never">
<label for="problems-labs-randomization-never">Never</label>
<span class="tip tip-stacked"><strong>do not randomize</strong> problems</span>
</div> </div>
<div class="input"> <div class="input input-radio">
<input type="radio" name="problems-labs-randomization" id="problems-labs-randomization-perstudent" value="Per Student"> <input type="radio" name="course-problems-assignment-1-randomization" id="course-problems-assignment-1-randomization-never" value="Never">
<label for="problems-labs-randomization-perstudent">Per Student</label>
<span class="tip tip-stacked">randomize problems <strong>per student</strong></span> <div class="copy">
</div> <label for="course-problems-assignment-1-randomization-never">Never</label>
<span class="tip tip-stacked"><strong>do not randomize</strong> problems</span>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="input input-radio">
<h4 class="label">Show Answers:</h4> <input type="radio" name="course-problems-assignment-1-randomization" id="course-problems-assignment-1-randomization-perstudent" value="Per Student">
<div class="field ui-status"> <div class="copy">
<div class="input"> <label for="course-problems-assignment-1-randomization-perstudent">Per Student</label>
<input checked="checked" type="radio" name="problems-labs-showanswer" id="problems-labs-showanswer-always" value="Always"> <span class="tip tip-stacked">randomize problems <strong>per student</strong></span>
<label for="problems-labs-showanswer-always">Always</label>
<span class="tip tip-stacked">Answers will be shown after the number of attempts has been met</span>
</div> </div>
<div class="input">
<input type="radio" name="problems-labs-showanswer" id="problems-labs-showanswer-never" value="Never">
<label for="problems-labs-showanswer-never">Never</label>
<span class="tip tip-stacked">Answers will never be shown, regardless of attempts</span>
</div> </div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="row row-col2">
<label for="problems-labs-attempts">Number of Attempts: </label> <h4 class="label">Show Answers:</h4>
<div class="field"> <div class="field">
<div class="input"> <div class="input input-radio">
<input type="text" class="short" id="problems-labs-attempts" placeholder="0 or higher" value="0"> <input checked="checked" type="radio" name="course-problems-assignment-1-showanswer" id="course-problems-assignment-1-showanswer-always" value="Always">
<span class="tip tip-inline">To set infinite atttempts, use "0"</span>
</div>
</div>
</div>
</section><!-- .settings-problems-labs -->
<section class="settings-problems-exams settings-extras">
<header>
<h3>Exams</h3>
<span class="detail">Mid-term and final exam-specific rules</span>
</header>
<div class="row row-col2">
<h4 class="label">Problem Randomization:</h4>
<div class="field ui-status">
<div class="input">
<input checked="checked" type="radio" name="problems-exams-randomization" id="problems-exams-randomization-always" value="Aways">
<label for="problems-exams-randomization-always">Always</label>
<span class="tip tip-stacked"><strong>randomize all</strong> problems</span>
</div>
<div class="input">
<input type="radio" name="problems-exams-randomization" id="problems-exams-randomization-never" value="Never">
<label for="problems-exams-randomization-never">Never</label>
<span class="tip tip-stacked"><strong>do not randomize</strong> problems</span>
</div>
<div class="input"> <div class="copy">
<input type="radio" name="problems-exams-randomization" id="problems-exams-randomization-perstudent" value="Per Student"> <label for="course-problems-assignment-1-showanswer-always">Always</label>
<label for="problems-exams-randomization-perstudent">Per Student</label> <span class="tip tip-stacked">Answers will be shown after the number of attempts has been met</span>
<span class="tip tip-stacked">randomize problems <strong>per student</strong></span>
</div>
</div> </div>
</div> </div>
<div class="row row-col2"> <div class="input input-radio">
<h4 class="label">Show Answers:</h4> <input type="radio" name="course-problems-assignment-1-showanswer" id="course-problems-assignment-1-showanswer-never" value="Never">
<div class="field ui-status">
<div class="input">
<input checked="checked" type="radio" name="problems-exams-showanswer" id="problems-exams-showanswer-always" value="Always">
<label for="problems-exams-showanswer-always">Always</label>
<span class="tip tip-stacked">Answers will be shown after the number of attempts has been met</span>
</div>
<div class="input"> <div class="copy">
<input type="radio" name="problems-exams-showanswer" id="problems-exams-showanswer-never" value="Never"> <label for="pcourse-roblems-assignment-1-showanswer-never">Never</label>
<label for="problems-exams-showanswer-never">Never</label>
<span class="tip tip-stacked">Answers will never be shown, regardless of attempts</span> <span class="tip tip-stacked">Answers will never be shown, regardless of attempts</span>
</div> </div>
</div> </div>
</div> </div>
</div>
<div class="row row-col2"> <div class="row row-col2">
<label for="problems-exams-attempts">Number of Attempts: </label> <label for="course-problems-assignment-1-attempts">Number of Attempts <br /> Allowed on Problems: </label>
<div class="field"> <div class="field">
<div class="input"> <div class="input">
<input type="text" class="short" id="problems-exams-attempts" placeholder="0 or higher" value="0"> <input type="text" class="short" id="course-problems-assignment-1-attempts" placeholder="0 or higher" value="0">
<span class="tip tip-inline">To set infinite atttempts, use "0"</span> <span class="tip tip-stacked">Students will this have this number of chances to answer a problem. To set infinite atttempts, use "0"</span>
</div> </div>
</div> </div>
</div> </div>
</section><!-- .settings-problems-exams --> </section><!-- .settings-problems-assignment-1 -->
</section><!-- .settings-problems --> </section><!-- .settings-problems -->
<section class="settings-discussions"> <section class="settings-discussions">
...@@ -866,22 +767,27 @@ ...@@ -866,22 +767,27 @@
<div class="row row-col2"> <div class="row row-col2">
<h4 class="label">Anonymous Discussions:</h4> <h4 class="label">Anonymous Discussions:</h4>
<div class="field ui-status"> <div class="field">
<div class="input"> <div class="input input-radio">
<input type="radio" name="discussions-anonymous" id="discussions-anonymous-allow" value="Allow"> <input type="radio" name="course-discussions-anonymous" id="course-discussions-anonymous-allow" value="Allow">
<label for="discussions-anonymous-allow">Allow</label>
<div class="copy">
<label for="course-discussions-anonymous-allow">Allow</label>
<span class="tip tip-stacked">Students and faculty <strong>will be able to post anonymously</strong></span> <span class="tip tip-stacked">Students and faculty <strong>will be able to post anonymously</strong></span>
</div> </div>
</div>
<div class="input"> <div class="input input-radio">
<input checked="checked" type="radio" name="discussions-anonymous" id="discussions-anonymous-dontallow" value="Do Not Allow"> <input checked="checked" type="radio" name="course-discussions-anonymous" id="course-discussions-anonymous-dontallow" value="Do Not Allow">
<label for="discussions-anonymous-dontallow">Do not allow</label>
<div class="copy">
<label for="course-discussions-anonymous-dontallow">Do not allow</label>
<span class="tip tip-stacked"><strong>Posting anonymously is not allowed</strong>. Any previous anonymous posts <strong>will be reverted to non-anonymous</strong></span> <span class="tip tip-stacked"><strong>Posting anonymously is not allowed</strong>. Any previous anonymous posts <strong>will be reverted to non-anonymous</strong></span>
</div> </div>
</div> </div>
</section><!-- .settings-discussions-general --> </div>
</div>
<section class="settings-discussions-categories">
<div class="row row-col2"> <div class="row row-col2">
<h4 class="label">Discussion Categories</h4> <h4 class="label">Discussion Categories</h4>
...@@ -889,29 +795,29 @@ ...@@ -889,29 +795,29 @@
<ul class="input-list course-discussions-categories-list"> <ul class="input-list course-discussions-categories-list">
<li class="input input-existing input-default course-discussions-categories-list-item"> <li class="input input-existing input-default course-discussions-categories-list-item">
<div class="group"> <div class="group">
<label for="course-discussions-categories-1-name-input">Category Name: </label> <label for="course-discussions-categories-1-name">Category Name: </label>
<input type="text" class="course-discussions-categories-name-input" id="course-discussions-categories-1-name-input" placeholder="" value="General" disabled="disabled"> <input type="text" class="course-discussions-categories-name" id="course-discussions-categories-1-name" placeholder="" value="General" disabled="disabled">
</div> </div>
</li> </li>
<li class="input input-existing input-default course-discussions-categories-list-item"> <li class="input input-existing input-default course-discussions-categories-list-item">
<div class="group"> <div class="group">
<label for="course-discussions-categories-2-name-input">Category Name: </label> <label for="course-discussions-categories-2-name">Category Name: </label>
<input type="text" class="course-discussions-categories-name-input" id="course-discussions-categories-2-name-input" placeholder="" value="Feedback" disabled="disabled"> <input type="text" class="course-discussions-categories-name" id="course-discussions-categories-2-name" placeholder="" value="Feedback" disabled="disabled">
</div> </div>
</li> </li>
<li class="input input-existing input-default course-discussions-categories-list-item"> <li class="input input-existing input-default course-discussions-categories-list-item">
<div class="group"> <div class="group">
<label for="course-discussions-categories-3-name-input">Category Name: </label> <label for="course-discussions-categories-3-name">Category Name: </label>
<input type="text" class="course-discussions-categories-name-input" id="course-discussions-categories-3-name-input" placeholder="" value="Troubleshooting" disabled="disabled"> <input type="text" class="course-discussions-categories-name" id="course-discussions-categories-3-name" placeholder="" value="Troubleshooting" disabled="disabled">
</div> </div>
</li> </li>
<li class="input input-existing course-discussions-categories-list-item"> <li class="input input-existing course-discussions-categories-list-item">
<div class="group"> <div class="group">
<label for="course-discussions-categories-4-name-input">Category Name: </label> <label for="course-discussions-categories-4-name">Category Name: </label>
<input type="text" class="course-discussions-categories-name-input" id="course-discussions-categories-4-name-input" placeholder="" value="Study Groups"> <input type="text" class="course-discussions-categories-name" id="course-discussions-categories-4-name" placeholder="" value="Study Groups">
<a href="#" class="remove-item remove-course-discussions-categories-data"><span class="delete-icon"></span> Delete Category</a> <a href="#" class="remove-item remove-course-discussions-categories-data"><span class="delete-icon"></span> Delete Category</a>
</div> </div>
...@@ -919,8 +825,8 @@ ...@@ -919,8 +825,8 @@
<li class="input input-existing course-discussions-categories-list-item"> <li class="input input-existing course-discussions-categories-list-item">
<div class="group"> <div class="group">
<label for="course-discussions-categories-5-name-input">Category Name: </label> <label for="course-discussions-categories-5-name">Category Name: </label>
<input type="text" class="course-discussions-categories-name-input" id="course-discussions-categories-5-name-input" placeholder="" value="Lectures"> <input type="text" class="course-discussions-categories-name" id="course-discussions-categories-5-name" placeholder="" value="Lectures">
</div> </div>
<a href="#" class="remove-item remove-course-discussions-categories-data"><span class="delete-icon"></span> Delete Category</a> <a href="#" class="remove-item remove-course-discussions-categories-data"><span class="delete-icon"></span> Delete Category</a>
...@@ -928,8 +834,8 @@ ...@@ -928,8 +834,8 @@
<li class="input course-discussions-categories-list-item"> <li class="input course-discussions-categories-list-item">
<div class="group"> <div class="group">
<label for="course-discussions-categories-6-name-input">Category Name: </label> <label for="course-discussions-categories-6-name">Category Name: </label>
<input type="text" class="course-discussions-categories-name-input" id="course-discussions-categories-6-name-input" placeholder=""> <input type="text" class="course-discussions-categories-name" id="course-discussions-categories-6-name" placeholder="">
</div> </div>
<a href="#" class="remove-item remove-course-discussions-categories-data"><span class="delete-icon"></span> Delete Category</a> <a href="#" class="remove-item remove-course-discussions-categories-data"><span class="delete-icon"></span> Delete Category</a>
...@@ -941,8 +847,7 @@ ...@@ -941,8 +847,7 @@
</a> </a>
</div> </div>
</div> </div>
</div> </section><!-- .settings-discussions-general -->
</section>
</section><!-- .settings-discussions --> </section><!-- .settings-discussions -->
</div> </div>
</article> </article>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment