summaryrefslogtreecommitdiff
path: root/views/staff/users
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-09-04 17:52:48 -0400
committerJules Laplace <jules@okfoc.us>2014-09-04 17:52:48 -0400
commit415dad29407362a76fde6d07d8b100285a84518d (patch)
treef858d4f7201dc6031d6cd54a7da25808b44a48ec /views/staff/users
parent8bf2ead240f5daeac98b3a92c81f37b77fd4ddbd (diff)
media api
Diffstat (limited to 'views/staff/users')
-rw-r--r--views/staff/users/index.ejs2
-rw-r--r--views/staff/users/show.ejs26
-rw-r--r--views/staff/users/show_404.ejs1
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>