refactor!: move common/lib/capa/capa to xmodule/capa

As part of dissolving our sub-projects in edx-platform, we are moving this package under the xmodule directory.
We have fixed all the occurences of import of this package and also fixed all documents related references.
This might break your platform if you have any reference of `import capa` or `from capa import` in your codebase or in any Xblock.

Ref: https://openedx.atlassian.net/browse/BOM-2582
This commit is contained in:
Soban Javed
2022-05-16 20:20:18 +05:00
parent 9285a7f9de
commit 9eba9f983a
121 changed files with 144 additions and 182 deletions

View File

@@ -0,0 +1,24 @@
<%! from xmodule.capa.util import remove_markup %>
<div>
<div class="script_placeholder" data-src="${setup_script}"/>
<input type="hidden"
class="schematic"
height="${height}"
width="${width}"
parts="${parts}"
analyses="${analyses}"
name="input_${id}"
id="input_${id}"
aria-label="${remove_markup(response_data['label'])}"
aria-describedby="answer_${id}"
value="${value|h}"
initial_value="${initial_value|h}"
submit_analyses="${submit_analyses|h}"
/>
<span id="answer_${id}"></span>
<div class="indicator-container">
<%include file="status_span.html" args="status=status, status_id=id"/>
</div>
</div>