MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b1536/advancedfunctions.co/safespacehelp/
File Upload :
Current < : //hermes/sb_web/b1536/advancedfunctions.co/safespacehelp/therapistDashboard.js

function getTherapistDashboard(paneElements){

var therapistDashboard='';
var therapistViewArea="<div id='therapistViewAreaScreen' style='display:none'><div style='width:72vw;height:7vh;position:absolute;top:11vh;left:24vw;-moz-border-radius:2vh;-webkit-border-radius:2vh;border-radius:2vh;background-image:linear-gradient(to bottom,#d0cfcb,#ebe8e1,#d0cfcb);overflow:hidden;box-shadow: 0px 1vh 8vh 1vh rgba(0,0,0,.3);'></div><div style='width:70vw;height:76vh;position:absolute;-moz-border-bottom-left-radius:2vh;-webkit-bottom-left-radius:2vh;border-bottom-left-radius:2vh;-moz-border-bottom-right-radius:2vh;-webkit-bottom-right-radius:2vh;border-bottom-right-radius:2vh;overflow:hidden;background-color:rgba(255,255,255,.95);box-shadow: 0px 4vh 8vh 2vh rgba(0,0,0,.5);position:absolute;z-index:1;left:25vw;top:18vh;overflow:hidden'><div style='position:absolute;z-index:1;left:12.5vw;top:2vh;width:45vw;height:76vh;'>"+paneElements+"</div></div></div>";

therapistDashboard="<div style='background-attachment:fixed;background-image:url(&#39;typing.jpg&#39;);height:100%;background-size:cover;'></div><div style='position:absolute;top:0px;left:0px;background-image:linear-gradient(to right, #ffccd1,rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0));width:100vw;height:100vh;'>"+getMyProfileButton()+getPartnersProfileButton()+getPatientsProfileButton()+getMyContactsButton()+getResourcesButton()+getVideoConferenceButton()+getTherapistChatButton()+getTherapistLogo()+therapistViewArea+"<div id='therapistDisplay'></div><div>";

var dynamicStyleSheet=document.createElement('link');
dynamicStyleSheet.rel = 'stylesheet';
dynamicStyleSheet.type = 'text/css';
dynamicStyleSheet.href = 'helpWebsite.css';
document.getElementsByTagName('head')[0].appendChild(dynamicStyleSheet);

return therapistDashboard;
}

function getMyProfileButton(){
return "<div style='position:absolute;left:5vh;top:5vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow:  0px 4px 6px 1px rgba(0,0,0,0.3);width:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel(&#39;My Profile&#39;),selectOnlyOne(&#39;myProfile&#39;)' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>My Profile</div></div>";}

function getPartnersProfileButton(){
return "<div style='position:absolute;left:5vh;top:12vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow:  0px 4px 6px 1px rgba(0,0,0,0.3);width:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel(&#39;Partner Profile&#39;),selectOnlyOne(&#39;partnerProfile&#39;)' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Partner's Profile</div></div>";}

function getPatientsProfileButton(){
return "<div style='position:absolute;left:5vh;top:19vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow:  0px 4px 6px 1px rgba(0,0,0,0.3);width:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel(&#39;Patient Profile&#39;),selectOnlyOne(&#39;patientsProfile&#39;)'><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Patient's Profile</div></div>";}

function getMyContactsButton(){
return "<div style='position:absolute;left:5vh;top:26vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow:  0px 4px 6px 1px rgba(0,0,0,0.3);width:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel(&#39;My Contacts&#39;),selectOnlyOne(&#39;contacts&#39;)' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>My Contacts</div></div>";}

function getResourcesButton(){
return "<div style='position:absolute;left:5vh;top:33vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow:  0px 4px 6px 1px rgba(0,0,0,0.3);width:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel(&#39;Resources&#39;),selectOnlyOne(&#39;resources&#39;)'><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Resources</div></div>";}

function getVideoConferenceButton(){
return "<div style='position:absolute;left:5vh;top:40vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow:  0px 4px 6px 1px rgba(0,0,0,0.3);width:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel(&#39;Video Conference&#39;),selectOnlyOne(&#39;live&#39;)' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Video Conference</div></div>";}

function getTherapistChatButton(){
return "<div style='position:absolute;left:5vh;top:47vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow:  0px 4px 6px 1px rgba(0,0,0,0.3);width:15vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;cursor:pointer;height:5vh;' class='onHoverEnlargeFont' onclick='javascript:getTherapistDisplayPanel(&#39;Chat&#39;),selectOnlyOne(&#39;chatWindow&#39;)' ><div style='text-align:right;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>Chat</div></div>";}

function getTherapistLogo(){
return "<img onclick='javascript:{document.location=&#39;https://advancedfunctions.co/safespacehelp&#39;}' src='homeLogo.png' style='cursor:pointer;position:absolute;bottom:5vh;left:5vh;height:25vh;'>";}

function getTherapistDisplayPanel(therapistDisplayPanel){

var therapistDisplayHeading="<div style='position:absolute;left:47.5vw;top:5vh;background-image:linear-gradient(to bottom, #00b5f0,#01bffd,#00b5f0);color:white;box-shadow:  0px 4px 6px 1px rgba(0,0,0,0.3);width:25vw;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;font:1.5vw Calibri;cursor:pointer;height:5vh;' ><div style='text-align:center;position:relative;top:50%;transform:translateY(-50%);padding:0px 1vw;'>"+therapistDisplayPanel+"</div></div>";

document.getElementById('therapistDisplay').innerHTML=therapistDisplayHeading;
document.getElementById('therapistViewAreaScreen').style.display='block';
}