searchreplace.html 4.3 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?20220503"></script>
  8. <style type="text/css">
  9. .warpper{ position:relative;width: 380px; height: 100%; margin: 10px auto;}
  10. .tabbody{height: 160px;}
  11. .tabbody table{width:100%;border-collapse: separate;border-spacing: 3px;line-height:36px;}
  12. .tabbody .panel{width:373px;height:100%;padding-left: 5px;position: absolute;background-color: #fff;}
  13. .tabbody input.int{ width: 190px;
  14. height: 30px;
  15. border: 1px solid #d7d7d7;
  16. line-height: 21px;
  17. border-radius: 3px;
  18. outline: none;
  19. padding: 0 5px; }
  20. .tabbody input.btn{ text-align: center;
  21. line-height: 28px;
  22. text-decoration: none;
  23. height: 30px;
  24. border: 1px solid #ccc;
  25. background: #FFF;
  26. border-radius: 3px;
  27. padding: 0 5px;
  28. font-size: 12px;
  29. cursor: pointer;}
  30. </style>
  31. </head>
  32. <body>
  33. <div class="warpper" id="searchtab">
  34. <div id="head" class="tabhead">
  35. <span tabsrc="find" class="focus"><var id="lang_tab_search"></var></span>
  36. <span tabsrc="replace" ><var id="lang_tab_replace"></var></span>
  37. </div>
  38. <div class="tabbody">
  39. <div class="panel" id="find">
  40. <table>
  41. <tr>
  42. <td width="80"><var id="lang_search1"></var>: </td>
  43. <td><input id="findtxt" type="text" class="int" /></td>
  44. </tr>
  45. <!--<tr>-->
  46. <!--<td colspan="2"><span style="color:red"><var id="lang_searchReg"></var></span></td>-->
  47. <!--</tr>-->
  48. <tr>
  49. <td><var id="lang_case_sensitive1"></var></td>
  50. <td>
  51. <input id="matchCase" type="checkbox" />
  52. </td>
  53. </tr>
  54. <tr>
  55. <td colspan="2">
  56. <input id="nextFindBtn" type="button" class="btn" />
  57. <input id="preFindBtn" type="button" class="btn" />
  58. </td>
  59. </tr>
  60. <tr>
  61. <td colspan="2">
  62. &nbsp;
  63. </td>
  64. </tr>
  65. <tr>
  66. <td colspan="2">
  67. <span id="search-msg" style="color:red"></span>
  68. </td>
  69. </tr>
  70. </table>
  71. </div>
  72. <div class="panel" id="replace">
  73. <table>
  74. <tr>
  75. <td width="80"><var id="lang_search2"></var>: </td>
  76. <td><input id="findtxt1" type="text" class="int" /></td>
  77. </tr>
  78. <!--<tr>-->
  79. <!--<td colspan="2"><span style="color:red"><var id="lang_searchReg1"></var></span></td>-->
  80. <!--</tr>-->
  81. <tr>
  82. <td><var id="lang_replace"></var>: </td>
  83. <td><input id="replacetxt" type="text" class="int" /></td>
  84. </tr>
  85. <tr>
  86. <td><var id="lang_case_sensitive2"></var></td>
  87. <td>
  88. <input id="matchCase1" type="checkbox" />
  89. </td>
  90. </tr>
  91. <tr>
  92. <td colspan="2">
  93. <input id="nextReplaceBtn" type="button" class="btn" />
  94. <input id="preReplaceBtn" type="button" class="btn" />
  95. <input id="repalceBtn" type="button" class="btn" />
  96. <input id="repalceAllBtn" type="button" class="btn" />
  97. </td>
  98. </tr>
  99. <tr>
  100. <td colspan="2">
  101. &nbsp;
  102. </td>
  103. </tr>
  104. <tr>
  105. <td colspan="2">
  106. <span id="replace-msg" style="color:red"></span>
  107. </td>
  108. </tr>
  109. </table>
  110. </div>
  111. </div>
  112. </div>
  113. <script type="text/javascript" src="searchreplace.js?20220503"></script>
  114. </body>
  115. </html>