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
bf4f678b
Commit
bf4f678b
authored
Nov 19, 2012
by
Brian Talbot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
settings - revised faculty photo and syllabus states to either has or does not have
parent
731ea226
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
13 deletions
+20
-13
cms/static/sass/_settings.scss
+12
-0
cms/templates/settings.html
+8
-13
No files found.
cms/static/sass/_settings.scss
View file @
bf4f678b
...
...
@@ -467,6 +467,18 @@
.new-course-faculty-item
{
}
.current-faculty-photo
{
height
:
115px
;
width
:
115px
;
overflow
:
hidden
;
img
{
display
:
block
;
min-height
:
100%
;
max-width
:
100%
;
}
}
}
}
...
...
cms/templates/settings.html
View file @
bf4f678b
...
...
@@ -229,11 +229,11 @@
<div
class=
"field"
>
<div
class=
"input input-existing"
>
<div
class=
" current current-course-syllabus"
>
<span
class=
"pdf doc-filename"
>
CS184x_syllabus.pdf
</span>
</div>
<a
href=
"#"
class=
"replace-item replace-course-syllabus add-syllabus-data"
id=
"course-syllabus"
>
<span
class=
"upload-icon"
></span>
Replace Syllabus
</a>
<a
href=
"#"
class=
"remove-item remove-course-syllabus remove-doc-data"
><span
class=
"delete-icon"
></span>
Delete Syllabus
</a>
<span
class=
"tip tip-inline"
>
PDF formatting preferred
</span>
</div>
...
...
@@ -280,12 +280,10 @@
<div
class=
"field"
>
<div
class=
"input input-existing"
>
<div
class=
" current current-course-introduction-video"
>
<iframe
width=
"400"
height=
"225"
src=
"http://www.youtube.com/embed/6F0pR-ANmXY"
frameborder=
"0"
allowfullscreen
></iframe>
</div>
<a
href=
"#"
class=
"replace-item replace-course-introduction-video add-video-data"
id=
"course-introduction-video"
>
<span
class=
"upload-icon"
></span>
Replace Video
</a>
<span
class=
"tip tip-inline"
>
Video restrictions go here
</span>
<a
href=
"#"
class=
"remove-item remove-course-introduction-video remove-video-data"
><span
class=
"delete-icon"
></span>
Delete Video
</a>
</div>
<div
class=
"input"
>
...
...
@@ -492,14 +490,11 @@
</div>
<div
class=
"input input-existing"
>
<div
class=
" current current-
course-syllabus
"
>
<div
class=
" current current-
faculty-photo
"
>
<img
src=
"http://dummyimage.com/800x600/4d494d/686a82.gif&text=faculty+photo"
alt=
"Faculty Photo"
/>
</div>
<a
href=
"#"
class=
"replace-item replace-faculty-photo add-faculty-photo-data"
id=
"course-faculty-photo-input"
>
<span
class=
"upload-icon"
></span>
Upload Faculty Photo
</a>
<span
class=
"tip tip-inline"
>
Max size: 30KB
</span>
<a
href=
"#"
class=
"remove-item remove-faculty-photo remove-video-data"
><span
class=
"delete-icon"
></span>
Delete Faculty Photo
</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