diff options
| author | ryderr <r@okfoc.us> | 2014-09-30 11:47:11 -0400 |
|---|---|---|
| committer | ryderr <r@okfoc.us> | 2014-09-30 11:47:11 -0400 |
| commit | 166834f03505ec7e766cb5d6d7151310fbf54d49 (patch) | |
| tree | 037dcb00ff7497caa87a92b8731ac6de551cb243 /views | |
| parent | ce0b9366494940fea3da4f9429dd245e856d320e (diff) | |
profile stuff
Diffstat (limited to 'views')
| -rw-r--r-- | views/profile.ejs | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/views/profile.ejs b/views/profile.ejs index ada3d52..34b0bee 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> |
