123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <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.showIcon}}:</td>
- <td class="editTableValue">
- <input type="radio" name="showIcon" value="yes" text{($.showIcon=='yes')?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="showIcon" value="no" text{($.showIcon!=='yes')?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.showMode}}:</td>
- <td class="editTableValue">
- <label><input type="radio" name="showMode" value="editable" text{($.showMode!=='readonlyMode' && $.showMode!=='disabled' && $.showMode!=='read')?'checked':''}/>{{$.lp.editable}}</label>
- <label><input type="radio" name="showMode" value="readonlyMode" text{($.showMode==='readonlyMode')?'checked':''}/>{{$.lp.readonlyMode}}</label>
- <label><input type="radio" name="showMode" value="disabled" text{($.showMode==='disabled')?'checked':''}/>{{$.lp.disabled}}</label>
- <label><input type="radio" name="showMode" value="read" text{($.showMode==='read')?'checked':''}/>{{$.lp.read}}</label>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.required}}:</td>
- <td class="editTableValue">
- <input type="radio" name="required" value="true" text{($.required==true)?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="required" value="false" text{($.required!=true)?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <tr>
- <td colspan="2"><b>{{$.lp.readModeEvents}}:</b>
- <input type="radio" name="readModeEvents" value="yes" text{($.readModeEvents=='yes')?'checked':''}/>{{$.lp.yes}}
- <input type="radio" name="readModeEvents" value="no" text{($.readModeEvents!=='yes')?'checked':''}/>{{$.lp.no}}
- </td>
- </tr>
- <!-- <tr>-->
- <!-- <td class="editTableTitle">{{$.lp.readonly}}:</td>-->
- <!-- <td class="editTableValue">-->
- <!-- <input type="radio" name="readonly" value="true" text{($.readonly)?'checked':''}/>{{$.lp.yes}}-->
- <!-- <input type="radio" name="readonly" value="false" text{(!$.readonly)?'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>-->
- <tr>
- <td class="editTableTitle">{{$.lp.title}}:</td>
- <td class="editTableValue" id="text{$.pid}isTitleArea">
- <input type="text" name="label" value="text{$.label}" class="editTableInput"/>
- </td>
- </tr>
- <tr>
- <td class="editTableTitle">{{$.lp.type}}:</td>
- <td class="editTableValue">
- <div>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="text" text{($.dataType==='text')?'checked':''}/>text</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="number" text{($.dataType==='number')?'checked':''}/>number</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="date" text{($.dataType==='date')?'checked':''}/>date</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="datetime-local" text{($.dataType==='datetime-local')?'checked':''}/>datetime-local</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="time" text{($.dataType==='time')?'checked':''}/>time</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="week" text{($.dataType==='week')?'checked':''}/>week</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="month" text{($.dataType==='month')?'checked':''}/>month</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="email" text{($.dataType==='email')?'checked':''}/>email</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="password" text{($.dataType==='password')?'checked':''}/>password</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="tel" text{($.dataType==='tel')?'checked':''}/>tel</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="url" text{($.dataType==='url')?'checked':''}/>url</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="range" text{($.dataType==='date')?'checked':''}/>range</label>
- <label style="width: 110px; display: inline-block"><input type="radio" name="dataType" value="search" text{($.dataType==='search')?'checked':''}/>search</label>
- </div>
- </td>
- </tr>
- </table>
- <div class="MWFMaplist" name="styles" title="{{$.lp.style}}"></div>
- <div class="MWFMaplist" name="properties" 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.indexOf('create')!=-1)?'checked':''}/>{{$.lp.create}}
- <input type="radio" name="compute" value="save" text{($.compute.indexOf('save')!=-1)?'checked':''}/>{{$.lp.save}}
- <input type="radio" name="compute" value="show" text{($.compute.indexOf('show')!=-1)?'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="{{$.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="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>
|