options.html 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <!doctype html>
  2. <html>
  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 src="lib/zip.js/zip.js"></script>
  9. <script src="load.js"></script>
  10. <title data-i18n=extName></title>
  11. </head>
  12. <body>
  13. <div class=main>
  14. <div class=sidebar>
  15. <img src=images/icon128.png>
  16. <h1 data-i18n=extName></h1>
  17. <p>2013-2014</p>
  18. <div data-i18n=anchorGetMoreScripts></div>
  19. <hr>
  20. <div class=sidemenu>
  21. <h3 id=smInstalled data-i18n=sideMenuInstalled></h3>
  22. <h3 id=smSettings data-i18n=sideMenuSettings></h3>
  23. <h3 id=smAbout data-i18n=sideMenuAbout></h3>
  24. </div>
  25. </div>
  26. <div class=content>
  27. <table id=tabInstalled class=hide>
  28. <tr>
  29. <td>
  30. <button id=bNew data-i18n=buttonNew></button>
  31. <button id=bUpdate data-i18n=anchorUpdateAll></button>
  32. </td>
  33. </tr>
  34. <tr class=expand>
  35. <td class=expandr>
  36. <div id=sList class=expanda>
  37. <span id=message data-i18n=msgLoading></span>
  38. </div>
  39. </td>
  40. </tr>
  41. </table>
  42. <div id=tabSettings class=hide>
  43. <h1 data-i18n=labelSettings></h1>
  44. <div><label><input type=checkbox id=cUpdate><span data-i18n=labelAutoUpdate></span></label></div>
  45. <table>
  46. <tr>
  47. <td><span data-i18n=labelSearchLink></span></td>
  48. <td class=expand><input type=text id=tSearch></td>
  49. <td><button id=bDefSearch data-i18n=buttonDefault></button></td>
  50. </tr>
  51. </table>
  52. <fieldset>
  53. <legend data-i18n=labelDataImport></legend>
  54. <button id=bImport data-i18n=buttonImportData></button><input type=file class=hide id=iImport>
  55. <button id=bVacuum data-i18n=buttonVacuumData></button>
  56. </fieldset>
  57. <fieldset>
  58. <legend data-i18n=labelDataExport></legend>
  59. <b data-i18n=labelScriptsToExport></b>
  60. <label><input type=checkbox id=cWithData><span data-i18n=labelExportScriptData></span></label>
  61. <div id=xList class=list></div>
  62. <button id=bSelect data-i18n=buttonAllNone></button>
  63. <a id=xHelper></a><button id=bExport data-i18n=buttonExportData></button>
  64. </fieldset>
  65. </div>
  66. <div id=tabAbout class=hide>
  67. <h1 data-i18n=labelAbout></h1>
  68. <p data-i18n=extDescription></p>
  69. <p><label data-i18n=labelSupportPage></label><span data-i18n=anchorSupportPage></span></p>
  70. <p><label data-i18n=labelAuthor></label><span data-i18n=anchorAuthor></span></p>
  71. <p><label data-i18n=labelTranslator></label><span data-i18n=anchorTranslator></span></p>
  72. </div>
  73. </div>
  74. </div>
  75. <table id=wndEditor class="frame hide">
  76. <tr>
  77. <td><h2 data-i18n=labelScriptEditor></h2></td>
  78. <td class="right bottom"><button id=bCustom><span id=sCustom></span> <span data-i18n=buttonCustomMeta></span></button></td>
  79. </tr>
  80. <tr class=expand>
  81. <td colspan=2 class=expandr>
  82. <div id=eCode class=expanda></div>
  83. <div id=eMeta class="expanda hide">
  84. <table>
  85. <tr>
  86. <td title="@name" data-i18n=labelName></td><td class=expand><input type=text id=mName></td>
  87. <td title="@run-at" data-i18n=labelRunAt></td><td>
  88. <select id=mRunAt>
  89. <option value=default data-i18n=labelRunAtDefault></option>
  90. <option value=start>document-start</option>
  91. <option value=idle>document-idle</option>
  92. <option value=end>document-end</option>
  93. </select>
  94. </td>
  95. </tr>
  96. <tr title="@homepage"><td data-i18n=labelHomepage></td><td colspan=3 class=expand><input type=text id=mHomepage></td></tr>
  97. </table>
  98. <table>
  99. <tr title="@updateURL"><td data-i18n=labelUpdateURL></td><td class=expand><input type=text id=mUpdateURL></td></tr>
  100. <tr title="@downloadURL"><td data-i18n=labelDownloadURL></td><td class=expand><input type=text id=mDownloadURL></td></tr>
  101. </table>
  102. <fieldset title="@include">
  103. <legend>
  104. <span data-i18n=labelInclude></span>
  105. <label><input type=checkbox id=cInclude><span data-i18n=labelKeepInclude></span></label>
  106. </legend>
  107. <div data-i18n=labelCustomInclude></div>
  108. <textarea id=mInclude></textarea>
  109. </fieldset>
  110. <fieldset title="@match">
  111. <legend>
  112. <span data-i18n=labelMatch></span>
  113. <label><input type=checkbox id=cMatch><span data-i18n=labelKeepMatch></span></label>
  114. </legend>
  115. <div data-i18n=labelCustomMatch></div>
  116. <textarea id=mMatch></textarea>
  117. </fieldset>
  118. <fieldset title="@exclude">
  119. <legend>
  120. <span data-i18n=labelExclude></span>
  121. <label><input type=checkbox id=cExclude><span data-i18n=labelKeepExclude></span></label>
  122. </legend>
  123. <div data-i18n=labelCustomExclude></div>
  124. <textarea id=mExclude></textarea>
  125. </fieldset>
  126. </div>
  127. </td>
  128. </tr>
  129. <tr>
  130. <td><label><input type=checkbox id=eUpdate><span data-i18n=labelAllowUpdate></span></label></td>
  131. <td class=right>
  132. <button id=eSave data-i18n=buttonSave></button>
  133. <button id=eSaveClose data-i18n=buttonSaveClose></button>
  134. <button id=eClose data-i18n=buttonClose></button>
  135. </td>
  136. </tr>
  137. </table>
  138. </body>
  139. </html>
  140. <script src="common.js"></script>
  141. <script src="editor.js"></script>
  142. <script src="options.js"></script>