- SOL-465: Initial implementation of certificates web view and signatories (names/titles) - SOL-718 Close button is working properly - SOL-801 Backbone Signatories Modeling - SOL-803 Underscore template: Editor (Add) - SOL-802 Signatories: Underscore template - Details - SOL-804 Signatories: Underscore template: Editor (Edit) - Add signatory delete Django view - SOL-805 Signatory editor (Delete) - Add Coffeescript router - SOL-716 Jasmine Tests - Added missing minified JS library - client side validation of signatory fields - SOL-390 signatories names - Remove obsolete extends Sass files - input maxlength limiting for signatory information - SOL-389: Course title override - SOL-466: Add capability to upload digitized signatures in Studio - ziafazal: fixed css for upload signature image - ziafazal: completed deletion of signature images - UX-1741: Add initial static rendering/styling for Open edX web certs * creating new global static dir * adding static version of edX UX pattern library assets * adding web certificates static assets * adding static (+abstracted) web certificates rendering * creating two tiers of rendering (base + distinguished) * providing sample assets for certificate rendering * supporting RTL layouts * adding certifcates assests to edX static asset pipeline * temporarily hiding the mozilla open badges share action * wiring print button to print view/page * fixup! addressing conflict artifact in valid cert template * fixup! adding missing %hd-subsection sass extend + components comment clean up * fixup! correcting pattern library .hd-4 font-weight value - SOL-468 Linked Student View for Web View Credential - SOL-467: Add capability to upload organization logos for certificates - SOL-391 / SOL-387: Signatory related info (assets) in certificates web view - kelketek: Fixes for static asset collection in certificate HTML view. - SOL-398 Web View: Public Access - mattdrayer: Post-merge branch stabilization - catong: Initial changes to Studio template and Help config file - ziafazal: Branch stabilizations - SOL-387: Display organization logo on LMS web view - talbs/mattdrayer: Branch Stabilizations - talbs: converting backpack action to use a button HTML element - talbs: revising placeholder assets + their rendering in cert view - mattdrayer: Username web view wireup - SOL-386 Certificate Mode Previews - SOL-905: Make organization logo and signatory signature uneditable - SOL-922: Improve test coverage - SOL-765: Add LinkedIn sharing - [marco] temporary styling adjustment to account for smaller linkedin share image / fake button - SOL-921: Address hardcoded template items - SOL-927: Deleting certificate should delete org logo image also * updated invalid template * removed hr * fix invalid certificate error - clrux: Add i18n to certificate templates and partials - mattdrayer: Pylint violations - SOL-920 Certificate Activation/Deactivation - mattdrayer: Added LMS support - SOL-932: Fix preview mode support in certificate view - SOL-934: Fixed bug reported and broken tests - SOL-935 removed the 'valid' word from web view title - talbs: RTL support updates/fixes * revising certificate type icon/name vertical alignment * removing unused older certificate template * revising styling for message/banner actions * abstracting accomplishment type to use course mode + adding in honor/verified-specific placeholders - mattdrayer: JSHint violations
279 lines
10 KiB
JavaScript
279 lines
10 KiB
JavaScript
require.config({
|
|
// NOTE: baseUrl has been previously set in cms/static/templates/base.html
|
|
waitSeconds: 60,
|
|
paths: {
|
|
"domReady": "js/vendor/domReady",
|
|
"gettext": "/i18n",
|
|
"mustache": "js/vendor/mustache",
|
|
"codemirror": "js/vendor/codemirror-compressed",
|
|
"codemirror/stex": "js/vendor/CodeMirror/stex",
|
|
"jquery": "js/vendor/jquery.min",
|
|
"jquery.ui": "js/vendor/jquery-ui.min",
|
|
"jquery.form": "js/vendor/jquery.form",
|
|
"jquery.markitup": "js/vendor/markitup/jquery.markitup",
|
|
"jquery.leanModal": "js/vendor/jquery.leanModal.min",
|
|
"jquery.ajaxQueue": "js/vendor/jquery.ajaxQueue",
|
|
"jquery.smoothScroll": "js/vendor/jquery.smooth-scroll.min",
|
|
"jquery.timepicker": "js/vendor/timepicker/jquery.timepicker",
|
|
"jquery.cookie": "js/vendor/jquery.cookie",
|
|
"jquery.qtip": "js/vendor/jquery.qtip.min",
|
|
"jquery.scrollTo": "js/vendor/jquery.scrollTo-1.4.2-min",
|
|
"jquery.flot": "js/vendor/flot/jquery.flot.min",
|
|
"jquery.fileupload": "js/vendor/jQuery-File-Upload/js/jquery.fileupload",
|
|
"jquery.fileupload-process": "js/vendor/jQuery-File-Upload/js/jquery.fileupload-process",
|
|
"jquery.fileupload-validate": "js/vendor/jQuery-File-Upload/js/jquery.fileupload-validate",
|
|
"jquery.iframe-transport": "js/vendor/jQuery-File-Upload/js/jquery.iframe-transport",
|
|
"jquery.inputnumber": "js/vendor/html5-input-polyfills/number-polyfill",
|
|
"jquery.immediateDescendents": "coffee/src/jquery.immediateDescendents",
|
|
"datepair": "js/vendor/timepicker/datepair",
|
|
"date": "js/vendor/date",
|
|
"underscore": "js/vendor/underscore-min",
|
|
"underscore.string": "js/vendor/underscore.string.min",
|
|
"backbone": "js/vendor/backbone-min",
|
|
"backbone-relational" : "js/vendor/backbone-relational.min",
|
|
"backbone.associations": "js/vendor/backbone-associations-min",
|
|
"backbone.paginator": "js/vendor/backbone.paginator.min",
|
|
"tinymce": "js/vendor/tinymce/js/tinymce/tinymce.full.min",
|
|
"jquery.tinymce": "js/vendor/tinymce/js/tinymce/jquery.tinymce.min",
|
|
"xmodule": "/xmodule/xmodule",
|
|
"xblock/core": "js/xblock/core",
|
|
"xblock": "coffee/src/xblock",
|
|
"utility": "js/src/utility",
|
|
"accessibility": "js/src/accessibility_tools",
|
|
"draggabilly": "js/vendor/draggabilly.pkgd",
|
|
"URI": "js/vendor/URI.min",
|
|
"ieshim": "js/src/ie_shim",
|
|
"tooltip_manager": "js/src/tooltip_manager",
|
|
|
|
// Files needed for Annotations feature
|
|
"annotator": "js/vendor/ova/annotator-full",
|
|
"annotator-harvardx": "js/vendor/ova/annotator-full-firebase-auth",
|
|
"video.dev": "js/vendor/ova/video.dev",
|
|
"vjs.youtube": 'js/vendor/ova/vjs.youtube',
|
|
"rangeslider": 'js/vendor/ova/rangeslider',
|
|
"share-annotator": 'js/vendor/ova/share-annotator',
|
|
"richText-annotator": 'js/vendor/ova/richText-annotator',
|
|
"reply-annotator": 'js/vendor/ova/reply-annotator',
|
|
"grouping-annotator": 'js/vendor/ova/grouping-annotator',
|
|
"tags-annotator": 'js/vendor/ova/tags-annotator',
|
|
"diacritic-annotator": 'js/vendor/ova/diacritic-annotator',
|
|
"flagging-annotator": 'js/vendor/ova/flagging-annotator',
|
|
"jquery-Watch": 'js/vendor/ova/jquery-Watch',
|
|
"openseadragon": 'js/vendor/ova/openseadragon',
|
|
"osda": 'js/vendor/ova/OpenSeaDragonAnnotation',
|
|
"ova": 'js/vendor/ova/ova',
|
|
"catch": 'js/vendor/ova/catch/js/catch',
|
|
"handlebars": 'js/vendor/ova/catch/js/handlebars-1.1.2',
|
|
// end of Annotation tool files
|
|
|
|
// externally hosted files
|
|
"tender": [
|
|
// if TENDER_SUBDOMAIN is defined, use that; otherwise, use a dummy value
|
|
// (the application JS will never `require(['tender'])` if it's not defined)
|
|
"//" + (typeof TENDER_SUBDOMAIN === "string" ? TENDER_SUBDOMAIN : "example") + ".tenderapp.com/tender_widget",
|
|
// if tender fails to load, fallback on a local file
|
|
// so that require doesn't fall over
|
|
"js/src/tender_fallback"
|
|
],
|
|
"mathjax": "//cdn.mathjax.org/mathjax/2.4-latest/MathJax.js?config=TeX-MML-AM_HTMLorMML-full&delayStartupUntil=configured",
|
|
"youtube": [
|
|
// youtube URL does not end in ".js". We add "?noext" to the path so
|
|
// that require.js adds the ".js" to the query component of the URL,
|
|
// and leaves the path component intact.
|
|
"//www.youtube.com/player_api?noext",
|
|
// if youtube fails to load, fallback on a local file
|
|
// so that require doesn't fall over
|
|
"js/src/youtube_fallback"
|
|
]
|
|
},
|
|
shim: {
|
|
"gettext": {
|
|
exports: "gettext"
|
|
},
|
|
"date": {
|
|
exports: "Date"
|
|
},
|
|
"jquery.ui": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.ui"
|
|
},
|
|
"jquery.form": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.ajaxForm"
|
|
},
|
|
"jquery.markitup": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.markitup"
|
|
},
|
|
"jquery.leanmodal": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.leanModal"
|
|
},
|
|
"jquery.ajaxQueue": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.ajaxQueue"
|
|
},
|
|
"jquery.smoothScroll": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.smoothScroll"
|
|
},
|
|
"jquery.cookie": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.cookie"
|
|
},
|
|
"jquery.qtip": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.qtip"
|
|
},
|
|
"jquery.scrollTo": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.scrollTo",
|
|
},
|
|
"jquery.flot": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.plot"
|
|
},
|
|
"jquery.fileupload": {
|
|
deps: ["jquery.ui", "jquery.iframe-transport"],
|
|
exports: "jQuery.fn.fileupload"
|
|
},
|
|
"jquery.fileupload-process": {
|
|
deps: ["jquery.fileupload"]
|
|
},
|
|
"jquery.fileupload-validate": {
|
|
deps: ["jquery.fileupload"]
|
|
},
|
|
"jquery.inputnumber": {
|
|
deps: ["jquery"],
|
|
exports: "jQuery.fn.inputNumber"
|
|
},
|
|
"jquery.tinymce": {
|
|
deps: ["jquery", "tinymce"],
|
|
exports: "jQuery.fn.tinymce"
|
|
},
|
|
"datepair": {
|
|
deps: ["jquery.ui", "jquery.timepicker"]
|
|
},
|
|
"underscore": {
|
|
exports: "_"
|
|
},
|
|
"backbone": {
|
|
deps: ["underscore", "jquery"],
|
|
exports: "Backbone"
|
|
},
|
|
"backbone.associations": {
|
|
deps: ["backbone"],
|
|
exports: "Backbone.Associations"
|
|
},
|
|
"backbone.paginator": {
|
|
deps: ["backbone"],
|
|
exports: "Backbone.Paginator"
|
|
},
|
|
"tender": {
|
|
exports: 'Tender'
|
|
},
|
|
"youtube": {
|
|
exports: "YT"
|
|
},
|
|
"codemirror": {
|
|
exports: "CodeMirror"
|
|
},
|
|
"codemirror/stex": {
|
|
deps: ["codemirror"]
|
|
},
|
|
"tinymce": {
|
|
exports: "tinymce"
|
|
},
|
|
"mathjax": {
|
|
exports: "MathJax",
|
|
init: function() {
|
|
MathJax.Hub.Config({
|
|
tex2jax: {
|
|
inlineMath: [
|
|
["\\(","\\)"],
|
|
['[mathjaxinline]','[/mathjaxinline]']
|
|
],
|
|
displayMath: [
|
|
["\\[","\\]"],
|
|
['[mathjax]','[/mathjax]']
|
|
]
|
|
}
|
|
});
|
|
MathJax.Hub.Configured();
|
|
}
|
|
},
|
|
"URI": {
|
|
exports: "URI"
|
|
},
|
|
"tooltip_manager": {
|
|
deps: ["jquery", "underscore"]
|
|
},
|
|
"jquery.immediateDescendents": {
|
|
deps: ["jquery"]
|
|
},
|
|
"xblock/core": {
|
|
exports: "XBlock",
|
|
deps: ["jquery", "jquery.immediateDescendents"]
|
|
},
|
|
"xblock/runtime.v1": {
|
|
exports: "XBlock",
|
|
deps: ["xblock/core"]
|
|
},
|
|
|
|
"coffee/src/main": {
|
|
deps: ["coffee/src/ajax_prefix"]
|
|
},
|
|
"js/src/logger": {
|
|
exports: "Logger",
|
|
deps: ["coffee/src/ajax_prefix"]
|
|
},
|
|
|
|
// the following are all needed for annotation tools
|
|
"video.dev": {
|
|
exports:"videojs"
|
|
},
|
|
"vjs.youtube": {
|
|
deps: ["video.dev"]
|
|
},
|
|
"rangeslider": {
|
|
deps: ["video.dev"]
|
|
},
|
|
"annotator": {
|
|
exports: "Annotator"
|
|
},
|
|
"annotator-harvardx":{
|
|
deps: ["annotator"]
|
|
},
|
|
"share-annotator": {
|
|
deps: ["annotator"]
|
|
},
|
|
"richText-annotator": {
|
|
deps: ["annotator", "tinymce"]
|
|
},
|
|
"reply-annotator": {
|
|
deps: ["annotator"]
|
|
},
|
|
"tags-annotator": {
|
|
deps: ["annotator"]
|
|
},
|
|
"diacritic-annotator": {
|
|
deps: ["annotator"]
|
|
},
|
|
"flagging-annotator": {
|
|
deps: ["annotator"]
|
|
},
|
|
"grouping-annotator": {
|
|
deps: ["annotator"]
|
|
},
|
|
"ova":{
|
|
exports: "ova",
|
|
deps: ["annotator", "annotator-harvardx", "video.dev", "vjs.youtube", "rangeslider", "share-annotator", "richText-annotator", "reply-annotator", "tags-annotator", "flagging-annotator", "grouping-annotator", "diacritic-annotator", "jquery-Watch", "catch", "handlebars", "URI"]
|
|
},
|
|
"osda":{
|
|
exports: "osda",
|
|
deps: ["annotator", "annotator-harvardx", "video.dev", "vjs.youtube", "rangeslider", "share-annotator", "richText-annotator", "reply-annotator", "tags-annotator", "flagging-annotator", "grouping-annotator", "diacritic-annotator", "openseadragon", "jquery-Watch", "catch", "handlebars", "URI"]
|
|
},
|
|
// end of annotation tool files
|
|
}
|
|
});
|