Commit 81d86eea by Chris Rodriguez

Changing H2 to H3 in problem templates

parent 092eae9f
......@@ -336,9 +336,9 @@
<section id="problem_i4x-AndyA-ABT101-problem-46d2b65d793549e2876729d55df9a2cb" class="problems-wrapper" data-problem-id="i4x://AndyA/ABT101/problem/46d2b65d793549e2876729d55df9a2cb" data-url="/preview/xblock/i4x:;_;_AndyA;_ABT101;_problem;_46d2b65d793549e2876729d55df9a2cb/handler/xmodule_handler" data-progress_status="none" data-progress_detail="0/1">
<h2 class="problem-header">
<h3 class="problem-header">
Multiple Choice
</h2>
</h3>
<section class="problem-progress">(1 point possible)</section>
......
......@@ -8,9 +8,9 @@
<section id="problem_i4x-Me-19_002-problem-Numerical_Input" class="problems-wrapper" data-problem-id="i4x://Me/19.002/problem/Numerical_Input" data-url="/courses/Me/19.002/Test/modx/i4x://Me/19.002/problem/Numerical_Input" data-progress_status="done" data-progress_detail="1/1">
<h2 class="problem-header">
<h3 class="problem-header">
Numerical Input
</h2>
</h3>
<section class="problem-progress">(1/1 point)</section>
......
<h2 class="problem-header">Custom Javascript Display and Grading</h2>
<h3 class="problem-header">Custom Javascript Display and Grading</h3>
<div class="problem">
<div>
......
<h2 class="problem-header">Problem Header</h2>
<h3 class="problem-header">Problem Header</h3>
<div class='problem-progress'></div>
......
<h2 class="problem-header">Problem Header</h2>
<h3 class="problem-header">Problem Header</h3>
<div class='problem-progress'></div>
......
......@@ -579,4 +579,3 @@ class @MarkdownEditingDescriptor extends XModule.Descriptor
return xml;
}`
return toXml markdown
......@@ -2,7 +2,7 @@
metadata:
display_name: IFrame Tool
data: |
<h2>IFrame Tool</h2>
<h3>IFrame Tool</h3>
<p>Use the IFrame tool to embed an exercise or tool from any web site into your course content. For example, the tool below allows learners to experiment with how the shape of a triangle affects a line that is derived from the triangle.</p>
<p>Exercises in an IFrame are not graded. To embed graded exercises, use a Custom JavaScript Problem.</p>
<p>The following code is the HTML format required to use the IFrame tool. For the IFrame in this template, you must replace the values in <i>italics</i>.</p>
......
......@@ -2,7 +2,7 @@
metadata:
display_name: Full Screen Image Tool
data: |
<h2>Full Screen Image Tool</h2>
<h3>Full Screen Image Tool</h3>
<p>Use the Full Screen Image tool to allow learners to open and zoom in on a larger version of an image in your course.</p>
<p>With the Full Screen Image tool, learners can see the image's details as well as its context within the unit.</p>
<p>To enable users to view the larger image, you wrap the smaller image in a link to the larger version of the image.</p>
......
......@@ -2,7 +2,7 @@
metadata:
display_name: Zooming Image Tool
data: |
<h2>Zooming Image Tool</h2>
<h3>Zooming Image Tool</h3>
<p>Use the Zooming Image Tool to enable learners to see details of large, complex images.</p>
<p>With the Zooming Image Tool, the learner can move the mouse pointer over a part of the image to enlarge it and see more detail.</p>
<p>To use the Zooming Image Tool, you must first add the <a href="http://files.edx.org/jquery.loupeAndLightbox.js" target="_blank">jquery.loupeAndLightbox.js JavaScript file</a> to your course.</p>
......
......@@ -44,5 +44,5 @@ class LibraryContentXBlockWrapper(PageObject):
"""
Gets headers of all child XBlocks as list of strings
"""
child_blocks_headers = self.q(css=self._bounded_selector("div[data-id] h2.problem-header"))
child_blocks_headers = self.q(css=self._bounded_selector("div[data-id] h3.problem-header"))
return frozenset(child.text for child in child_blocks_headers)
......@@ -183,6 +183,6 @@ def wait_for_problem(display_name):
world.wait_for_ajax_complete()
wait_func = lambda _: world.css_has_text(
'h2.problem-header', display_name, strip=True
'h3.problem-header', display_name, strip=True
)
world.wait_for(wait_func)
......@@ -9,7 +9,7 @@
<% }) %>
</nav>
<% } %>
<h2 class="page-title"><%- title %></h2>
<h3 class="page-title"><%- title %></h3>
<p class="page-description"><%- description %></p>
</div>
<div class="page-header-secondary"></div>
......
......@@ -3,10 +3,10 @@ import json
from django.utils.translation import ugettext as _
%>
<h2 class="problem-header">
<h3 class="problem-header">
## Translators: "External resource" means that this learning module is hosted on a platform external to the edX LMS
${display_name} (${_('External resource')})
</h2>
</h3>
% if has_score and weight:
<div class="problem-progress">
......@@ -51,9 +51,9 @@ from django.utils.translation import ugettext as _
></iframe>
% endif
% elif not hide_launch:
<h3 class="error_message">
<h4 class="error_message">
${_('Please provide launch_url. Click "Edit", and fill in the required fields.')}
</h3>
</h4>
% endif
% if has_score and comment:
......
<%! from django.utils.translation import ugettext as _ %>
<%namespace name='static' file='static_content.html'/>
<h2 class="problem-header">
<h3 class="problem-header">
${ problem['name'] }
</h2>
</h3>
<div class="problem-progress"></div>
......
<%! from django.utils.translation import ugettext as _ %>
% if display_name is not UNDEFINED and display_name is not None:
<h2>${display_name}</h2>
<h3>${display_name}</h3>
% endif
<div
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment