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
595edac4
Commit
595edac4
authored
Dec 13, 2012
by
Don Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Caching changes to fix critical bug on other branch
parent
909fd93c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
6 deletions
+25
-6
cms/static/js/models/settings/course_grading_policy.js
+0
-4
cms/static/sass/_mixins.scss
+0
-2
cms/static/sass/_mixins.scss
+24
-0
cms/templates/overview.html
+1
-0
No files found.
cms/static/js/models/settings/course_grading_policy.js
View file @
595edac4
...
@@ -56,10 +56,6 @@ CMS.Models.Settings.CourseGrader = Backbone.Model.extend({
...
@@ -56,10 +56,6 @@ CMS.Models.Settings.CourseGrader = Backbone.Model.extend({
"short_label"
:
""
,
// what to use in place of type if space is an issue
"short_label"
:
""
,
// what to use in place of type if space is an issue
"weight"
:
0
// int 0..100
"weight"
:
0
// int 0..100
},
},
initialize
:
function
()
{
if
(
!
this
.
collection
)
console
.
log
(
"damn"
);
},
parse
:
function
(
attrs
)
{
parse
:
function
(
attrs
)
{
if
(
attrs
[
'weight'
])
{
if
(
attrs
[
'weight'
])
{
if
(
!
_
.
isNumber
(
attrs
.
weight
))
attrs
.
weight
=
parseInt
(
attrs
.
weight
);
if
(
!
_
.
isNumber
(
attrs
.
weight
))
attrs
.
weight
=
parseInt
(
attrs
.
weight
);
...
...
cms/static/sass/_mixins.scss
deleted
120000 → 0
View file @
909fd93c
..
/
..
/
..
/
common
/
static
/
sass
/
_mixins
.scss
\ No newline at end of file
cms/static/sass/_mixins.scss
0 → 100644
View file @
595edac4
@function
em
(
$pxval
,
$base
:
16
)
{
@return
#{
$pxval
/
$base
}
em
;
}
// Line-height
@function
lh
(
$amount
:
1
)
{
@return
$body-line-height
*
$amount
;
}
@mixin
hide-text
(){
text-indent
:
-9999px
;
overflow
:
hidden
;
display
:
block
;
}
@mixin
vertically-and-horizontally-centered
(
$height
,
$width
)
{
left
:
50%
;
margin-left
:
-
$width
/
2
;
//margin-top: -$height / 2;
min-height
:
$height
;
min-width
:
$width
;
position
:
absolute
;
top
:
150px
;
}
cms/templates/overview.html
View file @
595edac4
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
<script
src=
"${static.url('js/vendor/timepicker/jquery.timepicker.js')}"
></script>
<script
src=
"${static.url('js/vendor/timepicker/jquery.timepicker.js')}"
></script>
<script
src=
"${static.url('js/vendor/timepicker/datepair.js')}"
></script>
<script
src=
"${static.url('js/vendor/timepicker/datepair.js')}"
></script>
<script
src=
"${static.url('js/vendor/date.js')}"
></script>
<script
src=
"${static.url('js/vendor/date.js')}"
></script>
<script
type=
"text/javascript"
src=
"${static.url('js/models/settings/course_grading_policy.js')}"
></script>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
(
function
()
{
(
function
()
{
...
...
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