// '+"\n"; s += '#wrapperdialog {'+"\n"; s += ' display: grid;'+"\n"; s += ' grid-template-columns: ' + columnitem +';'+"\n"; s += ' grid-template-rows: '; // je nach Anzahl die Reihen definieren for (let i=0; i'+pat.caption+''+"\n"; if (pat.uityp=='number') { s+=' '+"\n"; } else if (pat.uityp=='text') { s+=' '+"\n"; } else if (pat.uityp=='-') { s+=' '+"\n"; } if (pat.uityp=='date') { s+=' '+"\n"; } if (pat.uityp=='checkbox') { s+=' '+"\n"; } if (pat.uityp=='color') { s+=' '+"\n"; } if (pat.uityp=='datetime') { s+=' '+"\n"; } if (pat.uityp=='email') { s+=' '+"\n"; } if (pat.uityp=='month') { s+=' '+"\n"; } if (pat.uityp=='time') { s+=' '+"\n"; } if (pat.uityp=='week') { s+=' '+"\n"; } if (pat.uityp=='password') { s+=' '+"\n"; } index++; } // for s+=' '+"\n"; // wrapperDialog return s; } // columnitem = auto 1fr function createCompleteDialogElements(caption, captionlegend, allreadonly, columnitem, clickyes, clickno, customer, uipatternliste) { "use strict"; let str_dialogStyles = getStylesDialogElements(columnitem, customer); let str_Dialog = getDialogElements(allreadonly, customer, uipatternliste); let s=''; s += str_dialogStyles+"\n"; // wrapper s += '

'+caption+'

'+"\n"; s += '
'+"\n"; s += '
'+"\n"; s += ''+captionlegend+''+"\n"; s+=str_Dialog+"\n"; s+='
'+"\n"; s+='
'+"\n"; // onclick="'+clickyes+'(this.form)" s+=''+"\n"; s+=''+"\n"; s+=''+"\n"; s+='
'+"\n"; s+='
'+"\n"; s+='
'+"\n"; return s; } // ]]>