Skip to content

Commit

Permalink
feat(analytics): add video learning events to dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
jo-elimu committed Oct 26, 2024
1 parent 81eb6af commit f3810d8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/webapp/WEB-INF/jsp/analytics/layout.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<li><a href="<spring:url value='/analytics/letter-learning-event/list' />"><i class="material-icons left">text_format</i><fmt:message key="letters" /></a></li>
<li><a href="<spring:url value='/analytics/word-learning-event/list' />"><i class="material-icons left">sms</i><fmt:message key="words" /></a></li>
<li><a href="<spring:url value='/analytics/storybook-learning-event/list' />"><i class="material-icons left">book</i><fmt:message key="storybooks" /></a></li>
<li><a href="<spring:url value='/analytics/video-learning-event/list' />"><i class="material-icons left">movie</i>Videos</a></li>
</ul>
<a id="navButton" href="<spring:url value='/analytics' />" data-activates="nav-mobile" class="waves-effect waves-light"><i class="material-icons">dehaze</i></a>
</div>
Expand Down
11 changes: 11 additions & 0 deletions src/main/webapp/WEB-INF/jsp/analytics/main.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,17 @@
</div>
</div>
</div>

<div class="col s12 m6">
<div class="card">
<div class="card-content">
<span class="card-title"><i class="material-icons">movie</i> Videos</span>
</div>
<div class="card-action">
<a id="videoLearningEventsLink" href="<spring:url value='/analytics/video-learning-event/list' />">View list (${storyBookLearningEventCount})</a>
</div>
</div>
</div>

<div class="col s12">
<h5><fmt:message key="assessment.events" /></h5>
Expand Down
Empty file.

0 comments on commit f3810d8

Please sign in to comment.