editor.html 4.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <link rel="stylesheet" href="editor.css">
  6. <meta name="viewport" content="width=device-width,initial-scale=1">
  7. <title>&nbsp;</title>
  8. </head>
  9. <body>
  10. <div class="toolbar">
  11. <div class="buttons">
  12. <img type="button" class="add-note-yellow-button" src="/extension/ui/resources/button_note_yellow.png"
  13. draggable="false">
  14. <img type="button" class="add-note-pink-button" src="/extension/ui/resources/button_note_pink.png"
  15. draggable="false">
  16. <img type="button" class="add-note-blue-button" src="/extension/ui/resources/button_note_blue.png"
  17. draggable="false">
  18. <img type="button" class="add-note-green-button" src="/extension/ui/resources/button_note_green.png"
  19. draggable="false">
  20. <img type="button" class="toggle-notes-button" src="/extension/ui/resources/button_note_visible.png"
  21. draggable="false">
  22. <div class="separator"></div>
  23. </div>
  24. <div class="buttons">
  25. <img type="button" class="highlight-button highlight-yellow-button highlight-disabled" data-color="yellow"
  26. src="/extension/ui/resources/button_highlighter_yellow.png" draggable="false">
  27. <img type="button" class="highlight-button highlight-pink-button highlight-disabled" data-color="pink"
  28. src="/extension/ui/resources/button_highlighter_pink.png" draggable="false">
  29. <img type="button" class="highlight-button highlight-blue-button highlight-disabled" data-color="blue"
  30. src="/extension/ui/resources/button_highlighter_blue.png" draggable="false">
  31. <img type="button" class="highlight-button highlight-green-button highlight-disabled" data-color="green"
  32. src="/extension/ui/resources/button_highlighter_green.png" draggable="false">
  33. <img type="button" class="toggle-highlights-button"
  34. src="/extension/ui/resources/button_highlighter_visible.png" draggable="false">
  35. <img type="button" class="remove-highlight-button remove-highlight-disabled"
  36. src="/extension/ui/resources/button_highlighter_delete.png" draggable="false">
  37. <div class="separator"></div>
  38. </div>
  39. <div class="buttons">
  40. <img type="button" class="edit-page-button edit-disabled" src="/extension/ui/resources/button_note_edit.png"
  41. draggable="false">
  42. <img type="button" class="format-page-button format-disabled"
  43. src="/extension/ui/resources/button_note_format.png" draggable="false">
  44. <div class="separator"></div>
  45. </div>
  46. <div class="buttons">
  47. <img type="button" class="cut-inner-page-button cut-disabled"
  48. src="/extension/ui/resources/button_cut_inner.png" draggable="false">
  49. <img type="button" class="cut-outer-page-button cut-disabled"
  50. src="/extension/ui/resources/button_cut_outer.png" draggable="false">
  51. <img type="button" class="undo-cut-page-button" src="/extension/ui/resources/button_undo_cut.png"
  52. draggable="false">
  53. <img type="button" class="undo-all-cut-page-button" src="/extension/ui/resources/button_undo_all_cut.png"
  54. draggable="false">
  55. <img type="button" class="redo-cut-page-button" src="/extension/ui/resources/button_redo_cut.png"
  56. draggable="false">
  57. <div class="separator"></div>
  58. </div>
  59. <div class="buttons">
  60. <img type="button" class="print-page-button" src="/extension/ui/resources/button_print.png"
  61. draggable="false">
  62. <img type="button" class="save-page-button" src="/extension/ui/resources/button_download.png"
  63. draggable="false">
  64. </div>
  65. </div>
  66. <iframe class="editor"
  67. srcdoc="&lt;!DOCTYPE html&gt;&lt;body&gt;&lt;script src=/dist/web/editor/editor-helper-web.js&gt;&lt;/script&gt;&lt;script src=/dist/web/editor/editor-web.js&gt;&lt;/script&gt;&lt;script src=/extension/lib/readability/Readability.js&gt;&lt;/script&gt;&lt;/script&gt;&lt;script src=/extension/lib/readability/Readability-readerable.js&gt;&lt;/script&gt;&lt;/body&gt;"
  68. sandbox="allow-scripts allow-modals"></iframe>
  69. <script src="/dist/chrome-browser-polyfill.js"></script>
  70. <script src="/dist/single-file.js"></script>
  71. <script src="/dist/infobar.js"></script>
  72. <script type="module" src="/extension/ui/bg/ui-editor.js"></script>
  73. </body>
  74. </html>