refactor: move xmodule folder to root
- Moving xmodule folder to root as we're dissolving sub-projects of common folder in edx-platform
- More info: https://openedx.atlassian.net/browse/BOM-2579
- -e common/lib/xmodule has been removed from the requirements as xmodule has itself become the part of edx-platform and not being installed through requirements
- The test files common/lib/xmodule/test_files/ have been removed as they are not being used anymore
This commit is contained in:
24
xmodule/templates/test/announcement.yaml
Normal file
24
xmodule/templates/test/announcement.yaml
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
metadata:
|
||||
display_name: Announcement
|
||||
data: |
|
||||
<ol>
|
||||
<li>
|
||||
<h2> September 21 </h2>
|
||||
<section class='update-description'>
|
||||
<section class='primary'>
|
||||
<p> Words of encouragement! This is a short note that most students will read. </p>
|
||||
<p class='author'>Anant Agarwal (6.002x Principal Instructor)</p>
|
||||
</section>
|
||||
<h3>Primary versus Secondary Updates:</h3>
|
||||
<p>Unfortunately, the internet throws a lot of text at students, and they
|
||||
do not read everything that they are given. However, many students <em>do</em> read all that they are
|
||||
given, and so detailed explainations in this section will benefit the most concientious.
|
||||
Any essential information should be extremely quickly summarized in the primary section for skimmers.</p>
|
||||
<h3>Star Forum Poster</h3><p>
|
||||
Students appreciate knowing that the course staff is reading what they post, and one of several ways
|
||||
that you can do this is by acknowledging the star posters in your announcements.
|
||||
</p>
|
||||
</section>
|
||||
</li>
|
||||
</ol>
|
||||
19
xmodule/templates/test/anon_user_id.yaml
Normal file
19
xmodule/templates/test/anon_user_id.yaml
Normal file
@@ -0,0 +1,19 @@
|
||||
---
|
||||
metadata:
|
||||
display_name: Anonymous User ID
|
||||
data: |
|
||||
<p>Your explanatory text here.</p>
|
||||
<p><a href="https://YOUR_UNIVERSITY.qualtrics.com/SE/?SID=SV_###############&a=%%USER_ID%%" target="_blank">YOUR_LINK_TEXT</a></p>
|
||||
|
||||
<!-- You can include %%USER_ID%% to include an anonymized user ID in your outside services so that you can relate them later.
|
||||
|
||||
This example is a Qualtrics template:
|
||||
- Replace the "###############" with your Survey ID.
|
||||
- Also replace "YOUR_UNIVERSITY" with your qualtrics ID.
|
||||
- Finally, replace "YOUR_LINK_TEXT" with your link text.
|
||||
- If you wish to embed your survey into the courseware instead of opening a new tab, replace the above HTML with what is provided below.
|
||||
|
||||
<p>Your explanatory text here.</p>
|
||||
<iframe src="https://YOUR_UNIVERSITY.qualtrics.com/SE/?SID=SV_###############&a=%%USER_ID%%" height="1000" width="800" />
|
||||
|
||||
-->
|
||||
21
xmodule/templates/test/latex_html.yaml
Normal file
21
xmodule/templates/test/latex_html.yaml
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
metadata:
|
||||
display_name: E-text Written in LaTeX
|
||||
source_code: |
|
||||
\subsection{Example of E-text in LaTeX}
|
||||
|
||||
It is very convenient to write complex equations in LaTeX.
|
||||
|
||||
\begin{equation}
|
||||
x = \frac{-b\pm\sqrt{b^2-4*a*c}}{2a}
|
||||
\end{equation}
|
||||
|
||||
Seize the moment.
|
||||
|
||||
data: |
|
||||
<html>
|
||||
<h2>Example: E-text page</h2>
|
||||
<p>
|
||||
It is very convenient to write complex equations in LaTeX.
|
||||
</p>
|
||||
</html>
|
||||
0
xmodule/templates/test/somefile.notyaml
Normal file
0
xmodule/templates/test/somefile.notyaml
Normal file
25
xmodule/templates/test/zooming_image.yaml
Normal file
25
xmodule/templates/test/zooming_image.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
metadata:
|
||||
display_name: Zooming Image
|
||||
data: |
|
||||
<h2>ZOOMING DIAGRAMS</h2>
|
||||
<p>Some edX classes use extremely large, extremely detailed graphics. To make it easier to understand we can offer two versions of those graphics, with the zoomed section showing when you click on the main view.</p>
|
||||
<p>The example below is from <a href="https://www.edx.org/course/mit/7-00x/introduction-biology-secret-life/1014" target="_blank">7.00x: Introduction to Biology</a> and shows a subset of the biochemical reactions that cells carry out. </p>
|
||||
<p>You can view the chemical structures of the molecules by clicking on them. The magnified view also lists the enzymes involved in each step.</p>
|
||||
<p class="sr">Press spacebar to open the magifier.</p>
|
||||
<div class="zooming-image-place" style="position: relative;">
|
||||
<a class="loupe" href="https://studio.edx.org/c4x/edX/DemoX/asset/pathways_detail_01.png">
|
||||
<img alt="magnify" src="https://studio.edx.org/c4x/edX/DemoX/asset/pathways_overview_01.png" />
|
||||
</a>
|
||||
<div class="script_placeholder" data-src="https://studio.edx.org/c4x/edX/DemoX/asset/jquery.loupeAndLightbox.js" />
|
||||
</div>
|
||||
<script type="text/javascript">// <![CDATA[
|
||||
JavascriptLoader.executeModuleScripts($('.zooming-image-place').eq(0), function() {
|
||||
$('.loupe').loupeAndLightbox({
|
||||
width: 350,
|
||||
height: 350,
|
||||
lightbox: false
|
||||
});
|
||||
});
|
||||
// ]]></script>
|
||||
<div id="ap_listener_added"></div>
|
||||
Reference in New Issue
Block a user