diff options
Diffstat (limited to 'views/partials')
| -rw-r--r-- | views/partials/edit-profile.ejs | 67 | ||||
| -rw-r--r-- | views/partials/header.ejs | 1 | ||||
| -rw-r--r-- | views/partials/newproject.ejs | 18 | ||||
| -rw-r--r-- | views/partials/scripts.ejs | 3 | ||||
| -rw-r--r-- | views/partials/signin.ejs | 4 |
5 files changed, 75 insertions, 18 deletions
diff --git a/views/partials/edit-profile.ejs b/views/partials/edit-profile.ejs new file mode 100644 index 0000000..1ac69d7 --- /dev/null +++ b/views/partials/edit-profile.ejs @@ -0,0 +1,67 @@ +<div class="mediaDrawer fixed animate editProfile"> + <span class="close">X</span> + <div id="form_container"> + + <form enctype="multipart/form-data" method="post"> + + <ul> + <li class="section_break"> + <h3>Edit Profile</h3> + </li> + <li> + <label class="description" for="element_3">Name:</label> + <div> + <input id="element_3_1" name= "element_3_1" class="element text" type="text" maxlength="255" value="Ivan Sidorov"/> + </div> + </li> + <li> + <label class="description" for="element_2">Website:</label> + <div> + <input id="element_2" name="element_2" class="element text medium" type="text" maxlength="255" value="http://"/> + </div> + </li> + <li> + <label class="description" for="element_5">Twitter:</label> + <div> + <input id="element_5" name="element_5" class="element text medium" type="text" maxlength="255" value="@"/> + </div> + </li> + <li> + <label class="description" for="element_4">Facebook:</label> + <div> + <input id="element_4" name="element_4" class="element text medium" type="text" maxlength="255" value="http://"/> + </div> + </li> + <li> + <label class="description" for="element_1">Upload Avatar:</label> + <div> + <input id="element_1" name="element_1" class="element file" type="file"/> + </div> <p class="guidelines" id="guide_1"><small>please choose a picture at least 500px wide</small></p> + </li> + <li class="section_break"> + <h3>Edit Password</h3> + </li> + <li> + <label class="description" for="element_7">Old Password:</label> + <div> + <input id="element_7" name="element_7" class="element text medium" type="password" maxlength="255" value=""/> + </div> + </li> + <li> + <label class="description" for="element_8">New Password:</label> + <div> + <input id="element_8" name="element_8" class="element text medium" type="password" maxlength="255" value=""/> + </div> + </li> + <li> + <label class="description" for="element_9">Again!</label> + <div> + <input id="element_9" name="element_9" class="element text medium" type="password" maxlength="255" value=""/> + </div> + </li> + + <li class="buttons"> + <input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" /> + </li> + </ul> + </form>
\ No newline at end of file diff --git a/views/partials/header.ejs b/views/partials/header.ejs index 4ba9773..fce96cc 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -4,6 +4,7 @@ [[ if (logged_in) { ]] <span>[[- user.displayName ]]</span> <a href="/profile" class="topLink">View Profile</a> + <a href="/profile" data-role="edit-profile-modal" class="topLink editProfile">Edit Profile <span class="icon-ios7-gear-outline"></span></a> <a href="/logout" class="topLink">Sign Out</a> [[ } else { ]] <a href="#" data-role="show-signup-modal" class="signUp topLink">Sign Up</a> diff --git a/views/partials/newproject.ejs b/views/partials/newproject.ejs deleted file mode 100644 index fc34295..0000000 --- a/views/partials/newproject.ejs +++ /dev/null @@ -1,18 +0,0 @@ -<div class="mediaDrawer fixed animate newProject"> - <span class="close">X</span> - <div class="box"> - - <div class="templates"> - <h1>Choose Room Template</h1> - <span></span> - <span></span> - <span></span> - <span></span> - <span></span> - <span></span> - </div> - <form> - <input id="saveForm" class="button_text" type="submit" name="submit" value="Create Project" /> - </form> - </div> -</div>
\ No newline at end of file diff --git a/views/partials/scripts.ejs b/views/partials/scripts.ejs index 46c5d50..c8f65f6 100644 --- a/views/partials/scripts.ejs +++ b/views/partials/scripts.ejs @@ -47,5 +47,8 @@ <script type="text/javascript" src="assets/javascripts/ui/MasterView.js"></script> <script type="text/javascript" src="assets/javascripts/ui/SignInModal.js"></script> <script type="text/javascript" src="assets/javascripts/ui/SignUpModal.js"></script> +<script type="text/javascript" src="assets/javascripts/ui/CreateProjectModal.js"></script> +<script type="text/javascript" src="assets/javascripts/ui/EditProjectModal.js"></script> +<script type="text/javascript" src="assets/javascripts/ui/EditProfileModal.js"></script> <script type="text/javascript" src="assets/javascripts/app.js"></script> diff --git a/views/partials/signin.ejs b/views/partials/signin.ejs index c285811..3341aec 100644 --- a/views/partials/signin.ejs +++ b/views/partials/signin.ejs @@ -1,3 +1,5 @@ +[[ if (! logged_in) { ]] + <div class="mediaDrawer fixed animate signin"> <span class="close">X</span> <div class="box"> @@ -71,3 +73,5 @@ </form> </div> </div> + +[[ } ]] |
