add chart js to 3rd party

This commit is contained in:
Connor Yoh 2025-03-25 21:55:06 +00:00
parent 9951695eb1
commit 92a319e45a
2 changed files with 21 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
<html th:lang="${#locale.language}" th:dir="#{language.direction}" th:data-language="${#locale.toString()}" xmlns:th="https://www.thymeleaf.org"> <html th:lang="${#locale.language}" th:dir="#{language.direction}" th:data-language="${#locale.toString()}" xmlns:th="https://www.thymeleaf.org">
<head> <head>
<th:block th:insert="~{fragments/common :: head(title=#{endpointStatistics.title}, header=#{endpointStatistics.header})}"></th:block> <th:block th:insert="~{fragments/common :: head(title=#{endpointStatistics.title}, header=#{endpointStatistics.header})}"></th:block>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.2/dist/chart.umd.min.js"></script> <script th:src="@{'/js/thirdParty/chart.umd.min.js'}"></script>
<link rel="stylesheet" th:href="@{'/css/usage.css'}"> <link rel="stylesheet" th:href="@{'/css/usage.css'}">
</head> </head>