searchreplace.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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")
  43. repeat-x;
  44. border: 1px solid #ccc;
  45. }
  46. </style>
  47. </head>
  48. <body>
  49. <div class="warpper" id="searchtab">
  50. <div id="head" class="tabhead">
  51. <span tabsrc="find" class="focus"><var id="lang_tab_search"></var></span>
  52. <span tabsrc="replace"><var id="lang_tab_replace"></var></span>
  53. </div>
  54. <div class="tabbody">
  55. <div class="panel" id="find">
  56. <table>
  57. <tr>
  58. <td width="80"><var id="lang_search1"></var>:</td>
  59. <td><input id="findtxt" type="text" class="int" /></td>
  60. </tr>
  61. <!--<tr>-->
  62. <!--<td colspan="2"><span style="color:red"><var id="lang_searchReg"></var></span></td>-->
  63. <!--</tr>-->
  64. <tr>
  65. <td><var id="lang_case_sensitive1"></var></td>
  66. <td><input id="matchCase" type="checkbox" /></td>
  67. </tr>
  68. <tr>
  69. <td colspan="2"><input id="nextFindBtn" type="button"
  70. class="btn" /> <input id="preFindBtn" type="button" class="btn" />
  71. </td>
  72. </tr>
  73. <tr>
  74. <td colspan="2">&nbsp;</td>
  75. </tr>
  76. <tr>
  77. <td colspan="2"><span id="search-msg" style="color: red"></span>
  78. </td>
  79. </tr>
  80. </table>
  81. </div>
  82. <div class="panel" id="replace">
  83. <table>
  84. <tr>
  85. <td width="80"><var id="lang_search2"></var>:</td>
  86. <td><input id="findtxt1" type="text" class="int" /></td>
  87. </tr>
  88. <!--<tr>-->
  89. <!--<td colspan="2"><span style="color:red"><var id="lang_searchReg1"></var></span></td>-->
  90. <!--</tr>-->
  91. <tr>
  92. <td><var id="lang_replace"></var>:</td>
  93. <td><input id="replacetxt" type="text" class="int" /></td>
  94. </tr>
  95. <tr>
  96. <td><var id="lang_case_sensitive2"></var></td>
  97. <td><input id="matchCase1" type="checkbox" /></td>
  98. </tr>
  99. <tr>
  100. <td colspan="2"><input id="nextReplaceBtn" type="button"
  101. class="btn" /> <input id="preReplaceBtn" type="button"
  102. class="btn" /> <input id="repalceBtn" type="button" class="btn" />
  103. <input id="repalceAllBtn" type="button" class="btn" /></td>
  104. </tr>
  105. <tr>
  106. <td colspan="2">&nbsp;</td>
  107. </tr>
  108. <tr>
  109. <td colspan="2"><span id="replace-msg" style="color: red"></span>
  110. </td>
  111. </tr>
  112. </table>
  113. </div>
  114. </div>
  115. </div>
  116. <script type="text/javascript" src="searchreplace.js"></script>
  117. </body>
  118. </html>