not really known
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

69 lines
3.5 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Write Activity</title>
  6. <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, viewport-fit=cover"/>
  7. <link rel="stylesheet" media="not screen and (device-width: 1200px) and (device-height: 900px)"
  8. href="lib/sugar-web/graphics/css/sugar-96dpi.css">
  9. <link rel="stylesheet" media="screen and (device-width: 1200px) and (device-height: 900px)"
  10. href="lib/sugar-web/graphics/css/sugar-200dpi.css">
  11. <link rel="stylesheet" href="css/activity.css">
  12. <link rel="stylesheet" href="css/quill/quill.core.css">
  13. <link rel="stylesheet" href="css/libnotify.css">
  14. <!-- Add locale.ini file -->
  15. <link rel="prefetch" type="application/l10n" href="locale.ini">
  16. <script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>
  17. <script src="lib/quill/quill-cursors.js"></script>
  18. <script src="lib/quill/quill.min.js"></script>
  19. <script src="lib/quill/modules/image-resize.min.js"></script>
  20. <script src="lib/quill/editor.js"></script>
  21. <script src="lib/export-to-PDF/jspdf.min.js"></script>
  22. <script src="lib/export-to-PDF/html2canvas.js"></script>
  23. <script>if (window.module) module = window.module;</script>
  24. <script src="js/odt.js"></script>
  25. <script src="js/initialimage.js"></script>
  26. <script data-main="js/loader" src="lib/require.js"></script>
  27. </head>
  28. <body>
  29. <div id="main-toolbar" class="toolbar">
  30. <button class="toolbutton" id="activity-button" title="My Activity"></button>
  31. <button class="toolbutton" id="network-button" title="Network"></button>
  32. <button class="toolbutton" id="color-button-1" title="Foreground Color"></button>
  33. <button class="toolbutton" id="color-button-2" title="Background Color"></button>
  34. <button class="toolbutton" id="format-text" title="format text"></button>
  35. <button class="toolbutton" id="paragraph" title="paragraph"></button>
  36. <button class="toolbutton" id="list" title="list"></button>
  37. <button class="toolbutton" id="resize-inc" title="Increase font size"></button>
  38. <button class="toolbutton" class="toolbutton" id="font-button" title="font" data-value="monospace"></button>
  39. <button class="toolbutton" id="resize-dec" title="Decrease font size"></button>
  40. <button class="toolbutton" id="insert-picture" title="Image"></button>
  41. <button class="toolbutton" id="edit-undo" title="Undo"></button>
  42. <button class="toolbutton" id="edit-redo" title="Redo"></button>
  43. <button class="toolbutton" id="edit-copy" title="Copy"></button>
  44. <button class="toolbutton" id="edit-paste" title="Paste"></button>
  45. <button class="toolbutton" id="export" title="Export"></button>
  46. <!-- Create Fake buttons with required quiljs classes-->
  47. <button style="display: none" id="bold" class="ql-bold"></button>
  48. <button style="display: none" id="underline" class="ql-underline"></button>
  49. <button style="display: none" id="strike" class="ql-strike"></button>
  50. <button style="display: none" id="italic" class="ql-italic"></button>
  51. <button style="display: none" id="list-ordered" class="ql-list" value="ordered"></button>
  52. <button style="display: none" id="list-unordered" class="ql-list" value="bullet"></button>
  53. <!-- Buttons with class="pull-right" will be right aligned -->
  54. <button class="toolbutton pull-right" id="stop-button" title="Stop"></button>
  55. </div>
  56. <!-- The content of your activity goes inside the canvas -->
  57. <div style="background-color: white" id="canvas">
  58. <div id="editor"></div>
  59. </div>
  60. </body>
  61. </html>