Repository navigation
[SE-5135] Update HTML templates to the v2 counterparts. #453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
keithgg
merged 2 commits into
opencraft-release/koa.3-esme
from
keith/se_5135_esme_update_custom_html_templates
Jan 25, 2022
Merged
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
14 changes: 0 additions & 14 deletions
14
common/lib/xmodule/xmodule/templates/html/additional_activities.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Calendar | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/calendar.png" alt="" /> | ||
| <div> | ||
| <h4>Calendar</h4> | ||
| </div> | ||
| </div> |
24 changes: 12 additions & 12 deletions
24
common/lib/xmodule/xmodule/templates/html/case_analysis.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,14 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Case Analysis | ||
| data: | | ||
| <div class="div-casestudy"><img class="icon-image" src="/static/Case_Study.png" alt="" /> | ||
| <div> | ||
| <h4>Case Analysis</h4> | ||
| <p>Having read this case, consider the following questions:</p> | ||
| <ul> | ||
| <li>[Enter question 1]</li> | ||
| <li>[Enter question 2]</li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| display_name: Case Analysis | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/discussion_activities.png" alt="" /> | ||
| <div> | ||
| <h4>Case Analysis</h4> | ||
| <p>Having read this case, consider the following questions:</p> | ||
| <ul> | ||
| <li>[Enter question 1]</li> | ||
| <li>[Enter question 2]</li> | ||
| </ul> | ||
| </div> | ||
| </div> |
10 changes: 0 additions & 10 deletions
10
common/lib/xmodule/xmodule/templates/html/case_information.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Certificate | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/certificate.png" alt="" /> | ||
| <div> | ||
| <h4>Certificate</h4> | ||
| </div> | ||
| </div> |
11 changes: 0 additions & 11 deletions
11
common/lib/xmodule/xmodule/templates/html/current_event.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Downloads | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/!downloads.png" alt="" /> | ||
| <div> | ||
| <h4>Downloads</h4> | ||
| </div> | ||
| </div> | ||
| <p></p> | ||
11 changes: 0 additions & 11 deletions
11
common/lib/xmodule/xmodule/templates/html/faculty_video.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
common/lib/xmodule/xmodule/templates/html/final_capstone_project.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Final Capstone Project | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/capstone.png" alt="" /> | ||
| <div> | ||
| <h4>Final Capstone Project</h4> | ||
| <p><strong>Note:</strong> This is the Module 6 final project. Intermediate milestone assignments (in modules 1-5) toward the Capstone should be styled as Group Exercises.</p> | ||
| </div> | ||
| </div> |
27 changes: 13 additions & 14 deletions
27
common/lib/xmodule/xmodule/templates/html/graded_assignments.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,16 +1,15 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Graded Assignments | ||
| data: | | ||
| <div class="div-assignments"><img class="icon-image" src="/static/assessments.png" alt="" /> | ||
| <div> | ||
| <h4>Graded Assignments</h4> | ||
| <p>We will also complete individual and group assignments, which count towards your completion of the programme. This week, we:</p> | ||
| <ul> | ||
| <li>[Assignment 1]</li> | ||
| <li>[Assignment 2]</li> | ||
| </ul> | ||
| <p>You must submit all graded assignments in Module 1 <strong>by [Enter Date], 23:59 UTC</strong>. (Try the <a href="https://www.thetimezoneconverter.com/?t=11%3A00%20AM&tz=UTC%20(Coordinated%20Universal%20Time)" target="_blank" s="">Time Zone Converter</a> to get your local time.)</p> | ||
| </div> | ||
| </div> | ||
| <p></p> | ||
| display_name: Graded Assignments | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/assessments.png" alt="" /> | ||
| <div> | ||
| <h4>Graded Assignments</h4> | ||
| <p>We will also complete individual and group assignments, which count towards your completion of the course. This week, we:</p> | ||
| <ul> | ||
| <li>[Assignment 1]</li> | ||
| <li>[Assignment 2]</li> | ||
| </ul> | ||
| <p>You must submit all graded assignments in Module 1 <strong>by [Enter Date], 23:59 UTC</strong>. (Try the <a href="https://www.thetimezoneconverter.com/?t=11%3A00%20AM&tz=UTC%20(Coordinated%20Universal%20Time)" target="_blank" s="">Time Zone Converter</a> to get your local time.)</p> | ||
| </div> | ||
| </div> |
12 changes: 12 additions & 0 deletions
12
common/lib/xmodule/xmodule/templates/html/group_exercise.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Group Exercise | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/group_exercise.png" alt="" /> | ||
| <div> | ||
| <h4>Group Exercise: [Enter Exercise Name]</h4> | ||
| <p>[Frame the exercise here]</p> | ||
| <h5>Instructions</h5> | ||
| <p>[Provide step by step instructions for learners here.]</p> | ||
| </div> | ||
| </div> |
11 changes: 0 additions & 11 deletions
11
common/lib/xmodule/xmodule/templates/html/guest_video.yaml
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
common/lib/xmodule/xmodule/templates/html/in_the_news.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| metadata: | ||
| display_name: In the News | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/In_The_News.png" alt="" /> | ||
| <div> | ||
| <h4>In the News</h4> | ||
| <p>Current events, etc.</p> | ||
| </div> | ||
| </div> |
17 changes: 8 additions & 9 deletions
17
common/lib/xmodule/xmodule/templates/html/individual_exercise.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,11 +1,10 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Individual Exercise | ||
| data: | | ||
| <div class="div-exercise"> | ||
| <img class="icon-image" src="/static/exercises.png" alt=""> | ||
| <div> | ||
| <h4>Individual Exercise</h4> | ||
| <p>[Enter the description and instructions for the exercise. You will add the exercise as it's own component.]</p> | ||
| </div> | ||
| </div> | ||
| display_name: Individual Exercise | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/exercises.png" alt="" /> | ||
| <div> | ||
| <h4>Individual Exercise</h4> | ||
| <p>[Enter the description and instructions for the exercise.]</p> | ||
| </div> | ||
| </div> |
9 changes: 9 additions & 0 deletions
9
common/lib/xmodule/xmodule/templates/html/individual_reflection.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Individual Reflection | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/individual_reflection.png" alt="" /> | ||
| <div> | ||
| <h4>Individual Reflection</h4> | ||
| </div> | ||
| </div> |
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
common/lib/xmodule/xmodule/templates/html/info_or_vocabulary_check.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Info or Vocabulary Check | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/info.png" alt="" /> | ||
| <div> | ||
| <h4>[H4 Title Goes Here]</h4> | ||
| <p>Brief informational bits, including Vocabulary Check components</p> | ||
| </div> | ||
| </div> |
29 changes: 14 additions & 15 deletions
29
common/lib/xmodule/xmodule/templates/html/key_takeaways.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,16 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Key Takeaways | ||
| data: | | ||
| <div class="div-keytakeaways"> | ||
| <img class="icon-image" src="/static/highlights_takeaways.png" alt=""> | ||
| <div> | ||
| <h4>Key Takeaways</h4> | ||
| <p>Let's review the key points of this section:</p> | ||
| <ol> | ||
| <li>[Enter key point 1]</li> | ||
| <li>[Enter key point 2]</li> | ||
| <li>[Enter key point 3]</li> | ||
| <li>[Enter key point 4]</li> | ||
| </ol> | ||
| </div> | ||
| </div> | ||
| display_name: Key Takeaways | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/highlights_takeaways.png" alt="" /> | ||
| <div> | ||
| <h4>Key Takeaways</h4> | ||
| <p>Let's review the key points of this section:</p> | ||
| <ol> | ||
| <li>[Enter key point 1]</li> | ||
| <li>[Enter key point 2]</li> | ||
| <li>[Enter key point 3]</li> | ||
| <li>[Enter key point 4]</li> | ||
| </ol></div> | ||
| </div> | ||
| <p></p> |
11 changes: 11 additions & 0 deletions
11
common/lib/xmodule/xmodule/templates/html/knowledge_check.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Knowledge Check (non-edX/H5P) | ||
| data: | | ||
| <h3>1.2.3 Knowledge Check</h3> | ||
| <p></p> | ||
| <div class="div-info"><img class="icon-image" src="/static/knowledge-check.png" alt="" /> | ||
| <div> | ||
| <p>Try the question below to check your understanding of this lesson. This question is not graded, and you have unlimited attempts.</p> | ||
| </div> | ||
| </div> |
12 changes: 12 additions & 0 deletions
12
common/lib/xmodule/xmodule/templates/html/module_overview.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Module Overview | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/overview.png" alt="" /> | ||
| <div> | ||
| <h4>Overview</h4> | ||
| <h6>Module Time: 7-10 hours | <a href="/static/CYB-Summer-2021-M1.pdf" target="_blank">Download Module Materials</a> (PDF)</h6> | ||
| <p>Welcome to the [X] module of the [Enter Programme Name Here]!</p> | ||
| <p>This week we will learn about [Enter text here]</p> | ||
| </div> | ||
| </div> |
34 changes: 17 additions & 17 deletions
34
common/lib/xmodule/xmodule/templates/html/objectives.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,19 +1,19 @@ | ||
| --- | ||
| metadata: | ||
| display_name: Objectives | ||
| data: | | ||
| <div class="div-objectives"><img class="icon-image" src="/static/objectives_outcomes.png" alt="" /> | ||
| <div> | ||
| <h4>Objectives</h4> | ||
| <p>Our goals for this module are to:</p> | ||
| <ul> | ||
| <li>[Enter Goal 1]</li> | ||
| <li>[Enter Goal 2]</li> | ||
| </ul> | ||
| <p>At the end of this module, you will be able to:</p> | ||
| <ul> | ||
| <li>[Enter Learning Objective 1]</li> | ||
| <li>[Enter Learnign Objective 2]</li> | ||
| </ul> | ||
| </div> | ||
| </div> | ||
| display_name: Objectives | ||
| data: | | ||
| <div class="div-info"><img class="icon-image" src="/static/Objectives_outcomes.png" alt="" /> | ||
| <div> | ||
| <h4>Objectives</h4> | ||
| <p>Our goals for this module are to:</p> | ||
| <ul> | ||
| <li>[Enter Goal 1]</li> | ||
| <li>[Enter Goal 2]</li> | ||
| </ul> | ||
| <p>At the end of this module, you will be able to:</p> | ||
| <ul> | ||
| <li>[Enter Learning Objective 1]</li> | ||
| <li>[Enter Learning Objective 2]</li> | ||
| </ul> | ||
| </div> | ||
| </div> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I'm guessing the "!" in the
srcfield got in there by mistake but it's preventing the image from loading currectly. So please correct it.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Fixed.