searchreplace.html 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <html>
  4. <head>
  5. <title></title>
  6. <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
  7. <script type="text/javascript" src="../internal.js"></script>
  8. <style type="text/css">
  9. .warpper {
  10. position: relative;
  11. width: 380px;
  12. height: 100%;
  13. margin: 10px auto;
  14. }
  15. .tabbody {
  16. height: 160px;
  17. }
  18. .tabbody table {
  19. width: 100%;
  20. border-collapse: separate;
  21. border-spacing: 3px;
  22. }
  23. .tabbody .panel {
  24. width: 373px;
  25. height: 100%;
  26. padding-left: 5px;
  27. position: absolute;
  28. background-color: #fff;
  29. }
  30. .tabbody input.int {
  31. width: 190px;
  32. height: 21px;
  33. border: 1px solid #d7d7d7;
  34. line-height: 21px;
  35. }
  36. .tabbody input.btn {
  37. padding: 0 5px;
  38. text-align: center;
  39. line-height: 24px;
  40. text-decoration: none;
  41. height: 24px;
  42. background: url("../../themes/default/images/dialog-title-bg.png") repeat-x;
  43. border: 1px solid #ccc;
  44. }
  45. </style>
  46. </head>
  47. <body>
  48. <div class="warpper" id="searchtab">
  49. <div id="head" class="tabhead">
  50. <span tabsrc="find" class="focus"><var id="lang_tab_search"></var></span>
  51. <span tabsrc="replace"><var id="lang_tab_replace"></var></span>
  52. </div>
  53. <div class="tabbody">
  54. <div class="panel" id="find">
  55. <table>
  56. <tr>
  57. <td width="80"><var id="lang_search1"></var>:</td>
  58. <td><input id="findtxt" type="text" class="int"/></td>
  59. </tr>
  60. <tr>
  61. <td colspan="2"><span style="color:red"><var id="lang_searchReg"></var></span></td>
  62. </tr>
  63. <tr>
  64. <td><var id="lang_case_sensitive1"></var></td>
  65. <td>
  66. <input id="matchCase" type="checkbox"/>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td colspan="2">
  71. <input id="nextFindBtn" type="button" class="btn"/>
  72. <input id="preFindBtn" type="button" class="btn"/>
  73. </td>
  74. </tr>
  75. </table>
  76. </div>
  77. <div class="panel" id="replace">
  78. <table>
  79. <tr>
  80. <td width="80"><var id="lang_search2"></var>:</td>
  81. <td><input id="findtxt1" type="text" class="int"/></td>
  82. </tr>
  83. <tr>
  84. <td colspan="2"><span style="color:red"><var id="lang_searchReg1"></var></span></td>
  85. </tr>
  86. <tr>
  87. <td><var id="lang_replace"></var>:</td>
  88. <td><input id="replacetxt" type="text" class="int"/></td>
  89. </tr>
  90. <tr>
  91. <td><var id="lang_case_sensitive2"></var></td>
  92. <td>
  93. <input id="matchCase1" type="checkbox"/>
  94. </td>
  95. </tr>
  96. <tr>
  97. <td colspan="2">
  98. <input id="nextReplaceBtn" type="button" class="btn"/>
  99. <input id="preReplaceBtn" type="button" class="btn"/>
  100. <input id="repalceBtn" type="button" class="btn"/>
  101. <input id="repalceAllBtn" type="button" class="btn"/>
  102. </td>
  103. </tr>
  104. </table>
  105. </div>
  106. </div>
  107. </div>
  108. <script type="text/javascript" src="searchreplace.js"></script>
  109. </body>
  110. </html>