С рабочего компа

This commit is contained in:
2020-02-27 09:40:17 +06:00
parent 925cac4752
commit 3d93536189
8 changed files with 60 additions and 69 deletions

View File

@ -538,7 +538,7 @@ function SRec()
{
var table=document.createElement('table');
table.border=0;
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
table.style.cssText="width:100%;table-layout:fixed;border-spacing:0;border-collapse:collapse;";
newRow=table.insertRow(0);
var newCell1 = newRow.insertCell(0);
newCell1.style.cssText="padding:0px;width:100%;";
@ -562,7 +562,7 @@ function SRec()
var img = document.createElement('img');
img.src='../resources/metadata/dbms/images/datepicker.jpg';
img.src='../resources/engine/images/datepicker.jpg';
img.style.cssText="cursor: pointer;";
newCell2.appendChild(img);
@ -584,7 +584,7 @@ function SRec()
{
var table=document.createElement('table');
table.border=0;
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
table.style.cssText="width:100%;table-layout:fixed;border-spacing:0;border-collapse:collapse;";
newRow=table.insertRow(0);
var newCell1 = newRow.insertCell(0);
newCell1.style.cssText="padding:0px;width:100%;";
@ -608,7 +608,7 @@ function SRec()
var img = document.createElement('img');
img.src='../resources/metadata/dbms/images/datepicker.jpg';
img.src='../resources/engine/images/datepicker.jpg';
img.style.cssText="cursor: pointer;";
newCell2.appendChild(img);
@ -685,14 +685,14 @@ function SRec()
{
var table=document.createElement('table');
table.border=0;
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
table.style.cssText="width:100%;table-layout:fixed;border-spacing:0;border-collapse:collapse;";
newRow=table.insertRow(0); //We add a row in the created table.
var newCell1 = newRow.insertCell(0);
newCell1.style.cssText="padding:0px;padding-right:1px;width:100%;";
newCell1.style.cssText="padding:0px;width:100%;";
var newCell2 = newRow.insertCell(1);
newCell2.style.cssText="padding:0px;padding-right:1px;height:100%;";
newCell2.style.cssText="padding:0px;width:25px;";
var newCell3 = newRow.insertCell(2);
newCell3.style.cssText="padding:0px;width:25px;height:100%;";
newCell3.style.cssText="padding:0px;width:25px;";
input = document.createElement('input');
input.style.cssText="width: 100%;";
@ -708,14 +708,14 @@ function SRec()
button = document.createElement('input');
button.setAttribute("type","button");
button.setAttribute("value","+");
button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;";
button.style.cssText="height:22px;width:22px;";
newCell2.appendChild( button );
button.onclick=function(inp){return function(){ inp.value=getIntVal(inp.value)+1; }}(input);
button = document.createElement('input');
button.setAttribute("type","button");
button.setAttribute("value","-");
button.style.cssText="height:100%;width:22px;margin:0px;padding:0px;";
button.style.cssText="height:22px;width:22px;";
button.onclick=function(inp){return function(){ inp.value=getIntVal(inp.value)-1; }}(input);
newCell3.appendChild( button );
@ -743,7 +743,7 @@ function SRec()
var table=document.createElement('table');
//table.setAttribute("bgColor","#0000FF")
table.border=0;
table.style.cssText="width:100%;/*table-layout:fixed;*/border-spacing:0;border-collapse:collapse;";
table.style.cssText="width:100%; table-layout:fixed;border-spacing:0;border-collapse:collapse;";
newRow=table.insertRow(0); //We add a row in the created table.
var newCell1 = newRow.insertCell(0);
newCell1.style.cssText="padding:0px; border: 0px solid #999999; width:100%;";
@ -765,7 +765,7 @@ function SRec()
button = document.createElement('input');
button.setAttribute("type","button");
button.setAttribute("value","...");
button.style.cssText="display:block; box-sizing: border-box; margin: 0px; padding: 0px; width:100%; height:100%; font-size: 9pt;";
button.style.cssText="display:block; box-sizing: border-box; width:100%; height:100%; font-size: 9pt;";
button.onclick=function(thiz,val1,val2){return function(){thiz.SelectObjects(val1,val2);};}(this,object,columnNode.getAttribute("n"));
newCell2.appendChild(button);
@ -832,7 +832,7 @@ function SRec()
button = document.createElement('input');
button.setAttribute("type","button");
button.setAttribute("value","...");
button.style.cssText="width:30px; height:100%;margin: 0px; padding: 0px;";
button.style.cssText="width:30px; height:22px;";
button.onclick=function(thiz,val1,val2)
{ return function(){thiz.SelectObjects(val1,val2);};
}(this,object,columnNode.getAttribute("n"));
@ -1476,7 +1476,7 @@ function SRec()
//We run through the marked records and request their removal
this.deleteRecord=function(recordid)
{
if (confirm(_("Are_you_sure_you_want_to_delete_the_entries")+'?'))
if (confirm(_("Are_you_sure_you_want_to_delete_the_entries")))
{
for(var i=0;i<this.masChBox.length;i++)
{