commented out firefox polyfill ad well as xmodule css editor changes
This commit is contained in:
@@ -3,4 +3,8 @@
|
||||
<li class="field comp-setting-entry metadata_entry">
|
||||
</li>
|
||||
<% }) %>
|
||||
</ul>
|
||||
</ul>
|
||||
% if showHighLevelSource:
|
||||
<a href="#hls-modal-${hlskey}" class="launch-latex-compiler" id="hls-trig-${hlskey}" >Edit High Level Source</a>
|
||||
<%include file="source-edit.html" />
|
||||
% endif
|
||||
@@ -28,6 +28,11 @@ class CMS.Views.ModuleEdit extends Backbone.View
|
||||
el: metadataEditor,
|
||||
model: new CMS.Models.MetadataEditor(metadataEditor.data('metadata'))
|
||||
});
|
||||
|
||||
#Manually runs polyfill for input number types to correct for Firefox non-support
|
||||
#wrapperSettings = @$el.find(".wrapper-comp-settings")
|
||||
#wrapperSettings.inputNumber()
|
||||
|
||||
# Need to update set "active" class on data editor if there is one.
|
||||
# If we are only showing settings, hide the data editor controls and update settings accordingly.
|
||||
if @hasDataEditor()
|
||||
|
||||
@@ -954,4 +954,19 @@ body.unit {
|
||||
.view-button {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
// Latex Compiler
|
||||
// ====================
|
||||
.launch-latex-compiler {
|
||||
background-color: $white;
|
||||
padding: 10px 0 10px 20px;
|
||||
border-bottom: 1px solid $gray-l2;
|
||||
opacity: .8;
|
||||
|
||||
|
||||
&:hover {
|
||||
@include transition(opacity 0.25s ease-in-out);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
@@ -8,10 +8,12 @@
|
||||
% if 'source_code' in json_metadata_data:
|
||||
<% del json_metadata_data['source_code'] %>
|
||||
% endif
|
||||
<div class="wrapper-comp-settings metadata_edit" id="settings-tab" data-metadata='${json.dumps(json_metadata_data)}'/>
|
||||
|
||||
<div class="wrapper-comp-settings metadata_edit" id="settings-tab" data-metadata='${json.dumps(json_metadata_data)}'>
|
||||
% if showHighLevelSource:
|
||||
<a href="#hls-modal-${hlskey}" style="color:yellow;" id="hls-trig-${hlskey}" >Edit High Level Source</a>
|
||||
<div class="launch-latex-compiler">
|
||||
<label class="label setting-label">Latex Compiler Mode</label>
|
||||
<a href="#hls-modal-${hlskey}" id="hls-trig-${hlskey}" >Launch Latex Source Compiler</a></div>
|
||||
<%include file="source-edit.html" />
|
||||
% endif
|
||||
</div>
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
.row {
|
||||
position: relative;
|
||||
|
||||
//testing
|
||||
.CodeMirror {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
/*
|
||||
HTML5 Number polyfill | Jonathan Stipe | https://github.com/jonstipe/number-polyfill
|
||||
*/
|
||||
|
||||
function triggerNumberPolyfill() {
|
||||
|
||||
(function() {
|
||||
|
||||
@@ -298,5 +296,3 @@ function triggerNumberPolyfill() {
|
||||
})(jQuery);
|
||||
|
||||
}).call(this);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user