summaryrefslogtreecommitdiff
path: root/views/profile.ejs
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-10-07 19:22:42 -0400
committerJules Laplace <jules@okfoc.us>2014-10-07 19:22:42 -0400
commitd6d78ddf16e9cb6555e92089dfa77ba5648f686b (patch)
treed9e62fa1bdf07cf60fdccfec4cf599e42be9a001 /views/profile.ejs
parent009205d55b7f04d2a08064a844e5e2b731fff7d8 (diff)
parentc2e2334328256fa0409341692284f25f3167ab30 (diff)
merge
Diffstat (limited to 'views/profile.ejs')
-rw-r--r--views/profile.ejs18
1 files changed, 13 insertions, 5 deletions
diff --git a/views/profile.ejs b/views/profile.ejs
index 9cfb40d..d977844 100644
--- a/views/profile.ejs
+++ b/views/profile.ejs
@@ -13,8 +13,12 @@
<div class="profilePic" style="background-image:url([[- profile.photo ]])">
</div>
[[ } else { ]]
- <div class="profilePic">
- <span class="icon-ios7-person-outline"></span>
+ <div class="profilePic noPic">
+ <span class="holder">
+ <span class="ion-ios7-person-outline"></span>
+ <div>click to add profile pic</div>
+ <input id="profile_avatar" name="avatar" class="element file" type="file">
+ </span>
</div>
[[ } ]]
<div class="bio">
@@ -41,11 +45,15 @@
[[ if (projects.length) { ]]
<h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1>
- [[ } ]]
- [[ include projects/list-projects ]]
+ [[ include projects/list-projects ]]
- <a href="#" class="viewMore btn">view more</a>
+ <a href="#" class="viewMore btn">view more</a>
+ [[ } else { ]]
+ <h1>Welcome to VVALLS</h1>
+ <br><br>
+ You don't have any projects yet. To get started click "New Project" up at the top of the screen.
+ [[ } ]]
[[ include partials/edit-profile ]]
[[ include projects/layouts-modal ]]