123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <!-- 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>"
- %>
- <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>
- <input type="button" btype="insert" value="i18n('WEB_PROMPT_INSERT')"></input>
- <select size="4" multiple="true" <%
- classes = "msgPos:'msg${prompt.name}Select' ";
- if( prompt.required ) classes += " selectrequired"
- out << " class='${classes}'>"
- if( prompt.defaults != null ){
- prompt.defaults.keys().each{ key ->
- out << "<option value='<![CDATA[${prompt.defaults.get(key)}]]>'>${key}</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>
|