12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <!-- Licensed Materials - Property of IBM
- BI and PM: Mobile
- (C) Copyright IBM Corp. 2007, 2012
- US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. -->
- <div class="prompt ${prompt.tag}" ${prompt}>
- <div id="msg${prompt.name}"></div>
- <%
- if( !label ) out << "<label>${prompt.name}</label>"
- %>
- i18n('WEB_PROMPT_FROM')
- <div min="true">
- <table>
- <tr>
- <td>i18n('WEB_PROMPT_INTERVAL_DAYS'):</td>
- <td>i18n('WEB_PROMPT_INTERVAL_HOURS'):</td>
- <td>i18n('WEB_PROMPT_INTERVAL_MINUTES'):</td>
- <% if( prompt.displaySeconds ){ %>
- <td>i18n('WEB_PROMPT_INTERVAL_SECONDS'):</td>
- <% } %>
- <% if( prompt.displayMilliSeconds ){ %>
- <td>i18n('WEB_PROMPT_INTERVAL_MILLISECONDS'):</td>
- <% } %>
- </tr>
- <tr>
- <td><input type="text" itype="D" size="4" value="" pattern="[0-9]*"></input></td>
- <td><input type="text" itype="H" size="4" value="" pattern="[0-9]*"></input></td>
- <td><input type="text" itype="M" size="2" value="" maxlength="2" pattern="[0-9]*"></input></td>
- <% if( prompt.displaySeconds ){ %>
- <td><input type="text" itype="S" size="2" value="" maxlength="2" pattern="[0-9]*"></input></td>
- <% } %>
- <% if( prompt.displayMilliSeconds ){ %>
- <td><input type="text" itype="MS" size="3" value="" maxlength="3" pattern="[0-9]*"></input></td>
- <% } %>
- </tr>
- </table>
- </div>
- i18n('WEB_PROMPT_TO')
- <div max="true">
- <table>
- <tr>
- <td>i18n('WEB_PROMPT_INTERVAL_DAYS'):</td>
- <td>i18n('WEB_PROMPT_INTERVAL_HOURS'):</td>
- <td>i18n('WEB_PROMPT_INTERVAL_MINUTES'):</td>
- <% if( prompt.displaySeconds ){ %>
- <td>i18n('WEB_PROMPT_INTERVAL_SECONDS'):</td>
- <% } %>
- <% if( prompt.displayMilliSeconds ){ %>
- <td>i18n('WEB_PROMPT_INTERVAL_MILLISECONDS'):</td>
- <% } %>
- </tr>
- <tr>
- <td><input type="text" itype="D" size="4" value="" pattern="[0-9]*" ></input></td>
- <td><input type="text" itype="H" size="4" value="" pattern="[0-9]*" ></input></td>
- <td><input type="text" itype="M" size="2" value="" maxlength="2" pattern="[0-9]*"></input></td>
- <% if( prompt.displaySeconds ){ %>
- <td><input type="text" itype="S" size="2" value="" maxlength="2" pattern="[0-9]*"></input></td>
- <% } %>
- <% if( prompt.displayMilliSeconds ){ %>
- <td><input type="text" itype="MS" size="3" value="" maxlength="3" pattern="[0-9]*"></input></td>
- <% } %>
- </tr>
- </table>
- </div>
- <input type="button" btype="insert" value="i18n('WEB_PROMPT_INSERT')"></input>
- <select name="p_${prompt.name}" size="4" multiple="true"<%
- def classes = "msgPos:'msg${prompt.name}' ";
- if( prompt.required ) classes += " selectrequired"
- out << " class='${classes}'>"
- prompt.defaultRanges.each{ r ->
- if( r.startUseValue == null ){
- out << "<option value='{"minValue":"<MIN>","maxValue":"<![CDATA[${r.endUseValue}]]>"}'>i18n('WEB_PROMPT_LESSTHANOREQUAL', ['${r.endDisplayValue}'])</option>"
- } else if( r.endUseValue == null ){
- out << "<option value='{"minValue":"<![CDATA[${r.startUseValue}]]>","maxValue":"<MAX>"}'>i18n('WEB_PROMPT_GREATERTHANOREQUAL', ['${r.startDisplayValue}'])</option>"
- } else {
- out << "<option value='{"minValue":"<![CDATA[${r.startUseValue}]]>","maxValue":"<![CDATA[${r.endUseValue}]]>"}'>i18n('WEB_PROMPT_BETWEEN', ['${r.startDisplayValue}', '${r.endDisplayValue}'])</option>"
- }
- }
- %></select>
- <a id="select_all" href="javascript:void(0)">i18n('WEB_PROMPT_SELECT_ALL')</a>
- <a id="deselect_all" href="javascript:void(0)">i18n('WEB_PROMPT_DESELECT_ALL')</a>
- <input type="button" btype="remove" value="i18n('WEB_PROMPT_REMOVE')"></input>
- </div>
|