Merge pull request #112 from dBucik/favicons

feat: 🎸 Configurable favicons
pull/1580/head
Dominik František Bučík 2021-12-10 08:19:51 +01:00 committed by GitHub
commit a36fd84dfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 19 additions and 1 deletions

View File

@ -42,6 +42,7 @@
<!-- This property allows the server to create and accept fully-composed <!-- This property allows the server to create and accept fully-composed
user URIs (with the user-code emebedded) for the device flow --> user URIs (with the user-code emebedded) for the device flow -->
<property name="allowCompleteDeviceCodeUri" value="true" /> <property name="allowCompleteDeviceCodeUri" value="true" />
<property name="favicon" value="${favicon}"/>
</bean> </bean>
</beans> </beans>

View File

@ -12,6 +12,7 @@
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" /> <o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" />
<link rel="icon" href="resources/images/bbmri.ico" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/bbmri/res/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/bbmri/res/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/bbmri/res/css/bbmri.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/bbmri/res/css/bbmri.css" />

View File

@ -12,6 +12,7 @@
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}"/> <o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}"/>
<link rel="icon" href="resources/images/ceitec.ico" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/ceitec/res/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/ceitec/res/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/ceitec/res/css/ceitec.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/ceitec/res/css/ceitec.css" />

View File

@ -12,6 +12,7 @@
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" /> <o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" />
<link rel="icon" href="resources/images/cesnet.ico" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/css/cesnet.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/css/cesnet.css" />

View File

@ -18,5 +18,6 @@
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0" />
<meta name="robots" content="noindex, nofollow" /> <meta name="robots" content="noindex, nofollow" />
<link rel="icon" href="${config.favicon}"/>
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/resources/default.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/resources/default.css" />
<link rel="stylesheet" type="text/css" href="resources/css/customs.css"> <link rel="stylesheet" type="text/css" href="resources/css/customs.css">

View File

@ -12,6 +12,7 @@
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" /> <o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" />
<link rel="icon" href="resources/images/einfra.ico" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/css/einfra.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/cesnet/res/css/einfra.css" />

View File

@ -12,6 +12,7 @@
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}"/> <o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}"/>
<link rel="icon" href="resources/images/elixir.ico" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/elixir/res/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/elixir/res/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/elixir/res/css/elixir.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/elixir/res/css/elixir.css" />

View File

@ -12,6 +12,7 @@
<o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" /> <o:headerInit title="${title}" reqURL="${reqURL}" baseURL="${baseURL}" samlResourcesURL="${samlResourcesURL}" />
<link rel="icon" href="resources/images/europdx.ico" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/europdx/res/bootstrap/css/bootstrap.min.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/europdx/res/bootstrap/css/bootstrap.min.css" />
<link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/europdx/res/css/europdx.css" /> <link rel="stylesheet" type="text/css" href="${samlResourcesURL}/module.php/europdx/res/css/europdx.css" />

View File

@ -30,7 +30,7 @@
<![endif]--> <![endif]-->
<!-- favico --> <!-- favico -->
<link rel="shortcut icon" href="resources/images/mitreid-connect.ico"> <link rel="shortcut icon" href="${config.favicon}">
<!-- Load jQuery up here so that we can use in-page functions --> <!-- Load jQuery up here so that we can use in-page functions -->
<script type="text/javascript" src="resources/js/lib/jquery.js"></script> <script type="text/javascript" src="resources/js/lib/jquery.js"></script>

View File

@ -18,6 +18,7 @@
<title><spring:message code="unified_login"/> | ${title}</title> <title><spring:message code="unified_login"/> | ${title}</title>
<link rel="icon" href="resources/images/muni.ico" />
<link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/bootstrap.min.css"> <link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/style-ie.css?1.2"> <link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/style-ie.css?1.2">
<link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/style.css?1.2"> <link rel="stylesheet" type="text/css" href="https://id.muni.cz/simplesaml/module.php/muni/css/style.css?1.2">

View File

@ -97,6 +97,7 @@
<prop key="main.oidc.issuer.url">https://perun-dev.meta.zcu.cz/oidc/</prop> <prop key="main.oidc.issuer.url">https://perun-dev.meta.zcu.cz/oidc/</prop>
<prop key="logo.image.url">resources/images/perun_24px.png</prop> <prop key="logo.image.url">resources/images/perun_24px.png</prop>
<prop key="topbar.title">Perun OIDC</prop> <prop key="topbar.title">Perun OIDC</prop>
<prop key="favicon">resources/images/mitreid-connect.ico</prop>
<prop key="admins">3197,59835</prop> <prop key="admins">3197,59835</prop>
<prop key="perun.adapter.callFallback">true</prop> <prop key="perun.adapter.callFallback">true</prop>
<prop key="fill.missing.user.attrs">true</prop> <prop key="fill.missing.user.attrs">true</prop>

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 151 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 B

View File

@ -43,6 +43,7 @@ public class ConfigurationPropertiesBean {
private String topbarTitle; private String topbarTitle;
private String shortTopbarTitle; private String shortTopbarTitle;
private String logoImageUrl; private String logoImageUrl;
private String favicon = "resources/images/mitreid-connect.ico";
private Long regTokenLifeTime; private Long regTokenLifeTime;
private Long rqpTokenLifeTime; private Long rqpTokenLifeTime;
private boolean forceHttps = false; // by default we just log a warning for HTTPS deployment private boolean forceHttps = false; // by default we just log a warning for HTTPS deployment
@ -178,4 +179,11 @@ public class ConfigurationPropertiesBean {
this.allowCompleteDeviceCodeUri = allowCompleteDeviceCodeUri; this.allowCompleteDeviceCodeUri = allowCompleteDeviceCodeUri;
} }
public String getFavicon() {
return favicon;
}
public void setFavicon(String favicon) {
this.favicon = favicon;
}
} }