Integrate push-service app

This commit is contained in:
2020-07-28 00:11:38 +02:00
parent 8cb9a8e717
commit 427c4cbf70
10 changed files with 54 additions and 7 deletions

View File

@@ -1 +1,2 @@
financer.serverUrl=http://localhost:8080/financer-server-mk/
financer.serverUrl=http://localhost:8080/financer-server-mk/
push-service-client.serverUrl=http://localhost:8080/push-service-server-mk/

View File

@@ -32,4 +32,7 @@ spring.messages.basename=i18n/message
# The currency code to use for displaying money values. Note that the currency is only used for
# displaying.
# Possible values are ISO-4271 currency codes.
financer.currencyCode=EUR
financer.currencyCode=EUR
push-service-client.serverUrl=http://localhost:8077/push-service-server/
logging.level.de.pushservice=DEBUG

View File

@@ -0,0 +1 @@
window.onload = registerServiceWorker();

View File

@@ -4,8 +4,10 @@
<title th:text="#{financer.account-overview.title}"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" th:href="@{/css/main.css}">
<link rel="stylesheet" th:href="@{/css/main.css}" />
<link rel="shortcut icon" th:href="@{/favicon.ico}" />
<script th:src="@{/javascript/push-service-client-init.js}"></script>
<script th:src="@{/javascript/init.js}"></script>
</head>
<body>
<h1 th:text="#{financer.heading.account-overview}" />

View File

@@ -2,6 +2,6 @@
<hr>
<div>
<span th:text="'financer v' + ${financerVersion}"/>
&nbsp;(<a th:href="@{/changelog.txt}">Changelog</a>,&nbsp;<a th:href="@{/readme.txt}">Readme</a>)
&nbsp;(<a th:href="@{/changelog.txt}">Changelog</a>,&nbsp;<a th:href="@{/readme.txt}">Readme</a>, <a th:href="@{/sentTestNotification}">Test</a>)
</div>
</div>