-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Feature: add new env property "fonts.url" and "fonts.name" to pag…
…e for download custom fonts. If you use server.servlet.context-path=/ you must override fonts.url with ${server.servlet.context-path}rest/static/font/NotoSans.ttf Closed Issue #40
- Loading branch information
Showing
6 changed files
with
20 additions
and
6 deletions.
There are no files selected for viewing
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
2 changes: 1 addition & 1 deletion
2
cool-jconon-webapp-resources/src/main/resources/META-INF/css/spid-sp-access-button.min.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file added
BIN
+27.1 KB
cool-jconon-webapp-resources/src/main/resources/META-INF/font/NotoSans.ttf
Binary file not shown.
7 changes: 6 additions & 1 deletion
7
cool-jconon-webapp-resources/src/main/resources/pages/application/application.get.head.ftl
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
<script src="${url.context}/res/js/thirdparty/require.js" data-main="ws/application/application.js"></script> | ||
<link href="${url.context}/res/css/select2.css" rel="stylesheet"> | ||
<link href='//fonts.googleapis.com/css?family=Noto+Sans' rel='stylesheet' type='text/css'> | ||
<style> | ||
@font-face{ | ||
font-family: "${fontsName}"; | ||
src: url("${fontsURL}") format("truetype"); | ||
} | ||
</style> |
9 changes: 7 additions & 2 deletions
9
cool-jconon-webapp-resources/src/main/resources/pages/home/main.get.head.ftl
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 |
---|---|---|
@@ -1,3 +1,8 @@ | ||
<script src="${url.context}/res/js/thirdparty/require.js" data-main="ws/home/main.get"></script> | ||
<link href='//fonts.googleapis.com/css?family=Noto+Sans' rel='stylesheet' type='text/css'> | ||
<link href="${url.context}/res/css/select2.css" rel="stylesheet"> | ||
<link href="${url.context}/res/css/select2.css" rel="stylesheet"> | ||
<style> | ||
@font-face{ | ||
font-family: "${fontsName}"; | ||
src: url("${fontsURL}") format("truetype"); | ||
} | ||
</style> |
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