summaryrefslogtreecommitdiff
path: root/views/controls/editor/collaborators.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls/editor/collaborators.ejs')
-rw-r--r--views/controls/editor/collaborators.ejs24
1 files changed, 15 insertions, 9 deletions
diff --git a/views/controls/editor/collaborators.ejs b/views/controls/editor/collaborators.ejs
index 448b6d4..035507b 100644
--- a/views/controls/editor/collaborators.ejs
+++ b/views/controls/editor/collaborators.ejs
@@ -1,14 +1,6 @@
-<div class="collaborators fixed animate">
+<div class="collaborators fixed mediaDrawer animate">
<span class="close">X</span>
- <ul id="collaborator-list">
- <li>
- <div class="avatar"></div>
- <span class="username"></span>
- <button class="remove-user">Remove</button>
- </li>
- </ul>
-
<div>
To invite others to contribute to this project, submit their email address below. They'll receive an email with instructions to join this blog and register if they're not a Vvalls user yet.
</div>
@@ -18,4 +10,18 @@
<button id="collaborator-invite">Invite to this project</button>
</form>
+ <ul id="collaborator-list">
+ </ul>
+
</div>
+
+<script type="text/html" id="collaborator-template">
+ <li>
+ <a class="user">
+ <div class="avatar"></div>
+ <span class="username"></span>
+ </a>
+ <span class="email"></span>
+ <button data-role="destroy-collaborator" class="remove-user">Remove</button>
+ </li>
+</script>