123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415 |
- <div style="background-color: #FFF; overflow: hidden">
- <div title="{{$.lp.base}}" class="MWFTab">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.id}}:</td>
- <td class="editTableValue"><input type="text" name="id" value="text{$.id}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.name}}:</td>
- <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.description}}:</td>
- <td class="editTableValue"><input type="text" name="description" value="text{$.description}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.readonly}}:</td>
- <td class="editTableValue">
- <input type="radio" name="isReadonly" value="true" text{($.isReadonly)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="isReadonly" value="false" text{(!$.isReadonly)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.el_disabled}}:</td>
- <td class="editTableValue">
- <input type="radio" name="disabled" value="true" text{($.disabled)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="disabled" value="false" text{(!$.disabled)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- </table>
- <div style="text-align: center; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #ccc; border-top: 1px solid #999;font-weight:bold;">{{$.lp.options}}</div>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.optionsGroup}}:</td>
- <td class="editTableValue">
- <input class="editTableRadio" onclick="if (this.checked){ var node = this.getParent('table').getNext(); node.hide(); node.getNext().show();}" name="itemsGroup" text{($.itemsGroup===true)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
- <input class="editTableRadio" onclick="if (this.checked){ var node = this.getParent('table').getNext(); node.show(); node.getNext().hide();}" name="itemsGroup" text{($.itemsGroup!==true)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
- </td>
- </tr>
- </table>
- <div style="display: text{($.itemsGroup===true) ? 'none' : 'block'}">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.options}}:</td>
- <td class="editTableValue">
- <input class="editTableRadio" onclick="if (this.checked){
- $('text{$.pid}selectEditItemValues').setStyle('display', 'block');
- $('text{$.pid}selectEditItemScript').setStyle('display', 'none');
- $('text{$.pid}selectEditItemDict').setStyle('display', 'none');
- $('text{$.pid}selectEditItemView').setStyle('display', 'none');
- $('text{$.pid}selectEditItemStatement').setStyle('display', 'none');
- $('text{$.pid}selectFirstOption').setStyle('display', 'none');
- }" name="itemType" text{(!$.itemType || $.itemType=='values')?'checked':''} type="radio" value="values"/>{{$.lp.textValue}}
- <input class="editTableRadio" onclick="if (this.checked){
- $('text{$.pid}selectEditItemValues').setStyle('display', 'none');
- $('text{$.pid}selectEditItemScript').setStyle('display', 'block');
- $('text{$.pid}selectEditItemDict').setStyle('display', 'none');
- $('text{$.pid}selectEditItemView').setStyle('display', 'none');
- $('text{$.pid}selectEditItemStatement').setStyle('display', 'none');
- $('text{$.pid}selectFirstOption').setStyle('display', 'none');
- }" name="itemType" text{($.itemType=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}
- <input class="editTableRadio" onclick="if (this.checked){
- $('text{$.pid}selectEditItemValues').setStyle('display', 'none');
- $('text{$.pid}selectEditItemScript').setStyle('display', 'none');
- $('text{$.pid}selectEditItemDict').setStyle('display', 'block');
- $('text{$.pid}selectEditItemView').setStyle('display', 'none');
- $('text{$.pid}selectEditItemStatement').setStyle('display', 'none');
- $('text{$.pid}selectFirstOption').setStyle('display', 'block');
- }" name="itemType" text{($.itemType=='dict')?'checked':''} type="radio" value="dict"/>{{$.lp.dict}}
- <input class="editTableRadio" onclick="if (this.checked){
- $('text{$.pid}selectEditItemValues').setStyle('display', 'none');
- $('text{$.pid}selectEditItemScript').setStyle('display', 'none');
- $('text{$.pid}selectEditItemDict').setStyle('display', 'none');
- $('text{$.pid}selectEditItemView').setStyle('display', 'block');
- $('text{$.pid}selectEditItemStatement').setStyle('display', 'none');
- $('text{$.pid}selectFirstOption').setStyle('display', 'block');
- }" name="itemType" text{($.itemType=='view')?'checked':''} type="radio" value="view"/>{{$.lp.view}}
- <input class="editTableRadio" onclick="if (this.checked){
- $('text{$.pid}selectEditItemValues').setStyle('display', 'none');
- $('text{$.pid}selectEditItemScript').setStyle('display', 'none');
- $('text{$.pid}selectEditItemDict').setStyle('display', 'none');
- $('text{$.pid}selectEditItemView').setStyle('display', 'none');
- $('text{$.pid}selectEditItemStatement').setStyle('display', 'block');
- $('text{$.pid}selectFirstOption').setStyle('display', 'block');
- }" name="itemType" text{($.itemType=='statement')?'checked':''} type="radio" value="statement"/>{{$.lp.statement}}
- </td>
- </tr>
- </table>
- <div id="text{$.pid}selectEditItemValues" style="display: text{(!$.itemType || $.itemType=='values')?'block':'none'}" class="MWFArraylist" name="itemValues" title="{{$.lp.options}}"></div>
- <div id="text{$.pid}selectEditItemScript" style="display: text{($.itemType=='script')?'block':'none'}; border-bottom: 1px solid #cccccc">
- <div class="MWFFormulaArea" name="itemScript" title="{{$.lp.optionScript}} (S)"></div>
- <div style="padding: 5px">{{$.lp.selectItemScriptInfo}}</div>
- </div>
- <div id="text{$.pid}selectFirstOption" style="display: text{(['dict','view','statement'].contains($.itemType))?'block':'none'}">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.firstOptionEnable}}:</td>
- <td class="editTableValue">
- <input class="editTableRadio" onclick="if (this.checked){
- $('text{$.pid}firstOptionTextTr').setStyle('display', '');
- }" name="firstOptionEnable" text{($.firstOptionEnable)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
- <input class="editTableRadio" onclick="if (this.checked){
- $('text{$.pid}firstOptionTextTr').setStyle('display', 'none');
- }" name="firstOptionEnable" text{(!$.firstOptionEnable)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
- </td>
- </tr>
- <tr id="text{$.pid}firstOptionTextTr" style="display: text{($.firstOptionEnable)?'':'none'}">
- <td class="editTableTitle">{{$.lp.firstOption}}:</td>
- <td class="editTableValue"><input type="text" name="firstOption" value="text{$.firstOption}" class="editTableInput"/></td>
- </tr>
- </table>
- </div>
- <div id="text{$.pid}selectEditItemDict" style="display: text{($.itemType=='dict')?'block':'none'}" class="MWFDictionaryItemContainer">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.dict}}:</td>
- <td class="editTableValue">
- <div class="MWFDictionaryNode" data-count=1 name="itemDict"></div>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.dictPath}}:</td>
- <td class="editTableValue">
- <div class="MWFDictionaryItemNode" name="itemDictPath" data-dict="itemDict" title="{{$.lp.dict}}{{$.lp.dictPath}}"></div>
- </td>
- </tr>
- <tr>
- <td class="editTableValue" colspan="2">{{$.lp.dictKeyNote}}:</td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.valueKey}}:</td>
- <td class="editTableValue">
- <input type="text" name="dictValueKey" value="text{$.dictValueKey}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.textKey}}:</td>
- <td class="editTableValue">
- <input type="text" name="dictTextKey" value="text{$.dictTextKey}" class="editTableInput"/>
- </td>
- </tr>
- </table>
- </div>
- <div id="text{$.pid}selectEditItemView" style="display: text{($.itemType=='view')?'block':'none'}" class="MWFQueryViewItemContainer">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.view}}:</td>
- <td class="editTableValue">
- <div class="MWFQueryViewNode" data-count=1 name="itemView"></div>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.valueColumn}}:</td>
- <td class="editTableValue">
- <select class="MWFViewColumnSelect" name="viewValueColumn" style="max-width: 270px;"></select>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.textColumn}}:</td>
- <td class="editTableValue">
- <select class="MWFViewColumnSelect" name="viewTextColumn" style="max-width: 270px;"></select>
- </td>
- </tr>
- </table>
- <div style="background-color: #eeeeee; height: 24px; line-height: 24px; text-align: center; cursor:pointer">{{$.lp.filter}}</div>
- <div class="MWFViewFilterWithTemplate"></div>
- </div>
- <div id="text{$.pid}selectEditItemStatement" style="display: text{($.itemType=='statement')?'block':'none'}" class="MWFQueryStatementItemContainer">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.statement}}:</td>
- <td class="editTableValue">
- <div class="MWFQueryStatementNode" data-count=1 name="itemStatement"></div>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.valueColumn}}:</td>
- <td class="editTableValue">
- <select class="MWFStatementItemSelect" name="statementValueColumn" style="max-width: 270px;"></select>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.textColumn}}:</td>
- <td class="editTableValue">
- <select class="MWFStatementItemSelect" name="statementTextColumn" style="max-width: 270px;"></select>
- </td>
- </tr>
- </table>
- <div style="background-color: #eeeeee; height: 24px; line-height: 24px; text-align: center; cursor:pointer">{{$.lp.filter}}</div>
- <div class="MWFStatementFilterWithTemplate" data-statement="itemStatement"></div>
- </div>
- </div>
- <div style="display: text{($.itemsGroup!==true) ? 'none' : 'block'}; border-bottom: 1px solid #cccccc">
- <div class="MWFFormulaArea" name="itemGroupScript" title="{{$.lp.optionScript}} (S)"></div>
- <div style="padding: 5px">{{$.lp.selectItemScriptInfo}}</div>
- <!-- <div style="padding: 5px; border-bottom: 1px solid #cccccc">-->
- <!-- <div>return {</div>-->
- <!-- <div><span> </span>options: [{</div>-->
- <!-- <div><span> </span><span> </span>label: '热门城市',</div>-->
- <!-- <div><span> </span><span> </span>options: [{value: 'Shanghai', label: '上海'}, {value: 'Beijing', label: '北京'}]</div>-->
- <!-- <div><span> </span>}, {</div>-->
- <!-- <div><span> </span><span> </span>label: '城市名',</div>-->
- <!-- <div><span> </span><span> </span>options: [{value: 'Chengdu', label: '成都'}, {value: 'Shenzhen', label: '深圳'}, {value: 'Guangzhou', label: '广州'}]</div>-->
- <!-- <div><span> </span>}]</div>-->
- <!-- <div>}</div>-->
- <!-- </div>-->
- </div>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.size}}:</td>
- <td class="editTableValue">
- <input type="radio" name="size" value="default" text{(!$.size || $.size==='default')?'checked':''}/>default
- <input type="radio" name="size" value="medium" text{($.size==='medium')?'checked':''}/>medium
- <input type="radio" name="size" value="small" text{($.size==='small')?'checked':''}/>small
- <input type="radio" name="size" value="mini" text{($.size==='mini')?'checked':''}/>mini
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.clearable}}:</td>
- <td class="editTableValue">
- <input type="radio" name="clearable" value="true" text{($.clearable===true)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="clearable" value="false" text{($.clearable!==true)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.popperClass}}:</td>
- <td class="editTableValue">
- <input type="text" name="popperClass" value="text{$.popperClass}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.multiple}}:</td>
- <td class="editTableValue">
- <input onclick="if (this.checked){ this.getParent('table').getNext().show();}" type="radio" name="multiple" value="true" text{($.multiple===true)?'checked':''}/>{{$.lp.yes}}
- <input onclick="if (this.checked){ this.getParent('table').getNext().hide();}" type="radio" name="multiple" value="false" text{($.multiple!==true)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- </table>
- <div style="display: text{($.multiple===true) ? 'block' : 'none'}">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.collapseTags}}:</td>
- <td class="editTableValue">
- <input type="radio" name="collapseTags" value="true" text{($.collapseTags===true)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="collapseTags" value="false" text{($.collapseTags!==true)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.multipleLimit}}:</td>
- <td class="editTableValue">
- <input type="number" name="multipleLimit" value="text{$.multipleLimit || 0}" class="editTableInput"/>
- </td>
- </tr>
- </table>
- </div>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.filterable}}:</td>
- <td class="editTableValue">
- <input type="radio" onclick="if (this.checked){ this.getParent('table').getNext().show();}" name="filterable" value="true" text{($.filterable===true)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" onclick="if (this.checked){ this.getParent('table').getNext().hide();}" name="filterable" value="false" text{($.filterable!==true)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- </table>
- <div style="display: text{($.filterable===true) ? 'block' : 'none'}">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.allowCreate}}:</td>
- <td class="editTableValue">
- <input type="radio" name="allowCreate" value="true" text{($.allowCreate===true)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="allowCreate" value="false" text{($.allowCreate!==true)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.noMatchText}}:</td>
- <td class="editTableValue">
- <input type="text" name="noMatchText" value="text{$.noMatchText}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.noDataText}}:</td>
- <td class="editTableValue">
- <input type="text" name="noDataText" value="text{$.noDataText}" class="editTableInput"/>
- </td>
- </tr>
- </table>
- <!-- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999; border-bottom: 1px solid #999;font-weight:bold;">{{$.lp.filterMethod}}</div>-->
- <div class="MWFFormulaArea" name="filterMethod" title="{{$.lp.filterMethod}}"></div>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.filterRemote}}:</td>
- <td class="editTableValue">
- <input type="radio" onclick="if (this.checked){ this.getParent('table').getNext().show();}" name="remote" value="true" text{($.remote===true)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" onclick="if (this.checked){ this.getParent('table').getNext().hide();}" name="remote" value="false" text{($.remote!==true)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- </table>
- <div style="display: text{($.remote===true) ? 'block' : 'none'}">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.loadingText}}:</td>
- <td class="editTableValue">
- <input type="text" name="loadingText" value="text{$.loadingText}" class="editTableInput"/>
- </td>
- </tr>
- </table>
- <!-- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; text-align: center; line-height: 24px; background-color: #EEE; border-top: 1px solid #999; border-top: 1px solid #999; font-weight:bold;">{{$.lp.remoteMethod}}</div>-->
- <div class="MWFFormulaArea" name="remoteMethod" title="{{$.lp.remoteMethod}} (S)"></div>
- </div>
- </div>
- <div class="MWFMaplist" name="elStyles" collapse="true" title="Select {{$.lp.style}}"></div>
- <div class="MWFMaplist" name="elProperties" collapse="true" title="Select {{$.lp.attribute}}"></div>
- <div class="MWFMaplist" name="elOptionStyles" collapse="true" title="Option {{$.lp.style}}"></div>
- <div class="MWFMaplist" name="elOptionProperties" collapse="true" title="Option {{$.lp.attribute}}"></div>
- <div class="MWFMaplist" name="elGroupStyles" collapse="true" title="Group {{$.lp.style}}"></div>
- <div class="MWFMaplist" name="elGroupProperties" collapse="true" title="Group {{$.lp.attribute}}"></div>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.compute}}:</td>
- <td class="editTableValue">
- <input type="radio" name="compute" value="create" text{(!$.compute || $.compute=='create')?'checked':''}/>{{$.lp.create}}
- <input type="radio" name="compute" value="save" text{($.compute=='save')?'checked':''}/>{{$.lp.save}}
- <input type="radio" name="compute" value="show" text{($.compute=='show')?'checked':''}/>{{$.lp.show}}
- </td>
- </tr>
- </table>
- <div class="MWFScriptArea" name="defaultValue" title="{{$.lp.defaultValue}} (S)"></div>
- <div class="MWFValidation" name="validationConfig"></div>
- <div class="MWFScriptArea" name="validation" title="{{$.lp.verificationScript}} (S)"></div>
- </div>
- <div title="Vue" class="MWFTab">
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Data</div>
- <div style="display: text{($.vueData && $.vueData.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueData" title="Vue Data (S)"></div>
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Method</div>
- <div div style="display: text{($.vueMethods && $.vueMethods.code) ? 'block': 'none'}" class="MWFScriptArea" name="vueMethods" title="Vue Methods (S)"></div>
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue CSS</div>
- <div div style="display: text{($.vueCss && $.vueCss.code) ? 'block': 'none'}" class="MWFCssArea" name="vueCss" title="Vue Css (S)"></div>
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">Vue Slots</div>
- <div style="display: text{($.vueSlot) ? 'block' : 'none'}">
- <div class="MWFHtmlEditorArea" name="vueSlot" title="Input Slot (HTML)"></div>
- </div>
- <div onclick="var node = this.getNext(); node.setStyle('display', ((node.getStyle('display')!='none') ? 'none': 'block'))" style="cursor: pointer; height:24px; padding-left: 5px; line-height: 24px; background-color: #EEE; border-bottom: 1px solid #999;font-weight:bold;">{{$.lp.selectTemplete}}</div>
- <div style="display: text{($.customTemplete) ? 'block' : 'none'}">
- <div class="MWFHtmlEditorArea" name="customTemplete" title="{{$.lp.selectTemplete}} (HTML)"></div>
- </div>
- </div>
- <div title="{{$.lp.section}}" class="MWFTab">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.enableSection}}:</td>
- <td class="editTableValue">
- <input onclick="if (this.checked){
- $('text{$.pid}sectionByEditArea').setStyle('display', 'block');
- $('text{$.pid}sectionMergeArea').setStyle('display', 'none')
- }" type="radio" name="section" value="yes" text{($.section=='yes')?'checked':''}/>{{$.lp.yes}}
- <input onclick="if (this.checked){
- $('text{$.pid}sectionByEditArea').setStyle('display', 'none');
- $('text{$.pid}sectionMergeArea').setStyle('display', 'block')
- }" type="radio" name="section" value="no" text{($.section!='yes')?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- </table>
- <div id="text{$.pid}sectionByEditArea" style="display: text{($.section=='yes')?'block':'none'};">
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.sectionBy}}:</td>
- <td class="editTableValue">
- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{(($.sectionBy=='person') || ($.sectionBy!='unit' && $.sectionBy!='activity' && $.sectionBy!='script'))?'checked':''} type="radio" value="person"/>{{$.lp.handler}}<br/>
- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='unit')?'checked':''} type="radio" value="unit"/>{{$.lp.handlerUnit}}<br/>
- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='activity')?'checked':''} type="radio" value="activity"/>{{$.lp.activityId}}<br/>
- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'none');}" name="sectionBy" text{($.sectionBy=='splitValue')?'checked':''} type="radio" value="splitValue"/>{{$.lp.splitValue}}<br/>
- <input class="editTableRadio" onclick="if (this.checked){ $('text{$.pid}sectionByScriptEditArea').setStyle('display', 'block');}" name="sectionBy" text{($.sectionBy=='script')?'checked':''} type="radio" value="script"/>{{$.lp.script}}<br/>
- </td>
- </tr>
- </table>
- <div id="text{$.pid}sectionByScriptEditArea" style="display: text{($.sectionBy=='script')?'block':'none'};">
- <div class="MWFScriptArea" name="sectionByScript" title="{{$.lp.sectionBy}} (S)"></div>
- </div>
- </div>
- <div id="text{$.pid}sectionMergeArea" class="MWFSectionMergeArea" style="display: text{($.section=='yes')?'none':''};"></div>
- </div>
- <div title="{{$.lp.event}}" class="MWFTab">
- <div class="MWFEventsArea" name="events"></div>
- </div>
- <div title="HTML" class="MWFTab">
- <div class="MWFHTMLArea" style="width:100%; height:400px; border:0px;font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
- </div>
- <div title="JSON" class="MWFTab">
- <div class="MWFJSONArea" style="font-family: Verdana, Geneva, sans-serif; font-size:14px"></div>
- </div>
- </div>
|