fix: autoformat problem block template files using djlint (#37760)

This commit is contained in:
Irtaza Akram
2026-01-06 17:55:30 +05:00
committed by GitHub
parent 87bf1003b7
commit fd33d80fb7
39 changed files with 1444 additions and 1322 deletions

View File

@@ -1,53 +1,60 @@
<h3 class="hd hd-3 problem-header">Custom Javascript Display and Grading</h3>
<div class="problem">
<div>
<span>
<section data-processed="true" data-sop="false" data-setstate="WebGLDemo.setState"
data-getstate="WebGLDemo.getState"
data-stored=""
data="WebGLDemo.getGrade" class="jsinput"
id="inputtype_1_">
<section data-processed="true"
data-sop="false"
data-setstate="WebGLDemo.setState"
data-getstate="WebGLDemo.getState"
data-stored=""
data="WebGLDemo.getGrade"
class="jsinput"
id="inputtype_1_">
<div id="status_1_" class="correct">
<iframe width="400" height="400" frameborder="0" src="https://studio.edx.org/c4x/edX/DemoX/asset/webGLDemo.html"
<iframe width="400"
height="400"
frameborder="0"
src="https://studio.edx.org/c4x/edX/DemoX/asset/webGLDemo.html"
seamless="seamless"
sandbox="allow-scripts allow-popups allow-same-origin allow-forms allow-pointer-lock"
id="iframe_1_"
name="iframe_1_">
</iframe>
<input type="hidden"
value=""
waitfor="" id="input_1_1"
name="input_1_1">
</div>
<input type="hidden" value="" waitfor="" id="input_1_1" name="input_1_1">
</div>
</section>
</span>
<span>
<section data-processed="true" data-sop="false" data-setstate="WebGLDemo.setState"
data-getstate="WebGLDemo.getState"
data-stored=""
data="WebGLDemo.getGrade" class="jsinput"
id="inputtype_1_">
<section data-processed="true"
data-sop="false"
data-setstate="WebGLDemo.setState"
data-getstate="WebGLDemo.getState"
data-stored=""
data="WebGLDemo.getGrade"
class="jsinput"
id="inputtype_1_">
<div id="status_1_" class="incorrect">
<iframe width="400" height="400" frameborder="0"
src="https://studio.edx.org/c4x/edX/DemoX/asset/webGLDemo.html" seamless="seamless"
<iframe width="400"
height="400"
frameborder="0"
src="https://studio.edx.org/c4x/edX/DemoX/asset/webGLDemo.html"
seamless="seamless"
sandbox="allow-scripts allow-popups allow-same-origin allow-forms allow-pointer-lock"
id="iframe_1_"
name="iframe_1_">
</iframe>
<input type="hidden"
value=""
id="input_1_2"
name="input_1_2">
<input type="hidden" value="" id="input_1_2" name="input_1_2">
</div>
</section>
</span>
</div>
<div class="action">
<input type="hidden" value="Custom Javascript Display and Grading" name="problem_id">
<input type="hidden"
value="Custom Javascript Display and Grading"
name="problem_id">
<input type="button" value="Reset" class="reset">
<button class="show"><span aria-hidden="true" class="show-label">Show Answer</span> <span class="sr">Reveal Answer</span></button>
<button class="show">
<span aria-hidden="true" class="show-label">Show Answer</span> <span class="sr">Reveal Answer</span>
</button>
</div>
</div>