options.html 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <!doctype html>
  2. <html class=fill>
  3. <head>
  4. <meta http-equiv="content-type" content="text/html;charset=utf-8">
  5. <link rel="stylesheet" type="text/css" href="style.css" />
  6. <link rel="stylesheet" type="text/css" href="lib/codemirror/codemirror.css" />
  7. <link rel="shortcut icon" type="image/png" href="icons/icon_16.png" />
  8. <script type="text/javascript" src="lib/codemirror/codemirror.js"></script>
  9. <script type="text/javascript" src="lib/codemirror/javascript.js"></script>
  10. <script type="text/javascript" src="lib/codemirror/continuecomment.js"></script>
  11. <script type="text/javascript" src="lib/codemirror/matchbrackets.js"></script>
  12. <script type="text/javascript" src="lib/codemirror/match-highlighter.js"></script>
  13. <script type="text/javascript" src="lib/codemirror/search.js"></script>
  14. <script type="text/javascript" src="lib/codemirror/searchcursor.js"></script>
  15. <script type="text/javascript" src="lib/zip.js/zip.js"></script>
  16. <title class=i18n>extName</title>
  17. </head>
  18. <body class=fill>
  19. <table id=main class=frame>
  20. <tr><td><h1 class=center><span class=i18n>labelOptions</span> - <span class=i18n>extName</span></h1></td></tr>
  21. <tr>
  22. <td>
  23. <div class=left>
  24. <button id=bNew class=i18n>buttonNew</button>
  25. <span class=i18n>anchorGetMoreScripts</span>
  26. </div>
  27. <div class=right>
  28. <a id=bUpdate class=i18n href=#>anchorUpdateAll</a>
  29. <button id=bAdvanced class=i18n>buttonAdvanced</button>
  30. </div>
  31. <div class=x></div>
  32. </td>
  33. </tr>
  34. <tr class=expand>
  35. <td class=expandr>
  36. <div class=expanda>
  37. <fieldset>
  38. <legend>
  39. <span class=i18n>labelInstalledScripts</span>
  40. <label><input type=checkbox id=cDetail><span class=i18n>labelShowDetails</span></label>
  41. </legend>
  42. <div id=sList></div>
  43. </fieldset>
  44. </div>
  45. </td>
  46. </tr>
  47. <tr><td class=center><span class=i18n>anchorSupportPage</span> - <span class=i18n>anchorAuthor</span> - 2013</td></tr>
  48. </table>
  49. <div id=overlay class=hide></div>
  50. <table id=editor class="frame hide">
  51. <tr>
  52. <td><h2 class=i18n>labelScriptEditor</h2></td>
  53. <td class=buttons><button id=bcustom class=i18n>buttonCustomMeta</button></td>
  54. </tr>
  55. <tr class=expand><td colspan=2 class=expandr><textarea id=eCode class=expanda></textarea></td></tr>
  56. <tr>
  57. <td colspan=2>
  58. <label class=left><input type=checkbox id=eUpdate><span class=i18n>labelAllowUpdate</span></label>
  59. <div class=right>
  60. <button id=eSave class=i18n>buttonSave</button>
  61. <button id=eSaveClose class=i18n>buttonSaveClose</button>
  62. <button id=eClose class=i18n>buttonClose</button>
  63. </div>
  64. </td>
  65. </tr>
  66. </table>
  67. <div id=meta class="float hide">
  68. <table>
  69. <tr>
  70. <td title="@name" class=i18n>labelName</td><td class=expand><input type=text id=mName></td>
  71. <td title="@run-at" class=i18n>labelRunAt</td><td>
  72. <select id=mRunAt>
  73. <option class=i18n value=default>labelRunAtDefault</option>
  74. <option value=start>document-start</option>
  75. <option value=body>document-body</option>
  76. <option value=end>document-end</option>
  77. </select>
  78. </td>
  79. </tr>
  80. <tr title="@homepage"><td class=i18n>labelHomepage</td><td colspan=3 class=expand><input type=text id=mHomepage></td></tr>
  81. </table>
  82. <table>
  83. <tr title="@updateURL"><td class=i18n>labelUpdateURL</td><td class=expand><input type=text id=mUpdateURL></td></tr>
  84. <tr title="@downloadURL"><td class=i18n>labelDownloadURL</td><td class=expand><input type=text id=mDownloadURL></td></tr>
  85. </table>
  86. <fieldset title="@include">
  87. <legend class=i18n>labelInclude</legend>
  88. <label><input type=checkbox id=cInclude><span class=i18n>labelKeepInclude</span></label>
  89. <span class=i18n>labelCustomInclude</span>
  90. <textarea id=mInclude></textarea>
  91. </fieldset>
  92. <fieldset title="@match">
  93. <legend class=i18n>labelMatch</legend>
  94. <label><input type=checkbox id=cMatch><span class=i18n>labelKeepMatch</span></label>
  95. <span class=i18n>labelCustomMatch</span>
  96. <textarea id=mMatch></textarea>
  97. </fieldset>
  98. <fieldset title="@exclude">
  99. <legend class=i18n>labelExclude</legend>
  100. <label><input type=checkbox id=cExclude><span class=i18n>labelKeepExclude</span></label>
  101. <span class=i18n>labelCustomExclude</span>
  102. <textarea id=mExclude></textarea>
  103. </fieldset>
  104. <div class=right><button id=mOK class=i18n>buttonOK</button> <button id=mCancel class=i18n>buttonCancel</button></div>
  105. </div>
  106. <div id=export class="float hide">
  107. <h2 class=i18n>labelExport</h2>
  108. <span class=i18n>labelInstalledScripts</span>
  109. <div id=xOptions class=right>
  110. <a class=i18n>anchorExportOptions</a>
  111. <div>
  112. <label><input type=checkbox id=cWithData><span class=i18n>labelExportScriptData</span></label>
  113. </div>
  114. </div>
  115. <div id=xList class=list></div>
  116. <div class=left><button id=bSelect class=i18n>buttonAllNone</button></div>
  117. <div class=right>
  118. <button id=bExport></button>
  119. <button id=bClose class=i18n>buttonClose</button>
  120. </div>
  121. </div>
  122. <div id=advanced class="float hide">
  123. <h2 class=i18n>labelAdvanced</h2>
  124. <label><input type=checkbox id=cUpdate><span class=i18n>labelAutoUpdate</span></label>
  125. <div>
  126. <span class=i18n>labelSearchLink</span><span class=i18n>labelSearchHint</span> <button id=bDefSearch class=i18n>buttonDefault</button><br>
  127. <textarea id=tSearch></textarea><br>
  128. </div>
  129. <fieldset>
  130. <legend class=i18n>labelData</legend>
  131. <button id=aExport class=i18n>buttonExportData</button>
  132. <button id=aImport class=i18n>buttonImportData</button>
  133. <button id=aVacuum class=i18n>buttonVacuumData</button><span class=i18n>labelVacuumHint</span>
  134. </fieldset>
  135. <div class=right><button id=aClose class=i18n>buttonClose</button></div>
  136. </div>
  137. </body>
  138. </html>
  139. <script src="common.js"></script>
  140. <script src="options.js"></script>