diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-09-04 17:52:48 -0400 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-09-04 17:52:48 -0400 |
| commit | 415dad29407362a76fde6d07d8b100285a84518d (patch) | |
| tree | f858d4f7201dc6031d6cd54a7da25808b44a48ec /views/staff/users | |
| parent | 8bf2ead240f5daeac98b3a92c81f37b77fd4ddbd (diff) | |
media api
Diffstat (limited to 'views/staff/users')
| -rw-r--r-- | views/staff/users/index.ejs | 2 | ||||
| -rw-r--r-- | views/staff/users/show.ejs | 26 | ||||
| -rw-r--r-- | views/staff/users/show_404.ejs | 1 |
3 files changed, 21 insertions, 8 deletions
diff --git a/views/staff/users/index.ejs b/views/staff/users/index.ejs index ad92fc3..8c56565 100644 --- a/views/staff/users/index.ejs +++ b/views/staff/users/index.ejs @@ -1,10 +1,12 @@ [[ 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> diff --git a/views/staff/users/show.ejs b/views/staff/users/show.ejs index 2315043..afcd761 100644 --- a/views/staff/users/show.ejs +++ b/views/staff/users/show.ejs @@ -5,6 +5,7 @@ <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> @@ -21,7 +22,7 @@ [[- profile.displayName ]] </td> <td class="editLinks"> - <a href="/staff/users/[[- profile.username ]]">[view profile]</a> + <a href="/profile/[[- profile.username ]]">[view profile]</a> </td> </tr> </table> @@ -45,6 +46,22 @@ </tr> <tr> <th> + projects + </th> + <td> + [[- profile.projectCount ]] + </td> + </tr> + <tr> + <th> + media + </th> + <td> + [[- profile.mediaCount ]] + </td> + </tr> + <tr> + <th> ip addresses </th> <td> @@ -77,10 +94,3 @@ </div> [[ include ../_footer ]] -<style> -#actions button { - float: none; - width: auto; -} -} -</style>
\ No newline at end of file diff --git a/views/staff/users/show_404.ejs b/views/staff/users/show_404.ejs index 3fd20a8..bcd0271 100644 --- a/views/staff/users/show_404.ejs +++ b/views/staff/users/show_404.ejs @@ -5,6 +5,7 @@ <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> |
