textcircle.html 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. <p class="navbar-text navbar-right">
  9. {{> loginButtons align="right" }}
  10. </p>
  11. </div><!-- /nav container -->
  12. </nav><!-- /nav -->
  13. <div class="container top-margin">
  14. <div class="row">
  15. <div class="col-md-12">
  16. {{> editingUsers }}
  17. </div>
  18. </div>
  19. <div class="row">
  20. <div class="col-md-6">
  21. {{> editor}}
  22. </div>
  23. <div class="col-md-6">
  24. {{> viewer }}
  25. </div>
  26. </div>
  27. </div>
  28. </body>
  29. <template name="editor">
  30. <h2>doc id: {{ docid }}</h2>
  31. {{> sharejsCM docid=docid onRender=config id="editor" }}
  32. </template>
  33. <template name="viewer">
  34. <iframe id="viewer_iframe">
  35. </iframe>
  36. </template>
  37. <template name="editingUsers">
  38. Editors:
  39. {{#each users }}
  40. <span class="label label-success">{{firstname}}</span>
  41. {{/each}}
  42. </template>