20 lines
724 B
HTML
20 lines
724 B
HTML
<%
|
|
import hashlib
|
|
import json
|
|
hlskey = hashlib.md5(module.location.url()).hexdigest()
|
|
%>
|
|
|
|
<% showHighLevelSource='source_code' in json_metadata_data and json_metadata_data['source_code']['explicitly_set'] %>
|
|
% 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)}'>
|
|
% if showHighLevelSource:
|
|
<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>
|
|
|