options.html 5.2 KB

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