options.html 5.2 KB

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