|
@@ -3,15 +3,7 @@
|
|
|
</head>
|
|
|
|
|
|
<body>
|
|
|
- <nav class="navbar navbar-default navbar-fixed-top">
|
|
|
- <div class="container">
|
|
|
- <a class="navbar-brand" href="#">TextCircle</a><!-- nav title -->
|
|
|
- <p class="navbar-text navbar-right">
|
|
|
- {{> loginButtons align="right" }}
|
|
|
- </p>
|
|
|
- </div><!-- /nav container -->
|
|
|
- </nav><!-- /nav -->
|
|
|
-
|
|
|
+ {{> navbar }}
|
|
|
<div class="container top-margin">
|
|
|
<div class="row">
|
|
|
<div class="col-md-12">
|
|
@@ -29,6 +21,26 @@
|
|
|
</div>
|
|
|
</body>
|
|
|
|
|
|
+<template name="navbar">
|
|
|
+ <nav class="navbar navbar-default navbar-fixed-top">
|
|
|
+ <div class="container">
|
|
|
+ <a class="navbar-brand" href="#">TextCircle</a><!-- nav title -->
|
|
|
+ <ul class="nav navbar-nav">
|
|
|
+ <li>
|
|
|
+ <a href="#" class="js-add-doc">
|
|
|
+ <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
|
|
|
+ New document
|
|
|
+ </a>
|
|
|
+ </li>
|
|
|
+ </ul>
|
|
|
+
|
|
|
+ <p class="navbar-text navbar-right">
|
|
|
+ {{> loginButtons align="right" }}
|
|
|
+ </p>
|
|
|
+ </div><!-- /nav container -->
|
|
|
+ </nav><!-- /nav -->
|
|
|
+</template>
|
|
|
+
|
|
|
<template name="editor">
|
|
|
<h2>doc id: {{ docid }}</h2>
|
|
|
{{> sharejsCM docid=docid onRender=config id="editor" }}
|