KEYCLOAK-133 added favicon

This commit is contained in:
vrockai 2013-11-08 11:13:32 +01:00
parent c477f7c04c
commit 2c9fcc2324
4 changed files with 4 additions and 3 deletions

View file

@ -7,6 +7,7 @@
<title> <title>
<#nested "title"> <#nested "title">
</title> </title>
<link rel="icon" href="${template.formsPath}/theme/${template.theme}/img/favicon.ico">
<link href="${template.themeConfig.styles}" rel="stylesheet" /> <link href="${template.themeConfig.styles}" rel="stylesheet" />
<style type="text/css"> <style type="text/css">
body.rcue-login-register { body.rcue-login-register {

View file

@ -7,6 +7,7 @@
<title> <title>
<#nested "title"> <#nested "title">
</title> </title>
<link rel="icon" href="${template.formsPath}/theme/${template.theme}/img/favicon.ico">
<link href="${template.themeConfig.styles}" rel="stylesheet" /> <link href="${template.themeConfig.styles}" rel="stylesheet" />
<style type="text/css"> <style type="text/css">
body.rcue-login-register { body.rcue-login-register {

View file

@ -4,8 +4,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Edit Account - <#nested "title"></title> <title>Edit Account - <#nested "title"></title>
<!-- TODO replace with actual logo once <link rel="icon" href="${template.formsPath}/theme/${template.theme}/img/favicon.ico">
<link rel="icon" href="img/favicon.ico">
<!-- Frameworks --> <!-- Frameworks -->
<link rel="stylesheet" href="${template.formsPath}/theme/${template.theme}/css/reset.css"> <link rel="stylesheet" href="${template.formsPath}/theme/${template.theme}/css/reset.css">

View file

@ -261,7 +261,7 @@ public class KeycloakServer {
di.setDeploymentName("Keycloak"); di.setDeploymentName("Keycloak");
di.setResourceManager(new KeycloakResourceManager(config.getResourcesHome())); di.setResourceManager(new KeycloakResourceManager(config.getResourcesHome()));
Set<String> allowed = new HashSet<String>(Arrays.asList(new String[]{"js", "css", "png", "jpg", "gif", "html", "svg"})); Set<String> allowed = new HashSet<String>(Arrays.asList(new String[]{"js", "css", "png", "jpg", "gif", "html", "svg", "ico"}));
di.setDefaultServletConfig(new DefaultServletConfig(false, allowed)); di.setDefaultServletConfig(new DefaultServletConfig(false, allowed));
di.addWelcomePage("index.html"); di.addWelcomePage("index.html");