Merge pull request #4416 from edx/will/timepicker-css-in-unit-editor
Add JQuery timepicker CSS to the unit and container templates
This commit is contained in:
@@ -22,6 +22,7 @@ from django.utils.translation import ugettext as _
|
||||
</%block>
|
||||
|
||||
<%block name="jsextra">
|
||||
<link rel="stylesheet" type="text/css" href="${static.url('js/vendor/timepicker/jquery.timepicker.css')}" />
|
||||
<%
|
||||
main_xblock_info = {
|
||||
'id': str(xblock_locator),
|
||||
|
||||
@@ -19,6 +19,7 @@ from django.utils.translation import ugettext as _
|
||||
</%block>
|
||||
|
||||
<%block name="jsextra">
|
||||
<link rel="stylesheet" type="text/css" href="${static.url('js/vendor/timepicker/jquery.timepicker.css')}" />
|
||||
<script type='text/javascript'>
|
||||
require(["domReady!", "jquery", "js/models/module_info", "coffee/src/views/unit", "js/collections/component_template",
|
||||
"xmodule", "jquery.ui", "coffee/src/main", "xblock/cms.runtime.v1"],
|
||||
|
||||
Reference in New Issue
Block a user