Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Commit bf227df

Browse files
author
Dominik Frantisek Bucik
committed
feat: 🎸 Configurable favicons
use `favicon=URL_POINTING_TO_FAVICON_FILE` property to set it for the MitreID gui
1 parent 99c5758 commit bf227df

File tree

19 files changed

+19
-1
lines changed

19 files changed

+19
-1
lines changed

perun-oidc-server-webapp/src/main/webapp/WEB-INF/server-config.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
<!-- This property allows the server to create and accept fully-composed
4343
user URIs (with the user-code emebedded) for the device flow -->
4444
<property name="allowCompleteDeviceCodeUri" value="true" />
45+
<property name="favicon" value="${favicon}"/>
4546
</bean>
4647

4748
</beans>

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/bbmri/header.tag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" />
1414

15+
<link rel="icon" href="resources/images/bbmri.ico" />
1516
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/bbmri/res/bootstrap/css/bootstrap.min.css" />
1617
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/bbmri/res/css/bbmri.css" />
1718

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/ceitec/header.tag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}"/>
1414

15+
<link rel="icon" href="resources/images/ceitec.ico" />
1516
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/ceitec/res/bootstrap/css/bootstrap.min.css" />
1617
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/ceitec/res/css/ceitec.css" />
1718

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/cesnet/header.tag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" />
1414

15+
<link rel="icon" href="resources/images/cesnet.ico" />
1516
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/bootstrap/css/bootstrap.min.css" />
1617
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/css/cesnet.css" />
1718

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/common/headerInit.tag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0" />
1919
<meta name="robots" content="noindex, nofollow" />
2020

21+
<link rel="icon" href="${config.favicon}"/>
2122
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/resources/default.css" />
2223
<link rel="stylesheet" type="text/css" href="resources/css/customs.css">

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/einfra/header.tag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" />
1414

15+
<link rel="icon" href="resources/images/einfra.ico" />
1516
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/bootstrap/css/bootstrap.min.css" />
1617
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/css/einfra.css" />
1718

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/elixir/header.tag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}"/>
1414

15+
<link rel="icon" href="resources/images/elixir.ico" />
1516
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/elixir/res/bootstrap/css/bootstrap.min.css" />
1617
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/elixir/res/css/elixir.css" />
1718

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/europdx/header.tag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" />
1414

15+
<link rel="icon" href="resources/images/europdx.ico" />
1516
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/europdx/res/bootstrap/css/bootstrap.min.css" />
1617
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/europdx/res/css/europdx.css" />
1718

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/header.tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<![endif]-->
3131

3232
<!-- favico -->
33-
<link rel="shortcut icon" href="resources/images/mitreid-connect.ico">
33+
<link rel="shortcut icon" href="${config.favicon}">
3434

3535
<!-- Load jQuery up here so that we can use in-page functions -->
3636
<script type="text/javascript" src="resources/js/lib/jquery.js"></script>

perun-oidc-server-webapp/src/main/webapp/WEB-INF/tags/muni/header.tag

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
<title><spring:message code="unified_login"/> | ${title}</title>
2020

21+
<link rel="icon" href="resources/images/muni.ico" />
2122
<link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/bootstrap.min.css">
2223
<link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/style-ie.css?1.2">
2324
<link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/style.css?1.2">

0 commit comments

Comments
 (0)