CINXE.COM
Sign In
<!DOCTYPE html> <html lang="en-US"> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge"/> <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1"/> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta http-equiv="cache-control" content="no-cache,no-store"/> <meta http-equiv="pragma" content="no-cache"/> <meta http-equiv="expires" content="-1"/> <meta name='mswebdialog-title' content='Connecting to University of Utah'/> <title>Sign In</title> <script type='text/javascript'> //<![CDATA[ function LoginErrors(){this.userNameFormatError = 'Enter your user ID in the format \u0026quot;domain\\user\u0026quot; or \u0026quot;user@domain\u0026quot;.'; this.passwordEmpty = 'Enter your password.'; this.passwordTooLong = 'Password is too long (\u0026gt; 128 characters).';}; var maxPasswordLength = 128; //]]> </script> <script type='text/javascript'> //<![CDATA[ // Copyright (c) Microsoft Corporation. All rights reserved. function InputUtil(errTextElementID, errDisplayElementID) { if (!errTextElementID) errTextElementID = 'errorText'; if (!errDisplayElementID) errDisplayElementID = 'error'; this.hasFocus = false; this.errLabel = document.getElementById(errTextElementID); this.errDisplay = document.getElementById(errDisplayElementID); }; InputUtil.prototype.canDisplayError = function () { return this.errLabel && this.errDisplay; } InputUtil.prototype.checkError = function () { if (!this.canDisplayError){ throw new Error ('Error element not present'); } if (this.errLabel && this.errLabel.innerHTML) { this.errDisplay.style.display = ''; var cause = this.errLabel.getAttribute('for'); if (cause) { var causeNode = document.getElementById(cause); if (causeNode && causeNode.value) { causeNode.focus(); this.hasFocus = true; } } } else { this.errDisplay.style.display = 'none'; } }; InputUtil.prototype.setInitialFocus = function (input) { if (this.hasFocus) return; var node = document.getElementById(input); if (node) { if ((/^\s*$/).test(node.value)) { node.focus(); this.hasFocus = true; } } }; InputUtil.prototype.setError = function (input, errorMsg) { if (!this.canDisplayError) { throw new Error('Error element not present'); } input.focus(); if (errorMsg) { this.errLabel.innerHTML = errorMsg; } this.errLabel.setAttribute('for', input.id); this.errDisplay.style.display = ''; }; InputUtil.makePlaceholder = function (input) { var ua = navigator.userAgent; if (ua != null && (ua.match(/MSIE 9.0/) != null || ua.match(/MSIE 8.0/) != null || ua.match(/MSIE 7.0/) != null)) { var node = document.getElementById(input); if (node) { var placeholder = node.getAttribute("placeholder"); if (placeholder != null && placeholder != '') { var label = document.createElement('input'); label.type = "text"; label.value = placeholder; label.readOnly = true; label.style.position = 'absolute'; label.style.borderColor = 'transparent'; label.className = node.className + ' hint'; label.tabIndex = -1; label.onfocus = function () { this.nextSibling.focus(); }; node.style.position = 'relative'; node.parentNode.style.position = 'relative'; node.parentNode.insertBefore(label, node); node.onkeyup = function () { InputUtil.showHint(this); }; node.onblur = function () { InputUtil.showHint(this); }; node.style.background = 'transparent'; node.setAttribute("placeholder", ""); InputUtil.showHint(node); } } } }; InputUtil.focus = function (inputField) { var node = document.getElementById(inputField); if (node) node.focus(); }; InputUtil.hasClass = function(node, clsName) { return node.className.match(new RegExp('(\\s|^)' + clsName + '(\\s|$)')); }; InputUtil.addClass = function(node, clsName) { if (!this.hasClass(node, clsName)) node.className += " " + clsName; }; InputUtil.removeClass = function(node, clsName) { if (this.hasClass(node, clsName)) { var reg = new RegExp('(\\s|^)' + clsName + '(\\s|$)'); node.className = node.className.replace(reg, ' '); } }; InputUtil.showHint = function (node, gotFocus) { if (node.value && node.value != '') { node.previousSibling.style.display = 'none'; } else { node.previousSibling.style.display = ''; } }; InputUtil.updatePlaceholder = function (input, placeholderText) { var node = document.getElementById(input); if (node) { var ua = navigator.userAgent; if (ua != null && (ua.match(/MSIE 9.0/) != null || ua.match(/MSIE 8.0/) != null || ua.match(/MSIE 7.0/) != null)) { var label = node.previousSibling; if (label != null) { label.value = placeholderText; } } else { node.placeholder = placeholderText; } } }; //]]> </script> <link rel="stylesheet" type="text/css" href="/adfs/portal/css/style.css?id=DBC0B4741D4217A138377E7BCC747D0D30B93B979DC99146E4C4016785BA8C42" /><style>.illustrationClass {background-image:url(/adfs/portal/illustration/illustration.jpg?id=F886E5961DDD613ABC87354A0183B473061CBA34653F73AD34B76B0B51534E12);}</style> </head> <body dir="ltr" class="body"> <div id="noScript" style="position:static; width:100%; height:100%; z-index:100"> <h1>JavaScript required</h1> <p>JavaScript is required. This web browser does not support JavaScript or JavaScript in this web browser is not enabled.</p> <p>To find out if your web browser supports JavaScript or to enable JavaScript, see web browser help.</p> </div> <script type="text/javascript" language="JavaScript"> document.getElementById("noScript").style.display = "none"; </script> <div id="fullPage"> <div id="brandingWrapper" class="float"> <div id="branding"></div> </div> <div id="contentWrapper" class="float"> <div id="content"> <div id="header"> <img class='logoImage' id='companyLogo' src='/adfs/portal/logo/logo.png?id=D714BC931B80D2614DE665D12751876777CB94B73B5E0FB86D0499DE9495659F' alt='University of Utah'/> </div> <main> <div id="workArea"> <div id="authArea" class="groupMargin"> <div id="loginArea"> <div id="loginMessage" class="groupMargin">Sign in</div> <form method="post" id="loginForm" autocomplete="off" novalidate="novalidate" onKeyPress="if (event && event.keyCode == 13) Login.submitLoginRequest();" action="/adfs/ls/?wa=wsignin1.0&wtrealm=urn%3asharepoint%3apulse.utah.edu&wctx=https%3a%2f%2fpulse.utah.edu%2fsite%2fcomser%2finfpriv%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252Fsite%252Fcomser%252Finfpriv%252FPages%252FHome%252Easpx&wreply=https%3a%2f%2fpulse.utah.edu%2f_trust%2fdefault.aspx&client-request-id=00e4a2ce-e3f6-43e1-2330-0180010000f1" > <div id="error" class="fieldMargin error smallText"> <span id="errorText" for="" aria-live="assertive" role="alert"></span> </div> <div id="formsAuthenticationArea"> <div id="userNameArea"> <label id="userNameInputLabel" for="userNameInput" class="hidden">User Account</label> <input id="userNameInput" name="UserName" type="email" value="" tabindex="1" class="text fullWidth" spellcheck="false" placeholder="someone@example.com" autocomplete="off"/> </div> <div id="passwordArea"> <label id="passwordInputLabel" for="passwordInput" class="hidden">Password</label> <input id="passwordInput" name="Password" type="password" tabindex="2" class="text fullWidth" placeholder="Password" autocomplete="off"/> </div> <div id="kmsiArea" style="display:none"> <input type="checkbox" name="Kmsi" id="kmsiInput" value="true" tabindex="3" /> <label for="kmsiInput">Keep me signed in</label> </div> <div id="submissionArea" class="submitMargin"> <span id="submitButton" class="submit" tabindex="4" role="button" onKeyPress="if (event && event.keyCode == 32) Login.submitLoginRequest();" onclick="return Login.submitLoginRequest();">Sign in</span> </div> </div> <input id="optionForms" type="hidden" name="AuthMethod" value="FormsAuthentication"/> </form> <div id="authOptions"> <form id="options" method="post" action="https://adfs.utah.edu:443/adfs/ls/?wa=wsignin1.0&wtrealm=urn%3asharepoint%3apulse.utah.edu&wctx=https%3a%2f%2fpulse.utah.edu%2fsite%2fcomser%2finfpriv%2f_layouts%2f15%2fAuthenticate.aspx%3fSource%3d%252Fsite%252Fcomser%252Finfpriv%252FPages%252FHome%252Easpx&wreply=https%3a%2f%2fpulse.utah.edu%2f_trust%2fdefault.aspx&client-request-id=00e4a2ce-e3f6-43e1-2330-0180010000f1"> <script type="text/javascript"> function SelectOption(option) { var w = document.getElementById('waitingWheelDiv'); if(w) w.style.display = 'inline'; var i = document.getElementById('optionSelection'); i.value = option; document.forms['options'].submit(); return false; } </script> <input id="optionSelection" type="hidden" name="AuthMethod" /> <input id="userNameInputOptionsHolder" name="UserName" value="" type="hidden"/> <div id='authOptionLinks' class='groupMargin'><div id="waitingWheelDiv" style="display: none;"><div id="WaitingWheel"> <!-- NOTE: This style portion is identical to cookie pull page, they are not in shared css file because of legacy dependancies for custom themes--> <!-- CSS for small "waiting" wheel --> <style> #floatingCirclesG { position: relative; width: 125px; height: 125px; margin: auto; transform: scale(0.4); -o-transform: scale(0.4); -ms-transform: scale(0.4); -webkit-transform: scale(0.4); -moz-transform: scale(0.4); } .f_circleG { position: absolute; height: 22px; width: 22px; border-radius: 12px; -o-border-radius: 12px; -ms-border-radius: 12px; -webkit-border-radius: 12px; -moz-border-radius: 12px; animation-name: f_fadeG; -o-animation-name: f_fadeG; -ms-animation-name: f_fadeG; -webkit-animation-name: f_fadeG; -moz-animation-name: f_fadeG; animation-duration: 1.2s; -o-animation-duration: 1.2s; -ms-animation-duration: 1.2s; -webkit-animation-duration: 1.2s; -moz-animation-duration: 1.2s; animation-iteration-count: infinite; -o-animation-iteration-count: infinite; -ms-animation-iteration-count: infinite; -webkit-animation-iteration-count: infinite; -moz-animation-iteration-count: infinite; animation-direction: normal; -o-animation-direction: normal; -ms-animation-direction: normal; -webkit-animation-direction: normal; -moz-animation-direction: normal; } #frotateG_01 { left: 0; top: 51px; animation-delay: 0.45s; -o-animation-delay: 0.45s; -ms-animation-delay: 0.45s; -webkit-animation-delay: 0.45s; -moz-animation-delay: 0.45s; } #frotateG_02 { left: 15px; top: 15px; animation-delay: 0.6s; -o-animation-delay: 0.6s; -ms-animation-delay: 0.6s; -webkit-animation-delay: 0.6s; -moz-animation-delay: 0.6s; } #frotateG_03 { left: 51px; top: 0; animation-delay: 0.75s; -o-animation-delay: 0.75s; -ms-animation-delay: 0.75s; -webkit-animation-delay: 0.75s; -moz-animation-delay: 0.75s; } #frotateG_04 { right: 15px; top: 15px; animation-delay: 0.9s; -o-animation-delay: 0.9s; -ms-animation-delay: 0.9s; -webkit-animation-delay: 0.9s; -moz-animation-delay: 0.9s; } #frotateG_05 { right: 0; top: 51px; animation-delay: 1.05s; -o-animation-delay: 1.05s; -ms-animation-delay: 1.05s; -webkit-animation-delay: 1.05s; -moz-animation-delay: 1.05s; } #frotateG_06 { right: 15px; bottom: 15px; animation-delay: 1.2s; -o-animation-delay: 1.2s; -ms-animation-delay: 1.2s; -webkit-animation-delay: 1.2s; -moz-animation-delay: 1.2s; } #frotateG_07 { left: 51px; bottom: 0; animation-delay: 1.35s; -o-animation-delay: 1.35s; -ms-animation-delay: 1.35s; -webkit-animation-delay: 1.35s; -moz-animation-delay: 1.35s; } #frotateG_08 { left: 15px; bottom: 15px; animation-delay: 1.5s; -o-animation-delay: 1.5s; -ms-animation-delay: 1.5s; -webkit-animation-delay: 1.5s; -moz-animation-delay: 1.5s; } @keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } @-o-keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } @-ms-keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } @-webkit-keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } @-moz-keyframes f_fadeG { 0% { background-color: rgb(47, 146, 212); } 100% { background-color: rgb(255, 255, 255); } } </style> <!-- Div containing small "waiting" wheel --> <div id="floatingCirclesG"> <div class="f_circleG" id="frotateG_01"></div> <div class="f_circleG" id="frotateG_02"></div> <div class="f_circleG" id="frotateG_03"></div> <div class="f_circleG" id="frotateG_04"></div> <div class="f_circleG" id="frotateG_05"></div> <div class="f_circleG" id="frotateG_06"></div> <div class="f_circleG" id="frotateG_07"></div> <div class="f_circleG" id="frotateG_08"></div> </div> </div></div></div> </form> </div> <div id="introduction" class="groupMargin"> <p>Please sign-in with unid@utah.edu</p> </div> <script type="text/javascript"> //<![CDATA[ function Login() { } Login.userNameInput = 'userNameInput'; Login.passwordInput = 'passwordInput'; Login.initialize = function () { var u = new InputUtil(); u.checkError(); u.setInitialFocus(Login.userNameInput); u.setInitialFocus(Login.passwordInput); }(); Login.submitLoginRequest = function () { var u = new InputUtil(); var e = new LoginErrors(); var userName = document.getElementById(Login.userNameInput); var password = document.getElementById(Login.passwordInput); if (!userName.value || !userName.value.match('[@\\\\]')) { u.setError(userName, e.userNameFormatError); return false; } if (!password.value) { u.setError(password, e.passwordEmpty); return false; } if (password.value.length > maxPasswordLength) { u.setError(password, e.passwordTooLong); return false; } document.forms['loginForm'].submit(); return false; }; InputUtil.makePlaceholder(Login.userNameInput); InputUtil.makePlaceholder(Login.passwordInput); //]]> </script> </div> </div> </div> </main> <div id="footerPlaceholder"></div> </div> <footer id="footer"> <div id="footerLinks" class="floatReverse"> <div><span id="copyright">© 2018 Microsoft</span><a id="home" class="pageLink footerLink " href="http://www.utah.edu">Home</a><a id="privacy" class="pageLink footerLink" href="http://www.utah.edu/privacy">Privacy</a><a id="helpDesk" class="pageLink footerLink" href="http://helpdesk.utah.edu">Help</a></div> </div> </footer> </div> </div> <script type='text/javascript'> //<![CDATA[ // Copyright (c) Microsoft Corporation. All rights reserved. // Modified by John Rennemeyer // This file contains several workarounds on inconsistent browser behaviors that administrators may customize. "use strict"; // iPhone email friendly keyboard does not include "\" key, use regular keyboard instead. // Note change input type does not work on all versions of all browsers. if (navigator.userAgent.match(/iPhone/i) != null) { var emails = document.querySelectorAll("input[type='email']"); if (emails) { for (var i = 0; i < emails.length; i++) { emails[i].type = 'text'; } } } // In the CSS file we set the ms-viewport to be consistent with the device dimensions, // which is necessary for correct functionality of immersive IE. // However, for Windows 8 phone we need to reset the ms-viewport's dimension to its original // values (auto), otherwise the viewport dimensions will be wrong for Windows 8 phone. // Windows 8 phone has agent string 'IEMobile 10.0' if (navigator.userAgent.match(/IEMobile\/10\.0/)) { var msViewportStyle = document.createElement("style"); msViewportStyle.appendChild( document.createTextNode( "@-ms-viewport{width:auto!important}" ) ); msViewportStyle.appendChild( document.createTextNode( "@-ms-viewport{height:auto!important}" ) ); document.getElementsByTagName("head")[0].appendChild(msViewportStyle); } // If the innerWidth is defined, use it as the viewport width. if (window.innerWidth && window.outerWidth && window.innerWidth !== window.outerWidth) { var viewport = document.querySelector("meta[name=viewport]"); viewport.setAttribute('content', 'width=' + window.innerWidth + 'px; initial-scale=1.0; maximum-scale=1.0'); } // Gets the current style of a specific property for a specific element. function getStyle(element, styleProp) { var propStyle = null; if (element && element.currentStyle) { propStyle = element.currentStyle[styleProp]; } else if (element && window.getComputedStyle) { propStyle = document.defaultView.getComputedStyle(element, null).getPropertyValue(styleProp); } return propStyle; } // The script below is used for downloading the illustration image // only when the branding is displaying. This script work together // with the code in PageBase.cs that sets the html inline style // containing the class 'illustrationClass' with the background image. var computeLoadIllustration = function () { var branding = document.getElementById("branding"); var brandingDisplay = getStyle(branding, "display"); var brandingWrapperDisplay = getStyle(document.getElementById("brandingWrapper"), "display"); if (brandingDisplay && brandingDisplay !== "none" && brandingWrapperDisplay && brandingWrapperDisplay !== "none") { var newClass = "illustrationClass"; if (branding.classList && branding.classList.add) { branding.classList.add(newClass); } else if (branding.className !== undefined) { branding.className += " " + newClass; } if (window.removeEventListener) { window.removeEventListener('load', computeLoadIllustration, false); window.removeEventListener('resize', computeLoadIllustration, false); } else if (window.detachEvent) { window.detachEvent('onload', computeLoadIllustration); window.detachEvent('onresize', computeLoadIllustration); } } }; if (window.addEventListener) { window.addEventListener('resize', computeLoadIllustration, false); window.addEventListener('load', computeLoadIllustration, false); } else if (window.attachEvent) { window.attachEvent('onresize', computeLoadIllustration); window.attachEvent('onload', computeLoadIllustration); } if (typeof Login != 'undefined') { Login.submitLoginRequest = function () { var u = new InputUtil(); var e = new LoginErrors(); var userName = document.getElementById(Login.userNameInput); var password = document.getElementById(Login.passwordInput); if (userName.value && !userName.value.match('[@\\\\]')) { // if does not contain @ or \\, add ad\ at the beginning var userNameValue = 'AD\\' + userName.value; document.forms['loginForm'].UserName.value = userNameValue; } else if (userName.value && userName.value.match(/@utah\.edu$/)) { // if contains @utah.edu, get the unid and add ad\ at the beginning // Extract the unid part from the email var unid = userName.value.split('@')[0]; var userNameValue = 'AD\\' + unid; document.forms['loginForm'].UserName.value = userNameValue; } if (!userName.value) { u.setError(userName, e.userNameFormatError); return false; } if (!password.value) { u.setError(password, e.passwordEmpty); return false; } document.forms['loginForm'].submit(); return false; }; } //Custom Login Page Code - University of Utah //keep from losing the hash and everything after on direct links try { var loginForm = document.getElementById('loginForm'); loginForm.action = loginForm.action + encodeURIComponent(window.location.hash); } catch (err) { } //what page are we on Signin or Signout var signInOutValue = getParameterByName('wa'); if (!signInOutValue) { signInOutValue = getParameterByName('redirect_uri'); // ADFS OIDC (oauth2) } if (!signInOutValue) { signInOutValue = getParameterByName('post_logout_redirect_uri'); // ADFS OIDC (oauth2) } //Allows the uNID to be entered to login without the need for the domain\ or @ad.utah.edu var AppendUPN = function () { //alert("AppendUPN"); var userName = document.getElementById(Login.userNameInput); //alert(userName); var rval = false; if (userName.value) { var lowerUserName = userName.value.toLowerCase(); var containAt = lowerUserName.indexOf("@"); var containSlash = lowerUserName.indexOf("\\"); if (containAt <= 0 && containSlash <= 0) { userName.value = "ad\\" + userName.value; } rval = true; //alert(rval); } else { alert("Please enter your uNID"); } return rval; }; // testForEnter() disables the enter keypress on all form objects except for submit button // this function works in IE, chrome, safari, opera and firefox function testForEnter(evt) { //alert("testForEnter"); var keyCode = evt.keyCode; var rval = false; if (keyCode == 13) { evt.returnValue = false; try { //this line errors on IE and causes any code after not to execute evt.stopPropagation(); // this line added for firefox } catch (err) { console.log(err.message); } if (evt.preventDefault) evt.preventDefault(); rval = true; } return rval; } //end of testForEnter() if (signInOutValue) //if we have the parameter to check { try { if (signInOutValue.indexOf("wsignin") >= 0 || signInOutValue.indexOf("Authenticate") >= 0) //if we are on the signin page { try { document.getElementById('submitButton').addEventListener("click", SubmitClickHandler, false); document.getElementById('passwordInput').addEventListener("keydown", KeyPressHandler, false); document.getElementById('userNameInput').addEventListener("keydown", KeyPressHandler, false); } catch (err) { console.log(err.message); } document.getElementById("userNameInput").placeholder = 'uNID'; } } catch (err) { console.log(err.message); } } function SubmitClickHandler(e) { if (AppendUPN()) { Login.submitLoginRequest(); } } function KeyPressHandler(e) { //alert("EnterHandler"); if (testForEnter(e)) { if (AppendUPN()) { Login.submitLoginRequest(); } } } //allows us to get a query string value for identifying the authenticating source function getParameterByName(name) { name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]"); var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(location.search); return results == null ? "" : decodeURIComponent(results[1].replace(/\+/g, " ")); } //get authenticating source or logout source from queryString var authenticatingSourceUrl = getParameterByName('wctx'); if (!authenticatingSourceUrl) { authenticatingSourceUrl = getParameterByName('wreply'); //exists when logging out } if (!authenticatingSourceUrl) { authenticatingSourceUrl = getParameterByName('redirect_uri'); // ADFS OIDC (oauth2) } if (!authenticatingSourceUrl) { authenticatingSourceUrl = getParameterByName('post_logout_redirect_uri'); // ADFS OIDC (oauth2) // exists when logging out } //Pulse SharePoint Farms try { //we don't set the same pieces in the if/elseif outside of the above if/elseif, because other apps may use adfs and we don't want to modify them inadvertently if (authenticatingSourceUrl && (authenticatingSourceUrl.indexOf("pulse.utah.edu") >= 0 || authenticatingSourceUrl.indexOf("test.hscintranet.utah.edu") >= 0 || authenticatingSourceUrl.indexOf("hscint3sp") >= 0)) //if Pulse PROD, DEV, or TEST { document.getElementById("branding").style.backgroundImage = "url(https://uofuhealth.utah.edu/intranet-hsc/assets/LoginPage/Images/loginBackGround.jpg)"; //update background image (needs to be done here rather than to the theme as the theme applies to all apps authenticating against ADFS) document.getElementById("header").innerHTML = "<img class='logoImage' src='https://uofuhealth.utah.edu/intranet-hsc/assets/LoginPage/Images/blank.gif' />" //overwrite default logo with empty image document.getElementById("header").style.marginBottom = "0px"; //makes it so the footer and everything else isn't so far below the header document.getElementById("loginMessage").innerHTML = "Pulse site, tools and resources for University of Utah Health.<br><br>Available to active employees, active students, and active POI."; //overwrites login Message document.getElementById("submitButton").style.background = "rgb(172, 22, 44)"; //if not set here, it will be transparent until an onmouseout/onmouseover event document.getElementById("submitButton").onmouseover = function () { this.style.background = "rgb(140, 22, 44)"; }; //darker red on hover (can't do :hover in inline css document.getElementById("submitButton").onmouseout = function () { this.style.background = "rgb(172, 22, 44)"; }; //red in all other cases document.getElementById("footerPlaceholder").innerHTML = "<img src='https://uofuhealth.utah.edu/intranet-hsc/assets/uofu_health_adfs.png' alt='University of Utah Health' style='width:260px;margin-top:-15px;' />"; //places UUHSC logo in Footer. Needs to be 260px to match ADFS Logo standards. margin-top:-15px is to fix the display on the iPhone 4s (3.5") screen having the logo cutoff on the bottom document.getElementById("helpDesk").innerHTML = ""; //removes helpdesk link as on smaller devices it hovers in the middle of the footer logo document.getElementById("home").innerHTML = ""; //removes home link as on smaller devices it hovers in the middle of the footer logo document.getElementById("privacy").innerHTML = ""; //removes privacy link as on smaller devices it hovers in the middle of the footer logo document.getElementById("introduction").innerHTML = ""; //removes introduction text to be consistent with our previous version } else if (authenticatingSourceUrl && (authenticatingSourceUrl.indexOf("med.utah.edu") >= 0)) //if .med.utah.edu (when needed, we can modify this to be more specific, but as is for now { //diff than above document.getElementById("branding").style.backgroundImage = "url(https://apps.med.utah.edu/_layouts/15/UUHSC.WES.SP.ClientCommons/images/logos/hsc/adfsloginbackground.png)"; //update background image (needs to be done here rather than to the theme as the theme applies to all apps authenticating against ADFS) document.getElementById("header").innerHTML = "<img class='logoImage' src='https://uofuhealth.utah.edu/intranet-hsc/assets/LoginPage/Images/blank.gif' />" //overwrite default logo with empty image document.getElementById("header").style.marginBottom = "0px"; //makes it so the footer and everything else isn't so far below the header //diff than above document.getElementById("loginMessage").innerHTML = "Apps and resources for University of Utah Health"; //overwrites login Message document.getElementById("submitButton").style.background = "rgb(172, 22, 44)"; //if not set here, it will be transparent until an onmouseout/onmouseover event document.getElementById("submitButton").onmouseover = function () { this.style.background = "rgb(140, 22, 44)"; }; //darker red on hover (can't do :hover in inline css document.getElementById("submitButton").onmouseout = function () { this.style.background = "rgb(172, 22, 44)"; }; //red in all other cases document.getElementById("footerPlaceholder").innerHTML = "<img src='https://uofuhealth.utah.edu/intranet-hsc/assets/uofu_health_adfs.png' alt='University of Utah Health' style='width:260px;margin-top:-15px;' />"; //places UUHSC logo in Footer. Needs to be 260px to match ADFS Logo standards. margin-top:-15px is to fix the display on the iPhone 4s (3.5") screen having the logo cutoff on the bottom document.getElementById("introduction").innerHTML = ""; //removes introduction text to be consistent with our previous version // the smaller device issue no longer applies // document.getElementById("helpDesk").innerHTML = ""; //removes helpdesk link as on smaller devices it hovers in the middle of the footer logo // document.getElementById("home").innerHTML = ""; //removes home link as on smaller devices it hovers in the middle of the footer logo // document.getElementById("privacy").innerHTML = ""; //removes privacy link as on smaller devices it hovers in the middle of the footer logo } else //everything else not .med.utah.edu and pulse.utah.edu (campus) { document.getElementById("loginMessage").innerHTML = "Apps and resources for University of Utah"; //overwrites login Message ("Sign in") document.getElementById("submitButton").style.background = "rgb(190, 0, 0)"; //if not set here, it will be transparent until an onmouseout/onmouseover event document.getElementById("submitButton").onmouseover = function () { this.style.background = "rgb(208, 77, 77)"; }; //darker red on hover (can't do :hover in inline css document.getElementById("submitButton").onmouseout = function () { this.style.background = "rgb(190, 0, 0)"; }; //red in all other cases document.getElementById("introduction").innerHTML = ""; //removes introduction text ("Please sign-in with unid@utah.edu") } } catch (err) { } if (signInOutValue) //if we have the parameter to check { try { if (signInOutValue.indexOf("wsignout") >= 0 || signInOutValue.indexOf("SignOut") >= 0) //if we are on the signout page { var siteLoggedOutFromArray = authenticatingSourceUrl.split('/'); ////Pulse SharePoint Farms if (authenticatingSourceUrl && (authenticatingSourceUrl.indexOf("pulse.utah.edu") >= 0 || authenticatingSourceUrl.indexOf("test.hscintranet.utah.edu") >= 0 || authenticatingSourceUrl.indexOf("hscint3sp") >= 0)) { var urlToRedirectTo = siteLoggedOutFromArray[0] + '//' + siteLoggedOutFromArray[2]; //removes extra url that contains signoutpage causing and endless loop window.setTimeout(function () { window.location.replace(urlToRedirectTo) }, 500); } else //all other servers { document.getElementById("instruction").innerHTML = "You have successfully signed out.<br /><br /><a style='font-size: 1.33em;color: red;' href='" + authenticatingSourceUrl + "'>Log Back In</a>"; } } } catch (err) { } } //]]> </script> </body> </html>