Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused code. #2013

Merged
merged 1 commit into from
Mar 22, 2025
Merged
Show file tree
Hide file tree
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
10 changes: 0 additions & 10 deletions html/gui/css/common_ie8.css

This file was deleted.

10 changes: 0 additions & 10 deletions html/gui/css/common_ie9.css

This file was deleted.

1 change: 0 additions & 1 deletion html/gui/js/TreeCheckbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,6 @@ Ext.override(Ext.tree.TreeEventModel, {
this.onIconClick(e, this.getNode(e));
}
else if(this.getNodeTarget(e)){
//console.log(this.getNodeTarget(e));
this.onNodeClick(e, this.getNode(e));
}
},
Expand Down
2 changes: 0 additions & 2 deletions html/gui/js/report_builder/Reporting.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,8 +212,6 @@ XDMoD.Reporting.chartDetailsRenderer = function(val, metaData, record, rowIndex,
entryData.thumbnail_link = entryData.thumbnail_link.replace(/start_date=\d{4}-\d{2}-\d{2}/, 'start_date=' + s_date);
entryData.thumbnail_link = entryData.thumbnail_link.replace(/end_date=\d{4}-\d{2}-\d{2}/, 'end_date=' + e_date);

//console.log(entryData.thumbnail_link);

}//if (entryData.timeframe_type.toLowerCase() != 'user defined')

// =================
Expand Down
3 changes: 0 additions & 3 deletions html/gui/js/report_builder/ReportsOverview.js
Original file line number Diff line number Diff line change
Expand Up @@ -547,9 +547,6 @@ XDMoD.ReportsOverview = Ext.extend(Ext.Panel, {
resource_provider: resource_provider
};

//console.log(objParams);
//return;

var conn = new Ext.data.Connection();

conn.request({
Expand Down
26 changes: 0 additions & 26 deletions html/gui/lib/MessageWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -806,32 +806,6 @@ Ext.Element.boxMarkup:
if (this.msgs.length > 1) {
this.updateMsg();
}
/*
//for reference
this.el.disableShadow();
this.setPosition(0, 0);

delete this.el.lastXY;
delete this.el.lastLT;
if(this.x === undefined || this.y === undefined){
var xy = this.el.getAlignToXY(this.container, 'c-c');
var pos = this.el.translatePoints(xy[0], xy[1]);
this.x = this.x === undefined? pos.left : this.x;
this.y = this.y === undefined? pos.top : this.y;
}
this.el.setLeftTop(this.x, this.y);

alignTo : 'tl',
alignToXY : [ 5, (this.el.getComputedHeight() * -1) + 5],
slideDirection : 'b'

console.info('this.el.lastXY',this.el.lastXY);
console.info('this.el.lastLT',this.el.lastLT);
console.info('this.el.x',this.el.x);
console.info('this.el.y',this.el.y);
console.info('this.el.getComputedHeight()',this.el.getComputedHeight());
console.log('====');
*/

//element to hide and configured Fx
var w = this.el,
Expand Down
239 changes: 0 additions & 239 deletions html/gui/lib/internet-explorer-polyfills.js

This file was deleted.

8 changes: 0 additions & 8 deletions html/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,13 @@ function isReferrer($referrer)
<title><?php print $page_title; ?></title>

<link rel="shortcut icon" href="gui/icons/favicon_static.ico"/>
<script type="text/javascript" src="gui/lib/internet-explorer-polyfills.js"></script>
<?php if (!$userLoggedIn): ?>
<script type="text/javascript">
/**
This is so that we can capture the URL that we came in on.
**/
var XDMoD = XDMoD || {};
XDMoD.referer = document.location.hash || 'main_tab_panel#tg_summary' // <-- TODO: HORRIBLE HORRIBLE HACK, FIX THIS;
console.log(XDMoD.referer);
</script>
<?php endif; ?>
<?php
Expand Down Expand Up @@ -218,12 +216,6 @@ function isReferrer($referrer)

<link rel="stylesheet" type="text/css" href="gui/css/MetricExplorer.css"/>
<link rel="stylesheet" type="text/css" href="gui/css/common.css"/>
<!--[if lte IE 9]>
<link rel="stylesheet" type="text/css" href="gui/css/common_ie9.css"/>
<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" type="text/css" href="gui/css/common_ie8.css"/>
<![endif]-->
<?php if (!$userLoggedIn): ?>
<link rel="stylesheet" type="text/css" href="gui/css/LoginPrompt.css"/>
<?php endif; ?>
Expand Down
7 changes: 0 additions & 7 deletions html/internal_dashboard/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<link rel="stylesheet" type="text/css" href="css/dashboard.css">
<link rel="stylesheet" type="text/css" href="css/management.css">
<link rel="stylesheet" type="text/css" href="css/AdminPanel.css" />
<script type="text/javascript" src="../gui/lib/internet-explorer-polyfills.js"></script>
<?php ExtJS::loadSupportScripts('../gui/lib'); ?>
<script type="text/javascript" src="../gui/lib/ext-oldie-history-patch.js"></script>
<script type="text/javascript" src="../gui/lib/jquery/jquery-3.7.1.min.js"></script>
Expand Down Expand Up @@ -96,12 +95,6 @@
<script type="text/javascript" src="../gui/js/ContainerBodyMask.js"></script>

<link rel="stylesheet" type="text/css" href="../gui/css/common.css" />
<!--[if lte IE 9]>
<link rel="stylesheet" type="text/css" href="../gui/css/common_ie9.css" />
<![endif]-->
<!--[if lte IE 8]>
<link rel="stylesheet" type="text/css" href="../gui/css/common_ie8.css" />
<![endif]-->
<script type="text/javascript" src="../gui/lib/plotly/plotly-2.29.1.min.js"></script>
<script type="text/javascript" src="../gui/js/PlotlyPanel.js"></script>
<script type="text/javascript" src="../gui/js/PlotlyChartWrapper.js"></script>
Expand Down