diff options
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> |
