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
32de5aa0
Commit
32de5aa0
authored
Aug 21, 2013
by
Peter Fogg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up some SASS issues.
parent
b539a4cb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
191 additions
and
183 deletions
+191
-183
cms/static/js/views/settings/main_settings_view.js
+8
-0
cms/static/sass/base-style.scss
+1
-1
cms/static/sass/elements/_uploads.scss
+180
-180
cms/templates/settings.html
+1
-1
cms/templates/textbooks.html
+1
-1
No files found.
cms/static/js/views/settings/main_settings_view.js
View file @
32de5aa0
...
...
@@ -25,6 +25,14 @@ CMS.Views.Settings.Details = CMS.Views.ValidatingView.extend({
this
.
$el
.
find
(
"#course-number"
).
val
(
this
.
model
.
get
(
'location'
).
get
(
'course'
));
this
.
$el
.
find
(
'.set-date'
).
datepicker
({
'dateFormat'
:
'm/d/yy'
});
// Avoid showing broken image on mistyped/nonexistent image
this
.
$el
.
find
(
'img.course-image'
).
error
(
function
()
{
$
(
this
).
hide
();
});
this
.
$el
.
find
(
'img.course-image'
).
load
(
function
()
{
$
(
this
).
show
();
});
var
dateIntrospect
=
new
Date
();
this
.
$el
.
find
(
'#timezone'
).
html
(
"("
+
dateIntrospect
.
getTimezone
()
+
")"
);
...
...
cms/static/sass/base-style.scss
View file @
32de5aa0
...
...
@@ -42,6 +42,7 @@
@import
'elements/system-help'
;
// help UI
@import
'elements/modal'
;
// interstitial UI, dialogs, modal windows
@import
'elements/vendor'
;
// overrides to vendor-provided styling
@import
'elements/uploads'
;
// base - specific views
@import
'views/account'
;
...
...
@@ -59,7 +60,6 @@
@import
'views/users'
;
@import
'views/checklists'
;
@import
'views/textbooks'
;
@import
'views/uploads'
;
// temp - inherited
@import
'assets/content-types'
;
...
...
cms/static/sass/
view
s/_uploads.scss
→
cms/static/sass/
element
s/_uploads.scss
View file @
32de5aa0
This diff is collapsed.
Click to expand it.
cms/templates/settings.html
View file @
32de5aa0
...
...
@@ -2,7 +2,7 @@
<
%
inherit
file=
"base.html"
/>
<
%
block
name=
"title"
>
${_("Schedule
&
Details Settings")}
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course schedule settings f
ile-upload-dialog
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course schedule settings f
eature-upload
</
%
block>
<
%
namespace
name=
'static'
file=
'static_content.html'
/>
<
%!
...
...
cms/templates/textbooks.html
View file @
32de5aa0
...
...
@@ -4,7 +4,7 @@
<
%!
from
django
.
utils
.
translation
import
ugettext
as
_
%
>
<
%
block
name=
"title"
>
${_("Textbooks")}
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course textbooks f
ile-upload-dialog
</
%
block>
<
%
block
name=
"bodyclass"
>
is-signedin course textbooks f
eature-upload
</
%
block>
<
%
block
name=
"header_extras"
>
% for template_name in ["edit-textbook", "show-textbook", "edit-chapter", "no-textbooks", "upload-dialog"]:
...
...
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