Moving forward cleaning up some unnecessary lesson super classes which we
do not need to support anymore in 8.0: - Introduced DI thoughout the code base - Removed most superclasses of a lesson - Hammerhead is now simplified to only one line of code - Cleaned up WebSession - Removed code which dealt with user roles, lesson fetching, username etc - LessonTracker improvements - Removed almost all code from the Screen class - Removed ECS from the container project - Removed adminstration pages, contained a lot of ECS codes which is much simpler to just rewrite when necessary
This commit is contained in:
@ -3,18 +3,11 @@
|
||||
|
||||
|
||||
<!-- Model is setup in the class StartLesson -->
|
||||
<div th:switch="${migrated}">
|
||||
<div th:case="false" id="lessonInstructions" th:utext="${instructions}"></div>
|
||||
<div th:case="true" id="lessonInstructions"></div>
|
||||
</div>
|
||||
<div id="lessonInstructions"></div>
|
||||
|
||||
<div id="message" class="info" th:utext="${message}"></div>
|
||||
<br/>
|
||||
|
||||
|
||||
<div th:switch="${migrated}">
|
||||
<div th:case="false" th:utext="${lesson.content}"></div>
|
||||
<div th:case="true" th:replace="lesson:__${lesson.id}__"></div>
|
||||
</div>
|
||||
<div th:replace="lesson:__${lesson.id}__"></div>
|
||||
|
||||
</html>
|
Reference in New Issue
Block a user