.
This commit is contained in:
@ -77,18 +77,6 @@
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#dialog_machinegroup {
|
||||
z-index: 500;
|
||||
width: 870px;
|
||||
top: 60px;
|
||||
left: 150px;
|
||||
}
|
||||
|
||||
.inputbox {
|
||||
width: 500px;
|
||||
padding: 1px;
|
||||
}
|
||||
|
||||
.group_table .main_table {
|
||||
table-layout: fixed;
|
||||
}
|
||||
@ -207,16 +195,6 @@
|
||||
margin-bottom: 1px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.machine_maskbg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
background: #000;
|
||||
opacity: 0.2;
|
||||
}
|
||||
</style>
|
||||
<script src="<%=GetFileUrlWithVersion("../js/assetselector.js")%>" type="text/javascript"></script>
|
||||
<script>
|
||||
@ -504,12 +482,12 @@
|
||||
/*************************************************************************/
|
||||
function OnMachineAdd() {
|
||||
showmaskbg(true);
|
||||
$("#dialogmask").show().children().hide();
|
||||
dialogAssets.exceptSource = grid_dtsm.innerSource.map(function (s) {
|
||||
return s.Values.ID;
|
||||
});
|
||||
dialogAssets.companyId = $('#sel_contractor').val();
|
||||
dialogAssets.showSelector();
|
||||
$('#mask_bg').css('height', '100%');
|
||||
}
|
||||
|
||||
var allMachines;
|
||||
@ -523,7 +501,7 @@
|
||||
|
||||
var title = GetTextByKey("P_CM_ASSETASSIGNMENT", 'Asset Assignment');// + " " + jobsite.Name + " " + "Radius_UOM: " + jobsite.Radius_UOM
|
||||
$('#dialog_managemahchine .dialog-title span.title').html(title);
|
||||
$('.machine_maskbg').show();
|
||||
showmaskbg(true);
|
||||
$('#dialog_managemahchine')
|
||||
.attr('init', 1)
|
||||
.css({
|
||||
@ -670,7 +648,7 @@
|
||||
// checkbox
|
||||
name: 'check',
|
||||
key: 'selected',
|
||||
width: 30,
|
||||
width: 45,
|
||||
align: 'center',
|
||||
sortable: false,
|
||||
allcheck: true,
|
||||
@ -763,7 +741,7 @@
|
||||
|
||||
var title = GetTextByKey("P_CM_JOBSITEASSIGNMENT", "Jobsite Assignment");
|
||||
$('#dialog_managejobsite .dialog-title span.title').html(title);
|
||||
$('#mask_bg').show();
|
||||
showmaskbg(true);
|
||||
$('#dialog_managejobsite')
|
||||
.css({
|
||||
'top': (document.documentElement.clientHeight - $('#dialog_managejobsite').height()) / 5,
|
||||
@ -1066,7 +1044,7 @@
|
||||
});
|
||||
|
||||
$('#dialog_managemahchine').dialog(function () {
|
||||
$('.machine_maskbg').hide();
|
||||
showmaskbg(false);
|
||||
});
|
||||
|
||||
$('#dialog_managejobsite').dialog(function () {
|
||||
@ -1100,7 +1078,7 @@
|
||||
|
||||
dialogAssets = new $assetselector('dialog_machines');
|
||||
dialogAssets.onDialogClosed = function () {
|
||||
showmaskbg(false);
|
||||
$("#dialogmask").hide();
|
||||
};
|
||||
dialogAssets.onOK = function (source) {
|
||||
var items = [];
|
||||
@ -1124,9 +1102,8 @@
|
||||
curfewid,
|
||||
JSON.stringify(items.map(function (f) { return f.Values.ID; }))
|
||||
];
|
||||
$("#dialogmask").show();
|
||||
$("#dialogmask").show().children().show();
|
||||
curfewquery('AssignAssetsToUser', params.join(String.fromCharCode(170)), function (r) {
|
||||
showmaskbg(false);
|
||||
$("#dialogmask").hide();
|
||||
if (r === 'OK') {
|
||||
grid_dtsm.setData(grid_dtsm.innerSource.concat(items));
|
||||
@ -1162,14 +1139,13 @@
|
||||
<div class="clear"></div>
|
||||
<div id="curfewlist"></div>
|
||||
|
||||
<div class="machine_maskbg" style="display: none;"></div>
|
||||
<div id="mask_bg" style="display: none;">
|
||||
<div class="loading c-spin"></div>
|
||||
</div>
|
||||
<div class="dialog" id="dialog_managemahchine" style="display: none;">
|
||||
<div id="dialogmask" class="maskbg" style="display: none; z-index: 1;">
|
||||
<div class="loading_icon icon c-spin"></div>
|
||||
</div>
|
||||
<div class="dialog-title"><span class="title" data-lgid="P_CM_ASSETASSIGNMENT">Asset Assignment</span><em class="dialog-close"></em></div>
|
||||
|
||||
<div class="machine_filter" style="display: none">
|
||||
<div class="machine_filter" style="display: none;">
|
||||
<span data-lgid="P_CM_TYPE_COLON">Type: </span>
|
||||
<select id="sel_machine_type" tabindex="20"></select>
|
||||
<input type="text" id="txt_machine_key" tabindex="21" />
|
||||
@ -1206,11 +1182,11 @@
|
||||
<input type="button" onclick="OnSaveMachines();" value="OK" data-lgid="P_CM_OK" tabindex="27" style="display: none" />
|
||||
<div class="clear"></div>
|
||||
</div>
|
||||
<div id="dialogmask" class="maskbg" style="display: none;">
|
||||
<div class="loading_icon icon c-spin"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="mask_bg" style="display: none;">
|
||||
<div class="loading c-spin"></div>
|
||||
</div>
|
||||
<div class="dialog" id="dialog_curfew" style="display: none; height: 100%; border-bottom: 0; border-top: 0;">
|
||||
<iframe id="iframecurfew" src="AddCurfew.aspx" style="width: 100%; height: 100%; display: block; border: none;"></iframe>
|
||||
<div class="maskbg" style="display: none;"></div>
|
||||
@ -1222,7 +1198,7 @@
|
||||
</div>
|
||||
<div class="dialog-title"><span class="title" data-lgid="P_CM_JOBSITEASSIGNMENT">Jobsite Assignment</span><em class="dialog-close"></em></div>
|
||||
|
||||
<div class="machine_filter">
|
||||
<div class="machine_filter" style="margin: 9px 6px 7px">
|
||||
<input type="text" id="txt_jobsite_key" style="margin-left: 8px; width: 280px;" tabindex="40" />
|
||||
<input type="button" class="ybutton" id="button_jobsite_filter" data-lgid="P_CM_FILTER" value="Filter" tabindex="42" />
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user