user-rules.html 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <!-- ***************************************************************************
  6. ηMatrix - a browser extension to black/white list requests.
  7. Copyright (C) 2019-2020 Alessio Vanni
  8. Modified 2022 by Jesus E.
  9. This program is free software: you can redistribute it and/or modify
  10. it under the terms of the GNU General Public License as published by
  11. the Free Software Foundation, either version 3 of the License, or
  12. (at your option) any later version.
  13. This program is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. GNU General Public License for more details.
  17. You should have received a copy of the GNU General Public License
  18. along with this program. If not, see {http://www.gnu.org/licenses/}.
  19. Home: https://c.hgit.ga/software/ematrix.git
  20. uMatrix Home: https://github.com/gorhill/uMatrix
  21. -->
  22. <title>ηMatrix — Your rules</title>
  23. <link rel="stylesheet" type="text/css" href="css/common.css">
  24. <link rel="stylesheet" type="text/css" href="css/dashboard-common.css">
  25. <link rel="stylesheet" type="text/css" href="css/cloud-ui.css">
  26. <link rel="stylesheet" type="text/css" href="css/user-rules.css">
  27. </head>
  28. <body>
  29. <div id="cloudWidget" class="hide" data-cloud-entry="myRulesPane"></div>
  30. <!-- <p data-i18n="userRulesFormatHint"></p> -->
  31. <div id="diff">
  32. <div class="pane left">
  33. <div>
  34. <h2 data-i18n="userRulesPermanentHeader"></h2>
  35. <button type="button" id="exportButton" data-i18n="userRulesExport"></button>
  36. <button type="button" id="revertButton" data-i18n="userRulesRevert"></button>
  37. </div>
  38. <ul></ul>
  39. </div>
  40. <div class="pane right">
  41. <div>
  42. <h2 data-i18n="userRulesTemporaryHeader"></h2>
  43. <button type="button" id="commitButton" data-i18n="userRulesCommit"></button>
  44. <button type="button" id="editEnterButton" data-i18n="userRulesEdit"></button>
  45. <button type="button" id="editStopButton" data-i18n="userRulesEditSave"></button>
  46. <button type="button" id="editCancelButton" data-i18n="userRulesEditDicard"></button>
  47. <button type="button" id="importButton" data-i18n="userRulesImport"></button>
  48. </div>
  49. <textarea spellcheck="false"></textarea>
  50. <ul></ul>
  51. </div>
  52. </div>
  53. <input class="hidden" id="importFilePicker" type="file" accept="text/plain">
  54. <span class="hidden" data-i18n="userRulesDefaultFileName"></span>
  55. <script src="js/vapi-common.js"></script>
  56. <script src="js/vapi-client.js"></script>
  57. <script src="js/udom.js"></script>
  58. <script src="js/i18n.js"></script>
  59. <script src="js/dashboard-common.js"></script>
  60. <script src="js/cloud-ui.js"></script>
  61. <script src="js/user-rules.js"></script>
  62. </body>
  63. </html>