diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-09-05 14:06:33 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-09-05 14:06:33 -0400 |
| commit | 1877aa4b508704634774e47385cf5429f67a4565 (patch) | |
| tree | e895a1415339ea2a599cf6e3b80a2902fa49d03e /views/staff/users | |
| parent | 4c3720f1ac1ce86fd54fcd4887aab6d31bcd68c2 (diff) | |
show user media
Diffstat (limited to 'views/staff/users')
| -rw-r--r-- | views/staff/users/media.ejs | 16 | ||||
| -rw-r--r-- | views/staff/users/show.ejs | 20 |
2 files changed, 31 insertions, 5 deletions
diff --git a/views/staff/users/media.ejs b/views/staff/users/media.ejs new file mode 100644 index 0000000..6ea2668 --- /dev/null +++ b/views/staff/users/media.ejs @@ -0,0 +1,16 @@ +[[ include ../_header ]] + + <h1>Users</h1> + + <nav> + <a href="/staff">home</a> + <a href="/staff/users">users</a> + <a href="/staff/projects">projects</a> + <a href="/staff/media">media</a> + </nav> + + <hr> + +[[ include ../_media ]] + +[[ include ../_footer ]] diff --git a/views/staff/users/show.ejs b/views/staff/users/show.ejs index afcd761..127ca8c 100644 --- a/views/staff/users/show.ejs +++ b/views/staff/users/show.ejs @@ -23,11 +23,14 @@ </td> <td class="editLinks"> <a href="/profile/[[- profile.username ]]">[view profile]</a> + <a href="/staff/users/[[- profile.username ]]/media">[view media]</a> </td> </tr> </table> - <br> - <table style="margin-left: 50px;"> + + <h2>Profile</h2> + + <table> <tr> <th> location @@ -57,7 +60,7 @@ media </th> <td> - [[- profile.mediaCount ]] + [[- profile.mediaCount ]] <a href="/staff/users/[[- profile.username ]]/media">[show]</a> </td> </tr> <tr> @@ -87,8 +90,15 @@ [[ } ]] </td> </tr> - </table> - <br><br> + </table> + + <h2>Projects</h2> + + [[- include ../_projects ]] + + <br> + <br> + <div class="json"> [[- profileJSON ]] </div> |
