Commit bf4f678b by Brian Talbot

settings - revised faculty photo and syllabus states to either has or does not have

parent 731ea226
......@@ -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%;
}
}
}
}
......
......@@ -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>
......
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