forked from tech-by-design/polyglot-prime
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request tech-by-design#245 from megin1989/main
feat: add FHIR Submission Summary widgets in dashboard tech-by-design#244
- Loading branch information
Showing
5 changed files
with
314 additions
and
4 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains 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
34 changes: 34 additions & 0 deletions
34
hub-prime/src/main/resources/templates/fragments/interactions.html
This file contains 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,34 @@ | ||
<!DOCTYPE html> | ||
<html xmlns:th="http://www.thymeleaf.org"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Dashboard Fragment</title> | ||
</head> | ||
<body th:fragment="serverTextStat"> | ||
|
||
<!-- Total Submissions Widget --> | ||
<div class="bg-white p-6 rounded-lg shadow-md"> | ||
<h2 class="text-xl font-semibold mb-2">Total Submissions</h2> | ||
<p class="text-4xl font-bold" th:text="${totalSubmissions}">0</p> | ||
</div> | ||
|
||
<!-- Pending Submissions Widget --> | ||
<div class="bg-white p-6 rounded-lg shadow-md"> | ||
<h2 class="text-xl font-semibold mb-2">Pending Submissions</h2> | ||
<p class="text-4xl font-bold" th:text="${pendingSubmissions}">0</p> | ||
</div> | ||
|
||
<!-- Accepted Submissions Widget --> | ||
<div class="bg-white p-6 rounded-lg shadow-md"> | ||
<h2 class="text-xl font-semibold mb-2">Accepted Submissions</h2> | ||
<p class="text-4xl font-bold" th:text="${acceptedSubmissions}">0</p> | ||
</div> | ||
|
||
<!-- Rejected Submissions Widget --> | ||
<div class="bg-white p-6 rounded-lg shadow-md"> | ||
<h2 class="text-xl font-semibold mb-2">Rejected Submissions</h2> | ||
<p class="text-4xl font-bold" th:text="${rejectedSubmissions}">0</p> | ||
</div> | ||
|
||
</body> | ||
</html> |
This file contains 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 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