diff --git a/Server/wwwroot/js/site.js b/Server/wwwroot/js/site.js
index b229bd1..b5c3c07 100644
--- a/Server/wwwroot/js/site.js
+++ b/Server/wwwroot/js/site.js
@@ -379,6 +379,42 @@ function GetMinMax(profilePoints, index) {
return { decades, maxDepth, concentrationMin, concentrationMax, resistanceEditedMin, resistanceEditedMax, resistivityMin, resistivityMax };
}
+function appendDiv() {
+ const div = document.createElement("div");
+ div.innerHTML = `
+
+
+
+ ReactorNo |
+ E10State |
+ loadedRDS |
+ Value |
+ TemperatureOffsetPercentage |
+ SubGroupIdFormated |
+
+
+
+
+ `;
+ const element = document.getElementById("DataAttachmentDiv");
+ element.appendChild(div);
+ const tbody = document.getElementById("EpiProTempVerification");
+ $.ajax({
+ type: "GET",
+ url: _apiUrl + '/InfinityQSV3/epi-pro-temp-verification',
+ success: function (r) {
+ if ((r.Results == null) || (r.Results.ToolType == null) || (r.Results.Metadata == null))
+ ShowErrorMessage("Invalid tool type: " + toolTypeID);
+ else {
+ tbody.innerHTML = r;
+ }
+ },
+ error: function (e, _ajaxOptions, ex) {
+ DisplayWSMessage("error", "There was an error getting data.", e, ex);
+ }
+ });
+}
+
function setChart(index, ctx, data) {
var cd;
var depth;
@@ -557,10 +593,14 @@ function detailSelectionChangedRunInfo(evt, ui) {
}
}
else {
- var ctx = document.getElementById('DataAttachmentCanvas');
- $.getJSON(attachmentUrlBase + "/header/files/" + headerAttachmentId + "/" + _toolType.DisplayHeaderAttachment, function (data) {
- setChart(ui.row.index, ctx, data);
- });
+ if (ui.row.index == 5)
+ appendDiv();
+ else {
+ var ctx = document.getElementById('DataAttachmentCanvas');
+ $.getJSON(attachmentUrlBase + "/header/files/" + headerAttachmentId + "/" + _toolType.DisplayHeaderAttachment, function (data) {
+ setChart(ui.row.index, ctx, data);
+ });
+ }
}
}
@@ -1028,8 +1068,7 @@ function oiExportButtonRunInfo() {
}
function setInitialDateTimesRunInfo(milliseconds) {
- if (!milliseconds)
- {
+ if (!milliseconds) {
var startDate = $("#StartDate").igDatePicker("value");
var startTime = $("#StartTime").igTimePicker("value");
var endDate = $("#EndDate").igDatePicker("value");