Skip to content
Snippets Groups Projects
Commit 31319154 authored by juanf's avatar juanf
Browse files

SSDM-7200 : small changes to allow update logos and titles per instance

parent 23076d8f
No related branches found
No related tags found
No related merge requests found
......@@ -355,8 +355,8 @@
</head>
<body class="bodyLogin">
<div id="login-form-div" class="loginForm">
<img class="loginLogo" src="./img/openBIS_Logo.png" alt="openBIS" />
<h1>Lab Notebook & Inventory Manager</h1>
<img id="mainLogo" class="loginLogo" src="" alt="openBIS" />
<h1 id="mainLogoTitle"></h1>
<form id="login-form" action="javascript:">
<fieldset>
......
......@@ -31,7 +31,22 @@ function DefaultProfile(serverFacade) {
}
$.extend(DefaultProfile.prototype, {
init: function(serverFacade){
init: function(serverFacade) {
this.mainLogo = "./img/openBIS_Logo.png";
this.mainLogoTitle = "Lab Notebook & Inventory Manager";
//this.mainLogo = "./img/cross_Logo_alt.png";
//this.mainLogoTitle = "ETH RDH";
//
// Updating title and logo
//
$("#mainLogo").attr("src", this.mainLogo);
$("#mainLogoTitle").append(this.mainLogoTitle);
if(this.mainLogoTitle.length < 10) {
$("#mainLogoTitle").css("font-weight", "bold");
}
this.serverFacade = serverFacade;
//
// DEFAULTS, TYPICALLY DON'T TOUCH IF YOU DON'T KNOW WHAT YOU DO
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment