test
parent
851d8a110f
commit
c530d32d5b
|
@ -550,8 +550,8 @@
|
|||
let html = defaultStyle;
|
||||
|
||||
// elementID, labeltext, shopping cart name, initial value, section_id
|
||||
html += SHX_IFC_genTextInput('shx-text1', 'Custom Text 1', 'Text', globalInputFormsObjValues['test1']['text1'], section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', globalInputFormsObjValues['test1']['font'], ['LT Beverage', "Rose", 'Arial'], section_id);
|
||||
html += SHX_IFC_genTextInput('shx-text1', 'Custom Text 1', 'Text', SHX_IFC_getCurrentValue('test1', 'text1'), section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', SHX_IFC_getCurrentValue('test1', 'font'), ['LT Beverage', "Rose", 'Arial'], section_id);
|
||||
|
||||
return html;
|
||||
}
|
||||
|
@ -559,8 +559,8 @@
|
|||
"renderHTML": (section_id) => {
|
||||
let html = defaultStyle;
|
||||
|
||||
html += SHX_IFC_genTextInput('custom-text-1', 'Custom Text 1', 'Custom Text 1', globalInputFormsObjValues['test2']['text1'], section_id);
|
||||
html += SHX_IFC_genTextInput('custom-text-2', 'Custom Text 2', 'Custom Text 2', globalInputFormsObjValues['test2']['text2'], section_id);
|
||||
html += SHX_IFC_genTextInput('custom-text-1', 'Custom Text 1', 'Custom Text 1', SHX_IFC_getCurrentValue('test2', 'text1'), section_id);
|
||||
html += SHX_IFC_genTextInput('custom-text-2', 'Custom Text 2', 'Custom Text 2', SHX_IFC_getCurrentValue('test2', 'text2'), section_id);
|
||||
|
||||
return html;
|
||||
}
|
||||
|
@ -571,8 +571,8 @@
|
|||
|
||||
|
||||
html += SHX_IFC_genTextInput('shx-text1', 'Text', 'Text', SHX_IFC_getCurrentValue(id, 'text1'), section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', globalInputFormsObjValues[id]['font'], ['LT Beverage', "Rose"], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color', 'Farbe', 'Farbe', globalInputFormsObjValues[id]['color'], [], section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', SHX_IFC_getCurrentValue(id,'font'), ['LT Beverage', "Rose"], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color', 'Farbe', 'Farbe', SHX_IFC_getCurrentValue(id, 'color'), [], section_id);
|
||||
|
||||
return html;
|
||||
}
|
||||
|
@ -582,9 +582,9 @@
|
|||
const id = "17200";
|
||||
|
||||
html += SHX_IFC_genTextInput('shx-text1', 'Text', 'Text', SHX_IFC_getCurrentValue(id, 'text1'), section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', globalInputFormsObjValues[id]['font'], ['LT Beverage', "Rose"], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color1', 'Farbe 1', 'Farbe 1', globalInputFormsObjValues[id]['color1'], [], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color2', 'Farbe 2', 'Farbe 2', globalInputFormsObjValues[id]['color2'], [], section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', SHX_IFC_getCurrentValue(id, 'font'), ['LT Beverage', "Rose"], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color1', 'Farbe 1', 'Farbe 1', SHX_IFC_getCurrentValue(id, 'color1'), [], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color2', 'Farbe 2', 'Farbe 2', SHX_IFC_getCurrentValue(id, 'color2'), [], section_id);
|
||||
|
||||
return html;
|
||||
}
|
||||
|
@ -594,10 +594,10 @@
|
|||
const id = "97548";
|
||||
|
||||
html += SHX_IFC_genTextInput('shx-text1', 'Text', 'Text', SHX_IFC_getCurrentValue(id, 'text1'), section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', globalInputFormsObjValues[id]['font'], ['LT Beverage', "Rose"], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color1', 'Farbe 1', 'Farbe 1', globalInputFormsObjValues[id]['color1'], [], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color2', 'Farbe 2', 'Farbe 2', globalInputFormsObjValues[id]['color2'], [], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color3', 'Farbe 3', 'Farbe 3', globalInputFormsObjValues[id]['color3'], [], section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', SHX_IFC_getCurrentValue(id, 'font'), ['LT Beverage', "Rose"], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color1', 'Farbe 1', 'Farbe 1', SHX_IFC_getCurrentValue(id, 'color1'), [], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color2', 'Farbe 2', 'Farbe 2', SHX_IFC_getCurrentValue(id, 'color2'), [], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color3', 'Farbe 3', 'Farbe 3', SHX_IFC_getCurrentValue(id, 'color3'), [], section_id);
|
||||
|
||||
return html;
|
||||
}
|
||||
|
@ -607,10 +607,10 @@
|
|||
const id = "68859";
|
||||
|
||||
html += SHX_IFC_genTextInput('shx-text1', 'Text', 'Text', SHX_IFC_getCurrentValue(id, 'text1'), section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', globalInputFormsObjValues[id]['font'], ['LT Beverage', "Rose", "Arial"], section_id);
|
||||
html += SHX_IFC_genSwatchSelect('shx-backgroundType', 'Hintergrundtyp', 'Hintergrundtyp', globalInputFormsObjValues[id]['backgroundType'], {"roundRect": {name: "Rechteckig abgerundet", imgUrl: "{{ "SHX-OberflaecheMatte.gif" | asset_url }}"}, "padding": {name: "Angepasst", imgUrl: "{{ "SHX-OberflaecheSilk.gif" | asset_url }}"}}, section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color1', 'Textfarbe', 'Textfarbe', globalInputFormsObjValues[id]['color1'], [], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color2', 'Hintergrundfarbe', 'Hintergrundfarbe', globalInputFormsObjValues[id]['color2'], [], section_id);
|
||||
html += SHX_IFC_genDropdownSelect('shx-font', 'Schriftart', 'Schriftart', SHX_IFC_getCurrentValue(id, 'font'), ['LT Beverage', "Rose", "Arial"], section_id);
|
||||
html += SHX_IFC_genSwatchSelect('shx-backgroundType', 'Hintergrundtyp', 'Hintergrundtyp', SHX_IFC_getCurrentValue(id, 'backgroundType'), {"roundRect": {name: "Rechteckig abgerundet", imgUrl: "{{ "SHX-OberflaecheMatte.gif" | asset_url }}"}, "padding": {name: "Angepasst", imgUrl: "{{ "SHX-OberflaecheSilk.gif" | asset_url }}"}}, section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color1', 'Textfarbe', 'Textfarbe', SHX_IFC_getCurrentValue(id, 'color1'), [], section_id);
|
||||
html += SHX_IFC_genColorSelect('shx-color2', 'Hintergrundfarbe', 'Hintergrundfarbe', SHX_IFC_getCurrentValue(id, 'color2'), [], section_id);
|
||||
|
||||
return html;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue