summaryrefslogtreecommitdiff
path: root/views/controls
diff options
context:
space:
mode:
Diffstat (limited to 'views/controls')
-rw-r--r--views/controls/editor/collaborators.ejs29
-rw-r--r--views/controls/editor/settings.ejs8
2 files changed, 24 insertions, 13 deletions
diff --git a/views/controls/editor/collaborators.ejs b/views/controls/editor/collaborators.ejs
index 035507b..1386a5c 100644
--- a/views/controls/editor/collaborators.ejs
+++ b/views/controls/editor/collaborators.ejs
@@ -1,27 +1,32 @@
<div class="collaborators fixed mediaDrawer animate">
<span class="close">X</span>
-
+
<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>
+ <h2>Collaborators</h2>
+
+ <p>
+ 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.
+ </p>
- <form>
- <input type="text" id="collaborator-email">
- <button id="collaborator-invite">Invite to this project</button>
- </form>
-
- <ul id="collaborator-list">
- </ul>
+ <form>
+ <input type="text" id="collaborator-email" name="email">
+ <input type="submit" id="collaborator-invite" value="Invite to this project">
+ </form>
+
+ <ul id="collaborator-list">
+ </ul>
+
+ </div>
</div>
<script type="text/html" id="collaborator-template">
<li>
<a class="user">
- <div class="avatar"></div>
- <span class="username"></span>
+ <div class="avatar"></div><span class="username"></span>
</a>
<span class="email"></span>
<button data-role="destroy-collaborator" class="remove-user">Remove</button>
+ <span class="role">owner</span>
</li>
</script>
diff --git a/views/controls/editor/settings.ejs b/views/controls/editor/settings.ejs
index 6f46be3..e4ec7ee 100644
--- a/views/controls/editor/settings.ejs
+++ b/views/controls/editor/settings.ejs
@@ -3,11 +3,17 @@
<input type="hidden" name="_id" value="new">
<div class="setting">
- <a href="#" id="startpoint">
+ <a href="#" class="modalLink" id="startpoint">
<span class="icon-ios7-navigate-outline"></span>
<span id="startText">Select Startpoint</span>
<span id="moveText">Move to Desired Point</span></a>
</div>
+ <div class="setting">
+ <a href="#" class="modalLink" data-role='show-collaborators'>
+ <span class="icon-ios7-plus-outline"></span>
+ Add Collaborators
+ </a>
+ </div>
<div class="setting">
<input type="text" name="name" placeholder="room name">