123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- <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>
- </table>
- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
- <tr>
- <td class="editTableTitle">{{$.lp.selectType}}:</td>
- <td class="editTableValue">
- <input type="radio" name="selectType" text{(!$.selectType || $.selectType=='date')?'checked':''} value="date"
- onclick="if (this.checked){
- $('text{$.pid}rangeTable').setStyle('display', 'none')
- }"/>{{$.lp.date}}
- <input type="radio" name="selectType" text{($.selectType=='month')?'checked':''} value="month"
- onclick="if (this.checked){
- $('text{$.pid}rangeTable').setStyle('display', 'none')
- }"/>{{$.lp.monthOnly}}
- <input type="radio" name="selectType" text{($.selectType=='year')?'checked':''} value="year"
- onclick="if (this.checked){
- $('text{$.pid}rangeTable').setStyle('display', 'none')
- }"}"/>{{$.lp.yearOnly}}
- <input type="radio" name="selectType" text{($.selectType=='week')?'checked':''} value="week"
- onclick="if (this.checked){
- $('text{$.pid}rangeTable').setStyle('display', 'none')
- }"}"/>{{$.lp.weekOnly}}
- <br/>
- <input type="radio" name="selectType" text{($.selectType=='dates')?'checked':''} value="dates"
- onclick="if (this.checked){
- $('text{$.pid}rangeTable').setStyle('display', 'none')
- }"}"/>{{$.lp.multidate}}
- <input type="radio" name="selectType" text{($.selectType=='daterange')?'checked':''} value="daterange"
- onclick="if (this.checked){
- $('text{$.pid}rangeTable').setStyle('display', '')
- }"}"/>{{$.lp.daterange}}
- <input type="radio" name="selectType" text{($.selectType=='monthrange')?'checked':''} value="monthrange"
- onclick="if (this.checked){
- $('text{$.pid}rangeTable').setStyle('display', '')
- }"}"/>{{$.lp.monthrange}}
- </td>
- </tr>
- <!-- <tr id="text{$.pid}isRangeTr" style="display: text{($.timeSelectType==='select') ? 'none':''};">-->
- <!-- <td class="editTableTitle">{{$.lp.isRange}}:</td>-->
- <!-- <td class="editTableValue">-->
- <!-- <input type="radio" name="isRange" text{($.isRange)?'checked':''} value="true"-->
- <!-- onclick="if (this.checked){-->
- <!-- $('text{$.pid}noRangeTable').setStyle('display', 'none');-->
- <!-- $('text{$.pid}rangeTable').setStyle('display', '');-->
- <!-- }"/>{{$.lp.yes}}-->
- <!-- <input type="radio" name="isRange" text{(!$.isRange)?'checked':''} value="false"-->
- <!-- onclick="if (this.checked){-->
- <!-- $('text{$.pid}noRangeTable').setStyle('display', '');-->
- <!-- $('text{$.pid}rangeTable').setStyle('display', 'none');-->
- <!-- }"/>{{$.lp.no}}-->
- <!-- </td>-->
- <!-- </tr>-->
- <tr id="text{$.pid}formatTr">
- <td class="editTableTitle">{{$.lp.format}}:</td>
- <td class="editTableValue"><input type="text" name="format" value="text{$.format}" 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.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>
- <tr>
- <td class="editTableTitle">{{$.lp.editable}}:</td>
- <td class="editTableValue">
- <input type="radio" name="editable" value="true" text{($.editable)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="editable" value="false" text{(!$.editable)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.clearable}}:</td>
- <td class="editTableValue">
- <input type="radio" name="clearable" value="true" text{($.clearable)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="clearable" value="false" text{(!$.clearable)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <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="large" text{($.size==='large')?'checked':''}/>large
- <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.firstDayOfWeek}}:</td>
- <td class="editTableValue">
- <select name="firstDayOfWeek" class="editTableInput">
- <option value="1" text{($.firstDayOfWeek=="1") ? "selected" : ""}>{{$.lp.weeks.arr[0]}}</option>
- <option value="2" text{($.firstDayOfWeek=="2") ? "selected" : ""}>{{$.lp.weeks.arr[1]}}</option>
- <option value="3" text{($.firstDayOfWeek=="3") ? "selected" : ""}>{{$.lp.weeks.arr[2]}}</option>
- <option value="4" text{($.firstDayOfWeek=="4") ? "selected" : ""}>{{$.lp.weeks.arr[3]}}</option>
- <option value="5" text{($.firstDayOfWeek=="5") ? "selected" : ""}>{{$.lp.weeks.arr[4]}}</option>
- <option value="6" text{($.firstDayOfWeek=="6") ? "selected" : ""}>{{$.lp.weeks.arr[5]}}</option>
- <option value="7" text{(!$.firstDayOfWeek || $.firstDayOfWeek=="7") ? "selected" : ""}>{{$.lp.weeks.arr[6]}}</option>
- </select>
- </td>
- </tr>
- </table>
- <div>
- <div>{{$.lp.disabledDateNote}}</div>
- <div class="MWFFormulaArea" name="disabledDate" title="{{$.lp.disabledDateScript}}"></div>
- </div>
- <!-- <table id="text{$.pid}datePickTable">-->
- <!-- <tr>-->
- <!-- <td colspan="2">-->
- <!-- <div>{{$.lp.disabledDateNote}}</div>-->
- <!-- <div class="MWFFormulaArea" name="disabledDate" title="{{$.lp.disabledDateScript}}"></div>-->
- <!-- </td>-->
- <!-- </tr>-->
- <!-- <tr>-->
- <!-- <td class="editTableTitle">{{$.lp.firstDayOfWeek}}:</td>-->
- <!-- <td class="editTableValue">-->
- <!-- <select name="firstDayOfWeek" class="editTableInput">-->
- <!-- <option value="1" text{($.firstDayOfWeek=="1") ? "selected" : ""}>{{$.lp.weeks.arr[0]}}</option>-->
- <!-- <option value="2" text{($.firstDayOfWeek=="2") ? "selected" : ""}>{{$.lp.weeks.arr[1]}}</option>-->
- <!-- <option value="3" text{($.firstDayOfWeek=="3") ? "selected" : ""}>{{$.lp.weeks.arr[2]}}</option>-->
- <!-- <option value="4" text{($.firstDayOfWeek=="4") ? "selected" : ""}>{{$.lp.weeks.arr[3]}}</option>-->
- <!-- <option value="5" text{($.firstDayOfWeek=="5") ? "selected" : ""}>{{$.lp.weeks.arr[4]}}</option>-->
- <!-- <option value="6" text{($.firstDayOfWeek=="6") ? "selected" : ""}>{{$.lp.weeks.arr[5]}}</option>-->
- <!-- <option value="7" text{(!$.firstDayOfWeek || $.firstDayOfWeek=="7") ? "selected" : ""}>{{$.lp.weeks.arr[6]}}</option>-->
- <!-- </select>-->
- <!-- </td>-->
- <!-- </tr>-->
- <!-- </table>-->
- <!-- <table id="text{$.pid}noRangeTable">-->
- <!-- <tr>-->
- <!-- <td class="editTableTitle">{{$.lp.placeholder}}:</td>-->
- <!-- <td class="editTableValue"><input type="text" name="placeholder" value="text{$.placeholder}" class="editTableInput"/></td>-->
- <!-- </tr>-->
- <!-- </table>-->
- <table id="text{$.pid}rangeTable" style="display: text{(!['daterange','monthrange'].contains($.selectType)) ? 'none':''};">
- <tr>
- <td class="editTableTitle">{{$.lp.rangeSeparator}}:</td>
- <td class="editTableValue"><input type="text" name="rangeSeparator" value="text{$.rangeSeparator}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.startPlaceholder}}:</td>
- <td class="editTableValue"><input type="text" name="startPlaceholder" value="text{$.startPlaceholder}" class="editTableInput"/></td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.endPlaceholder}}:</td>
- <td class="editTableValue"><input type="text" name="endPlaceholder" value="text{$.endPlaceholder}" 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;font-weight:bold;">{{$.lp.prefixIcon}}</div>
- <div style="display: text{($.prefixIcon)?'block':'none'}" class="MWFElIcon" name="prefixIcon"></div>
- <!-- <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;font-weight:bold;">{{$.lp.suffixIcon}}</div>-->
- <!-- <div style="display: text{($.suffixIcon)?'block':'none'}" class="MWFElIcon" name="suffixIcon"></div>-->
- <div class="MWFMaplist" name="elStyles" title="{{$.lp.style}}"></div>
- <div class="MWFMaplist" name="elProperties" title="{{$.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>
- <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>
|