Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 21 additions & 9 deletions default.htm
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,13 @@
<!-- Load jquery code and turn off $ -->
<link rel="stylesheet" type="text/css" href="assets/jquery.qtip.min.css" />

<script src="js-ext/jquerycode/jquery-1.11.1.js"></script>
<script type="text/javascript" src="js-ext/jquerycode/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="js-ext/jquery.qtip.min.js"></script>
<script>
$.noConflict();
var $j = $.noConflict();
// Code that uses other library's $ can follow here.
</script>

<!-- swc20151104 added following to support ExportXLS, CARE- & WISE- plugins -->
<script type="text/javascript" src="js-ext/jquerycode/jquery-1.11.1.min.js"></script>
<script>
var $j = jQuery.noConflict();
</script>

<!-- load i2b2 framework -->
<script type="text/javascript" src="js-i2b2/i2b2_loader.js"></script>
<link type="text/css" href="assets/i2b2.css" rel="stylesheet" />
Expand All @@ -175,6 +169,14 @@
var initBrowserViewPortDim = document.viewport.getDimensions();
var rightSideWidth = initBrowserViewPortDim.width * rightSideProportion; // this component will take up 75% of the screen

// following added to support webclient plugin manager / installer only
var i2b2Admin = "";
function invokeWCPinstaller() {
window.open("plugin_installer/admin.php?rul=" + i2b2.PM.model.url + "&noisreVcw=" + i2b2.ClientVersion + "&niamod=" + i2b2.PM.model.login_domain +
"&esur=" + i2b2.PM.model.login_username + "&esion=0123456789qwertyuioplkjhgfdsazxcvbnmPOIUYTREWQASDFGHJKLMNBVCXZ&yek=" +
i2b2.PM.model.login_password);
}

function initI2B2()
{
//debugOnScreen("default.htm.initI2B2: browserViewPort = " + initBrowserViewPortDim.width + " " + initBrowserViewPortDim.height );
Expand Down Expand Up @@ -368,7 +370,17 @@
&nbsp;|&nbsp;
</span>
-->
<span id="viewMode-Analysis"> <a href="Javascript:void(0)" onClick="i2b2.hive.MasterView.setViewMode('Analysis');">Analysis Tools</a> <a href="#" onclick="return false;" id="pluginsMenu"><img src="assets/images/p_dropdown.png" align="absbottom" border="0"/></a>&nbsp;|&nbsp; </span> <span id="debugMsgSniffer" style="display:none"> <a href="Javascript:void(0)" onClick="i2b2.hive.MsgSniffer.show();">Message Log</a> &nbsp;|&nbsp; </span> <a id="helpLink" href="Javascript:void(0)" onClick="i2b2.hive.HelpViewer.show();">Help</a> &nbsp;|&nbsp; <a id="helpLink" href="Javascript:void(0)" onClick="i2b2.PM.changePassword.show();">Change Password</a> &nbsp;|&nbsp; <a href="Javascript:void(0);" onClick="i2b2.PM.doLogout();">Logout</a> </div></td>
<span id="viewMode-Analysis"> <a href="Javascript:void(0)" onClick="i2b2.hive.MasterView.setViewMode('Analysis');">Analysis Tools</a> <a href="#" onclick="return false;" id="pluginsMenu"><img src="assets/images/p_dropdown.png" align="absbottom" border="0"/></a>&nbsp;|&nbsp; </span>

<!--added to support webclient plugin manager / installer only-->
<span id="plugin-gallery">
<a href="Javascript:void(0)" onClick="invokeWCPinstaller();" target="_blank"
title="View all available webclient plugins (installed as 'Analysis Tools' or otherwise)">Webclient Plugin Gallery</a> &nbsp;|&nbsp;
</span>

<span id="debugMsgSniffer" style="display:none"> <a href="Javascript:void(0)" onClick="i2b2.hive.MsgSniffer.show();">Message Log</a> &nbsp;|&nbsp; </span> <a id="helpLink" href="Javascript:void(0)" onClick="i2b2.hive.HelpViewer.show();">Help</a> &nbsp;|&nbsp; <a id="helpLink" href="Javascript:void(0)" onClick="i2b2.PM.changePassword.show();">Change Password</a> &nbsp;|&nbsp; <a href="Javascript:void(0);" onClick="i2b2.PM.doLogout();">Logout</a>

</div></td>
</tr>
</table>
<div id="screenQueryData" style="display:none">
Expand Down