Test on ec server
This commit is contained in:
parent
45ea70212e
commit
2e416ce8ab
@ -52,9 +52,6 @@
|
||||
<div class="col-xs-1">
|
||||
<input type="button" class="btn" id="PinButton" value="Pin" disabled />
|
||||
</div>
|
||||
<div class="col-xs-1">
|
||||
<table style="min-width:600px; min-height:300px;" id="PinnedGrid"></table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="DetailsDiv" hidden>
|
||||
|
@ -121,6 +121,8 @@ function ConstructMessageDialog() {
|
||||
' </div> ' +
|
||||
' <div class="modal-body"> ' +
|
||||
' <span id="spanMessageText"></span> ' +
|
||||
' <table id="ModalHeaderGrid"></table> ' +
|
||||
' <table id="ModalBodyGrid"></table> ' +
|
||||
' </div> ' +
|
||||
' <div class="modal-footer"> ' +
|
||||
' <button type="button" data-dismiss="modal">OK</button> ' +
|
||||
|
@ -467,14 +467,45 @@ function pinButtonRunInfo() {
|
||||
var rowData = $("#HeaderGrid").data("igGrid").dataSource.dataView()[selectedRow.index];
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: _apiUrl + '/pin/' + toolTypeId + "/markAsPinned",
|
||||
url: "http://localhost:5126/api" + '/pin/' + toolTypeId + "/markAsPinned",
|
||||
data: rowData,
|
||||
success: function (e) {
|
||||
DisplayWSMessage("info", "Marked as pinned", e);
|
||||
$("#PinButton").prop("disabled", false);
|
||||
$.getJSON(_apiUrl + '/pin/' + toolTypeId + "/pinned?biorad_id=" + _BioRadId + "&cde_id=" + _CdeId + "&rds=" + rowData.RDS, function (data) {
|
||||
$("#PinnedGrid").igGrid({
|
||||
$.getJSON("http://localhost:5126/api" + '/pin/' + toolTypeId + "/pinned?biorad_id=" + _BioRadId + "&cde_id=" + _CdeId + "&rds=" + rowData.RDS, function (data) {
|
||||
$("#ModalHeaderGrid").igGrid({
|
||||
dataSource: data,
|
||||
features: [
|
||||
{ name: 'Resizing' }
|
||||
],
|
||||
columns: [
|
||||
{ key: "ID", dataType: "number", hidden: true, },
|
||||
{ key: "ToolTypeID", dataType: "number", hidden: true, },
|
||||
{ key: "Reactor", dataType: "string", width: "10%" },
|
||||
{ key: "RDS", dataType: "string", width: "10%" },
|
||||
{ key: "PSN", dataType: "string", width: "10%" },
|
||||
{ key: "Layer", dataType: "string", width: "10%" },
|
||||
{ key: "Zone", dataType: "string", width: "10%" }
|
||||
],
|
||||
responseDataKey: "Results",
|
||||
});
|
||||
$("#ModalBodyGrid").igGrid({
|
||||
dataSource: data,
|
||||
features: [
|
||||
{ name: 'Resizing' }
|
||||
],
|
||||
columns: [
|
||||
{ key: "ID", dataType: "number", hidden: true, },
|
||||
{ key: "ToolTypeID", dataType: "number", hidden: true, },
|
||||
{ key: "PointA", dataType: "number", width: "10%" },
|
||||
{ key: "PointB", dataType: "number", width: "10%" },
|
||||
{ key: "PointC", dataType: "number", width: "10%" },
|
||||
{ key: "PointD", dataType: "number", width: "10%" },
|
||||
{ key: "PointE", dataType: "number", width: "10%" },
|
||||
{ key: "PointF", dataType: "number", width: "10%" },
|
||||
{ key: "PointG", dataType: "number", width: "10%" },
|
||||
{ key: "PointI", dataType: "number", width: "10%" },
|
||||
],
|
||||
responseDataKey: "Results",
|
||||
});
|
||||
});
|
||||
|
@ -104,3 +104,31 @@ div.modal-content-warning {
|
||||
.icon-bar {
|
||||
background-color: black;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1024px) {
|
||||
.modal-dialog {
|
||||
right: auto;
|
||||
left: 50%;
|
||||
width: 768px;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
.modal-content {
|
||||
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1368px) {
|
||||
.modal-dialog {
|
||||
right: auto;
|
||||
left: 50%;
|
||||
width: 1280px;
|
||||
padding-top: 30px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
.modal-content {
|
||||
-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user