Renamed to lessontemplate
This commit is contained in:
		| @ -20,7 +20,7 @@ | |||||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. |  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| package org.owasp.webgoat.lessons.lesson_template; | package org.owasp.webgoat.lessons.lessontemplate; | ||||||
| 
 | 
 | ||||||
| import org.owasp.webgoat.container.lessons.Category; | import org.owasp.webgoat.container.lessons.Category; | ||||||
| import org.owasp.webgoat.container.lessons.Lesson; | import org.owasp.webgoat.container.lessons.Lesson; | ||||||
| @ -20,7 +20,7 @@ | |||||||
|  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. |  * Source for this application is maintained at https://github.com/WebGoat/WebGoat, a repository for free software projects. | ||||||
|  */ |  */ | ||||||
| 
 | 
 | ||||||
| package org.owasp.webgoat.lessons.lesson_template; | package org.owasp.webgoat.lessons.lessontemplate; | ||||||
| 
 | 
 | ||||||
| import lombok.AllArgsConstructor; | import lombok.AllArgsConstructor; | ||||||
| import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | import org.owasp.webgoat.container.assignments.AssignmentEndpoint; | ||||||
| @ -9,15 +9,15 @@ green when the user solves the assignment. To make this work we need to add: | |||||||
| <html xmlns:th="http://www.thymeleaf.org"> | <html xmlns:th="http://www.thymeleaf.org"> | ||||||
| 
 | 
 | ||||||
|   <div class="lesson-page-wrapper"> |   <div class="lesson-page-wrapper"> | ||||||
|     <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/ |     <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/ | ||||||
| lesson-template-intro.adoc"></div> | lesson-template-intro.adoc"></div> | ||||||
|   </div> |   </div> | ||||||
|   <div class="lesson-page-wrapper"> |   <div class="lesson-page-wrapper"> | ||||||
|     <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/ |     <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/ | ||||||
| lesson-template-content.adoc"></div> | lesson-template-content.adoc"></div> | ||||||
|   </div> |   </div> | ||||||
|   <div class="lesson-page-wrapper"> |   <div class="lesson-page-wrapper"> | ||||||
|     <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/ |     <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/ | ||||||
| lesson-template-lesson-class.adoc"></div> | lesson-template-lesson-class.adoc"></div> | ||||||
|   </div> |   </div> | ||||||
| </html> | </html> | ||||||
| @ -4,38 +4,38 @@ | |||||||
|         <!-- reuse this lesson-page-wrapper block for each 'page' of content in your lesson --> |         <!-- reuse this lesson-page-wrapper block for each 'page' of content in your lesson --> | ||||||
|         <!-- include content here, or can be placed in another location. Content will be presented via asciidocs files, |         <!-- include content here, or can be placed in another location. Content will be presented via asciidocs files, | ||||||
|         which go in src/main/resources/plugin/lessonplans/{lang}/{fileName}.adoc --> |         which go in src/main/resources/plugin/lessonplans/{lang}/{fileName}.adoc --> | ||||||
|         <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/lesson-template-intro.adoc"></div> |         <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/lesson-template-intro.adoc"></div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div class="lesson-page-wrapper"> |     <div class="lesson-page-wrapper"> | ||||||
|         <!-- reuse the above lesson-page-wrapper block for each 'page' of content in your lesson --> |         <!-- reuse the above lesson-page-wrapper block for each 'page' of content in your lesson --> | ||||||
|         <!-- include content here, or can be placed in another location. Content will be presented via asciidocs files, |         <!-- include content here, or can be placed in another location. Content will be presented via asciidocs files, | ||||||
|         which you put in src/main/resources/plugin/lessonplans/{lang}/{fileName}.adoc --> |         which you put in src/main/resources/plugin/lessonplans/{lang}/{fileName}.adoc --> | ||||||
|         <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/lesson-template-content.adoc"></div> |         <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/lesson-template-content.adoc"></div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div class="lesson-page-wrapper"> |     <div class="lesson-page-wrapper"> | ||||||
|         <!-- reuse the above lesson-page-wrapper block for each 'page' of content in your lesson --> |         <!-- reuse the above lesson-page-wrapper block for each 'page' of content in your lesson --> | ||||||
|         <!-- include content here, or can be placed in another location. Content will be presented via asciidocs files, |         <!-- include content here, or can be placed in another location. Content will be presented via asciidocs files, | ||||||
|         which you put in src/main/resources/plugin/lessonplans/{lang}/{fileName}.adoc --> |         which you put in src/main/resources/plugin/lessonplans/{lang}/{fileName}.adoc --> | ||||||
|         <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/lesson-template-video.adoc"></div> |         <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/lesson-template-video.adoc"></div> | ||||||
|         <!-- can use multiple adoc's in a page-wrapper if you want ... or not--> |         <!-- can use multiple adoc's in a page-wrapper if you want ... or not--> | ||||||
|         <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/lesson-template-video-more.adoc"></div> |         <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/lesson-template-video-more.adoc"></div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div class="lesson-page-wrapper"> |     <div class="lesson-page-wrapper"> | ||||||
|         <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/lesson-template-lesson-class.adoc"></div> |         <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/lesson-template-lesson-class.adoc"></div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div class="lesson-page-wrapper"> |     <div class="lesson-page-wrapper"> | ||||||
|         <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/lesson-template-glue.adoc"></div> |         <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/lesson-template-glue.adoc"></div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div class="lesson-page-wrapper"> |     <div class="lesson-page-wrapper"> | ||||||
|         <!-- reuse the above lesson-page-wrapper block for each 'page' of content in your lesson --> |         <!-- reuse the above lesson-page-wrapper block for each 'page' of content in your lesson --> | ||||||
|         <!-- include content here, or can be placed in another location. Content will be presented via asciidocs files, |         <!-- include content here, or can be placed in another location. Content will be presented via asciidocs files, | ||||||
|         which you put in src/main/resources/plugin/lessonplans/{lang}/{fileName}.adoc --> |         which you put in src/main/resources/plugin/lessonplans/{lang}/{fileName}.adoc --> | ||||||
|         <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/lesson-template-attack.adoc"></div> |         <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/lesson-template-attack.adoc"></div> | ||||||
| 
 | 
 | ||||||
|         <!-- WebGoat will automatically style and scaffold some functionality by using the div.attack-container as below --> |         <!-- WebGoat will automatically style and scaffold some functionality by using the div.attack-container as below --> | ||||||
|         <div class="attack-container"> |         <div class="attack-container"> | ||||||
| @ -71,7 +71,7 @@ | |||||||
|         see other lessons for other more complex examples --> |         see other lessons for other more complex examples --> | ||||||
| 
 | 
 | ||||||
|     <div class="lesson-page-wrapper"> |     <div class="lesson-page-wrapper"> | ||||||
|         <div class="adoc-content" th:replace="doc:lessons/lesson_template/documentation/lesson-template-database.adoc"></div> |         <div class="adoc-content" th:replace="doc:lessons/lessontemplate/documentation/lesson-template-database.adoc"></div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
| </html> | </html> | ||||||
| Before Width: | Height: | Size: 200 KiB After Width: | Height: | Size: 200 KiB | 
		Reference in New Issue
	
	Block a user