/webportal/src/main/webapp/WEB-INF/zul/AreaEnvironmentalEnvelope.zul

http://alageospatialportal.googlecode.com/ · Unknown · 92 lines · 85 code · 7 blank · 0 comment · 0 complexity · 023e01761853d151b60429183d509ce1 MD5 · raw file

  1. <?variable-resolver class="org.zkoss.spring.DelegatingVariableResolver"?>
  2. <zk>
  3. <window id="areaenvironmentalenvelopewindow" use="org.ala.spatial.analysis.web.AreaEnvironmentalEnvelope"
  4. apply="org.ala.spatial.analysis.web.AreaEnvironmentalEnvelope"
  5. width="400px" xmlns:n="http://www.zkoss.org/2005/zk/native"
  6. style="position:absolute;left:20px;top:20px" draggable="false">
  7. <n:div class="left-cover" />
  8. <n:div class="fancybox-bg" id="fancybox-bg-ne" />
  9. <n:div class="fancybox-bg" id="fancybox-bg-se" />
  10. <n:div class="fancybox-bg" id="fancybox-bg-sw" />
  11. <n:div class="fancybox-bg" id="fancybox-bg-nw" />
  12. <n:div class="fancybox-bg" id="fancybox-bg-n" />
  13. <n:div class="fancybox-bg" id="fancybox-bg-e" />
  14. <n:div class="fancybox-bg" id="fancybox-bg-s" />
  15. <n:div class="fancybox-bg" id="fancybox-bg-w" />
  16. <a sclass="fancybox-close" onClick="areaenvironmentalenvelopewindow.onClick$btnCancel(null)" style="display: inline" />
  17. <caption label="Environmental Envelope" />
  18. <vbox>
  19. <div>
  20. <hbox width="100%">
  21. <label value="Area name" sclass="h3" />
  22. <textbox id="txtLayerName" width="250px"/>
  23. </hbox>
  24. </div>
  25. <label value="Search for a layer to add" />
  26. <combobox id="cbEnvLayers" use="org.ala.spatial.analysis.web.EnvLayersCombobox" autodrop="true" width="350px" >
  27. <comboitem label=""/>
  28. </combobox>
  29. <label sclass="exampleText">e.g. Annual Mean Temperature</label>
  30. <separator />
  31. <separator />
  32. <button style="float:left" id="btnClearSelection" label="Clear layers" sclass="goButton" />
  33. <listbox id="lbSelLayers" multiple="false" checkmark="false" height="300px" >
  34. <listhead>
  35. <listheader label="Layer" width="40%" ></listheader>
  36. <listheader>
  37. <label value="Envelope extent" width="40%"></label>
  38. </listheader>
  39. <listheader width="20%">
  40. <vbox>
  41. <label value="Species"></label>
  42. <label value="count"></label>
  43. </vbox>
  44. </listheader>
  45. </listhead>
  46. <listfoot>
  47. <listfooter span="3">
  48. <div id="popup_continous" visible="false" width="100%" >
  49. <label sclass="word-wrap"
  50. style="white-space: normal; font-weight:bold"
  51. value="edit envelope for this layer" id="label_continous"
  52. multiline="true"/>
  53. <vbox width="100%">
  54. <hbox><label value="Full layer extent"/><label id="popup_range"/></hbox>
  55. <hbox>
  56. <slider id="popup_slider_min" slidingtext="">
  57. </slider>
  58. <doublebox id="popup_minimum" width="80px"></doublebox>
  59. </hbox>
  60. <hbox>
  61. <slider id="popup_slider_max" slidingtext="">
  62. </slider>
  63. <doublebox id="popup_maximum" width="80px"></doublebox>
  64. <textbox id="popup_idx" visible="false"></textbox>
  65. </hbox>
  66. <hbox>
  67. <button label="Update species count" id="apply_continous" sclass="goButton" autodisable="self"/>
  68. <button label="Remove" id="remove_continous" sclass="goButton" />
  69. </hbox>
  70. </vbox>
  71. </div>
  72. </listfooter>
  73. </listfoot>
  74. </listbox>
  75. <separator />
  76. <separator />
  77. </vbox>
  78. <div style="float:right;margin-right:5px">
  79. <hbox>
  80. <button sclass="goButton" label="Cancel" id="btnCancel" onClick="areaenvironmentalenvelopewindow.detach()"/>
  81. <button label="Next" id="filter_done" sclass="goButton" disabled="true" autodisable="self"/>
  82. </hbox>
  83. </div>
  84. </window>
  85. </zk>