diff options
Diffstat (limited to 'views')
| -rw-r--r-- | views/controls/editor/collaborators.ejs | 29 | ||||
| -rw-r--r-- | views/controls/editor/settings.ejs | 8 | ||||
| -rwxr-xr-x | views/editor.ejs | 1 | ||||
| -rw-r--r-- | views/mail/collaborator.html.ejs | 2 | ||||
| -rw-r--r-- | views/mail/welcome.html.ejs | 2 |
5 files changed, 27 insertions, 15 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"> diff --git a/views/editor.ejs b/views/editor.ejs index 5d1e052..9950878 100755 --- a/views/editor.ejs +++ b/views/editor.ejs @@ -17,6 +17,7 @@ [[ include controls/editor/media-editor ]] [[ include controls/editor/wallpaper ]] [[ include controls/editor/light-control ]] + [[ include controls/editor/collaborators ]] [[ include controls/editor/settings ]] </div> diff --git a/views/mail/collaborator.html.ejs b/views/mail/collaborator.html.ejs index 5621c1e..2a08a1c 100644 --- a/views/mail/collaborator.html.ejs +++ b/views/mail/collaborator.html.ejs @@ -2,7 +2,7 @@ <body> <p> - <a href="http://vvalls.com/"><img src="http://vvalls.com/img/logo.svg"></a> + <a href="http://vvalls.com/"><img src="http://vvalls.com/assets/img/logo.svg"></a> </p> <p> diff --git a/views/mail/welcome.html.ejs b/views/mail/welcome.html.ejs index 8b7194b..b2c329f 100644 --- a/views/mail/welcome.html.ejs +++ b/views/mail/welcome.html.ejs @@ -2,7 +2,7 @@ <body> <p> - <a href="http://vvalls.com/"><img src="http://vvalls.com/img/logo.svg"></a> + <a href="http://vvalls.com/"><img src="http://vvalls.com/assets/img/logo.svg"></a> </p> <p> |
