textcircle.html 680 B

12345678910111213141516171819202122232425262728293031
  1. <head>
  2. <title>textcircle</title>
  3. </head>
  4. <body>
  5. <nav class="navbar navbar-default navbar-fixed-top">
  6. <div class="container">
  7. <a class="navbar-brand" href="#">TextCircle</a><!-- nav title -->
  8. </div><!-- /nav container -->
  9. </nav><!-- /nav -->
  10. <div class="container top-margin">
  11. <div class="row">
  12. <div class="col-md-6">
  13. {{> editor}}
  14. </div>
  15. <div class="col-md-6">
  16. {{> viewer }}
  17. </div>
  18. </div>
  19. </div>
  20. </body>
  21. <template name="editor">
  22. <h2>doc id: {{ docid }}</h2>
  23. {{> sharejsCM docid=docid onRender=config id="editor" }}
  24. </template>
  25. <template name="viewer">
  26. <iframe id="viewer_iframe"></iframe>
  27. </template>