diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2012-07-17 21:42:09 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2012-07-17 21:42:09 -0400 |
| commit | d891a7ae1b205716c086363fba17a3249a665deb (patch) | |
| tree | a8c4f5cbf404e7f40737160d7e5762c59b71fcb8 /template/users.st | |
| parent | da15cfb1e452a0af4902272ba351d5a6d0d0b56a (diff) | |
updates to templates
Diffstat (limited to 'template/users.st')
| -rw-r--r-- | template/users.st | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/template/users.st b/template/users.st new file mode 100644 index 0000000..9a72f01 --- /dev/null +++ b/template/users.st @@ -0,0 +1,71 @@ +<html> + <head> + <title>dump.fm new users</title> + <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> + <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js" + type="text/javascript"></script> + <script src="/static/js/jquery.tablesorter.min.js" + type="text/javascript"></script> + <link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/ui-lightness/jquery-ui.css"> + + <script src="/static/js/admin.js" type="text/javascript"></script> + <link rel="stylesheet" type="text/css" href="/static/tsort/style.css"> + <style> + body { font-family: Monaco, "Courier New", Courier, monospace; } + input[type=button] { + font-size: 100%; + } + .reason { + width: 25%; + } + + .cancel-reason { + width: 15%; + } + </style> + + <script> + jQuery(document).ready(function() { + jQuery('#new-users').tablesorter({}); + }); + </script> + </head> + <body> + <h1><a href="http://dump.fm">dump.fm new users</a></h1> + <div id="main"> + + <table id="new-users" class="tablesorter"> + <thead> + <tr> + <th>Nick</th> + <th>Email</th> + <th>Created on</th> + <th>Created IP</th> + <th>Last IP</th> + <th></th> + </tr> + </thead> + <tbody> + $users: { u | + <tr user-id="$u.user_id$"> + <td><a href="/$u.nick$/">$u.nick$</a></td> + <td>$u.email$</td> + <td>$u.created_on$</td> + <td><a href="http://www.geobytes.com/IpLocator.htm?GetLocation&IpAddress=$u.created_ip$">$u.created_ip$</a></td> + <td><a href="http://www.geobytes.com/IpLocator.htm?GetLocation&IpAddress=$u.last_ip$">$u.last_ip$</a></td> + <td align="center"> + <input type="button" value="Mute" + onclick="javascript:Admin.mute('$u.nick$')"> + </td> + </tr> + }$ + </tbody> + </table> + + <br /> + </div> + </body> +</html> + + + |
