diff options
Diffstat (limited to 'views/profile.ejs')
| -rw-r--r-- | views/profile.ejs | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/views/profile.ejs b/views/profile.ejs index ada3d52..9cfb40d 100644 --- a/views/profile.ejs +++ b/views/profile.ejs @@ -8,17 +8,17 @@ <div class="rapper page"> [[- include partials/header ]] - <table class="profilepage"> - <tr> + <div class="profilepage"> [[ if (profile.photo && profile.photo.length) { ]] - <td class="border profilePic" style="background-image:url([[- profile.photo ]])"> - </td> + <div class="profilePic" style="background-image:url([[- profile.photo ]])"> + </div> [[ } else { ]] - <td class="border profilePic"> + <div class="profilePic"> <span class="icon-ios7-person-outline"></span> - </td> + </div> [[ } ]] - <td class="bio"> + <div class="bio"> + <div class="holder"> <h2>[[- profile.displayName ]]</h2> [[ if (profile.location) { ]] <span> @@ -35,9 +35,9 @@ <a href="https://twitter.com/[[- profile.twitterName ]]">@[[- profile.twitterName ]]</a> </span> [[ } ]] - </td> - </tr> - </table> + </div> + </div> + </div> [[ if (projects.length) { ]] <h1>[[- profile.username ]] has [[- projects.length ]] project[[- projects.length != 1 ? "s" : "" ]]</h1> @@ -45,7 +45,7 @@ [[ include projects/list-projects ]] - <a href="#" data-role="new-project-modal" class="viewMore btn">create project</a> + <a href="#" class="viewMore btn">view more</a> [[ include partials/edit-profile ]] [[ include projects/layouts-modal ]] |
