D_Color.xml 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <!--
  2. Licensed Materials - Property of IBM
  3. IBM Cognos Products: cchl
  4. (C) Copyright IBM Corp. 2012, 2014
  5. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  6. -->
  7. <resources>
  8. <dialog id="D_Color" idsDialogTitle="IDS_CCHL_TITLE_COLOR" helpId="dlgColor">
  9. <dialogHtml><![CDATA[
  10. <div onkeypress="D_Color.F_OnKeyPress( event )" onkeydown="D_Color.F_OnKeyDown( event )">
  11. <div HAL_dlgItemId="divFavorColorContainer" style="width:412px">
  12. <table role="presentation" HAL_dlgItemId="divFavorColorLabel" class="clsDialogText" cellpadding="0" cellspacing="0">
  13. <tr>
  14. <td style="white-space:nowrap; padding-right:4px" HAL_ids="IDS_CCHL_LBL_FAVORITE_COLORS"></td>
  15. <td style="width:100%"><hr/></td>
  16. </tr>
  17. </table>
  18. <div HAL_dlgItemId="divFavoriteColors" style="height:20px"></div>
  19. </div>
  20. <div HAL_dlgItemId="divTransparency" style="width:412px">
  21. <table role="presentation" HAL_dlgItemId="divTransparencyLabel" class="clsDialogText" cellpadding="0" cellspacing="0">
  22. <tr>
  23. <td style="white-space:nowrap; padding-right:4px" HAL_ids="IDS_CCHL_LBL_TRANSPARENCY"></td>
  24. <td style="width:100%"><hr/></td>
  25. </tr>
  26. </table>
  27. <div style="padding-top:5px;">
  28. <table role="presentation" class="clsDialogText" cellpadding="0" cellspacing="0">
  29. <tr>
  30. <td><input HAL_dlgItemId="txtTransparency" HAL_idsAriaLabel="IDS_CCHL_LBL_TRANSPARENCY" class="clsCCHLNumeric clsTextBox" type="text" maxlength="3" HAL_isSelectable="true" style="vertical-align:middle; width:40px; height:22px" onkeypress="U_DOM.F_NumbersOnlyOnKeyPress( event, false, 'integer' );" onkeyup="U_DOM.F_PercentOnlyOnChange( event, false, 'integer', 100 );D_Color.F_OnTransparencyTextChange();" onchange="U_DOM.F_PercentOnlyOnChange( event, false, 'integer', 100 );D_Color.F_OnTransparencyTextChange();"/></td>
  31. <td><div HAL_dlgItemId="divSlider" style="margin-left:20px;"></div></td>
  32. </tr>
  33. </table>
  34. </div>
  35. </div>
  36. <!-- TabBox -->
  37. <table HAL_dlgItemId="tabMain" HAL_tabOrientation="top" style="width:412px">
  38. <tr>
  39. <td HAL_ids="IDS_CCHL_TAB_COLOR_NAMED"></td>
  40. <td HAL_ids="IDS_CCHL_TAB_COLOR_WEBSAFE"></td>
  41. <td HAL_ids="IDS_CCHL_TAB_COLOR_CUSTOM"></td>
  42. </tr>
  43. </table>
  44. <!-- TabPanels -->
  45. <div HAL_dlgItemId="tabMain_Panels" style="position:relative; padding:7px 0px 0px 5px; width:412px; height:300px">
  46. <!-- TabPanel [Named Colors] -->
  47. <div HAL_dlgItemId="tabMain_Panel0">
  48. <table cellpadding="0" cellspacing="0" style="table-layout:fixed">
  49. <tr>
  50. <td><div HAL_dlgItemId="divNamedColors1" style="width:190px; height:270px"></div></td>
  51. <td><div HAL_dlgItemId="divNamedColors2" style="width:190px; height:270px"></div></td>
  52. </tr>
  53. </table>
  54. </div>
  55. <!-- TabPanel [Web Safe Colors] -->
  56. <div HAL_dlgItemId="tabMain_Panel1">
  57. <div HAL_dlgItemId="divWebSafeColors" style="width:400px"></div>
  58. </div>
  59. <!-- TabPanel [Custom Adv] -->
  60. <div HAL_dlgItemId="tabMain_Panel2">
  61. <div HAL_dlgItemId="divCustomerColorPicker" style="width:100%; padding:0px 10px 0px 10px"></div>
  62. </div>
  63. <div style="position: absolute; bottom: 10px; right: 0px;">
  64. <span HAL_dlgItemId="divOKLink" HAL_ids="IDS_HAL_BTN_APPLY" style="vertical-align:middle; margin-right:20px" class="clsHyperlink" onclick="D_Color.F_OnOK()" onmousedown="this.className='clsHyperlink'" onmouseover="this.className='clsHyperlink_hover'" onmouseout="this.className='clsHyperlink'"></span>
  65. <span HAL_dlgItemId="divAddToLink" HAL_ids="IDS_CCHL_BTN_ADD" style="vertical-align:middle; margin-right:20px" class="clsHyperlink" onclick="D_Color.F_OnAddUpdateFavorite()" onmouseover="this.className='clsHyperlink_hover'" onmouseout="this.className='clsHyperlink'"></span>
  66. </div>
  67. </div>
  68. <div HAL_dlgItemId="divButtons" class="clsDlgButtonBar">
  69. <button HAL_dlgItemId="btnOK" class="clsDlgButton" onclick="D_Color.F_OnOK()" HAL_ids="IDS_HAL_BTN_OK">OK</button>
  70. <button HAL_dlgItemId="btnApply" class="clsDlgButton" onclick="D_Color.F_OnApply()" HAL_ids="IDS_HAL_BTN_APPLY">Apply</button>
  71. <button class="clsDlgButton" onclick="D_Color.F_OnCancel()" HAL_ids="IDS_HAL_BTN_CANCEL">Cancel</button>
  72. </div>
  73. </div>
  74. ]]></dialogHtml>
  75. <externalScripts>
  76. <externalScript src="hal/C_Slider.js"/>
  77. <externalScript src="hal/C_PositionTween.js"/>
  78. <externalScript src="hal/C_Tab.js"/>
  79. <externalScript src="hal/C_ListView.js"/>
  80. <externalScript src="hal/U_Clipboard.js"/>
  81. <externalScript src="cchl/C_ColorPicker.js"/>
  82. <externalScript src="cchl/dialogs/D_Color_async.js"/>
  83. <externalScript src="cchl/U_Color.js"/>
  84. </externalScripts>
  85. <externalStringTables>
  86. <externalStringTable src="cchl/res/cchl_strings"/>
  87. </externalStringTables>
  88. <externalResources>
  89. <externalResource src="cchl/res/cchl_resources.xml"/>
  90. </externalResources>
  91. </dialog>
  92. <listView id="CCHL_WebSafeColors" view="smallIcon" classPrefix="clsListItem_colorCell">
  93. <listItems/>
  94. </listView>
  95. <listView id="CCHL_FavoriteColors" view="smallIcon" classPrefix="clsListItem_colorCell">
  96. <listItems/>
  97. </listView>
  98. <slider id="D_Color_TransparencySlider" animate="true" min="0" max="100" rangeType="min" trackLength="300px" tickType="values" tickInterval="50"></slider>
  99. </resources>