summaryrefslogtreecommitdiff
path: root/template/roomlist.st
diff options
context:
space:
mode:
authorScott Ostler <scottbot9000@gmail.com>2010-09-09 03:07:50 -0400
committerScott Ostler <scottbot9000@gmail.com>2010-09-09 03:07:50 -0400
commitf1c347386eceb02f60f41792e8b0e00601977446 (patch)
tree2a8942b1dd7606fbedd614f80a74c855472daa75 /template/roomlist.st
parent8865b1fd1c891a75f1e2c980241287b82aaaef41 (diff)
Add roomlist, per-room image limits
Diffstat (limited to 'template/roomlist.st')
-rw-r--r--template/roomlist.st53
1 files changed, 53 insertions, 0 deletions
diff --git a/template/roomlist.st b/template/roomlist.st
new file mode 100644
index 0000000..6dadf6a
--- /dev/null
+++ b/template/roomlist.st
@@ -0,0 +1,53 @@
+<html>
+ <head>
+ <title>dump.fm rooms</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; }
+ </style>
+ <script>
+ jQuery(function() { jQuery('.tablesorter').tablesorter({}); });
+ </script>
+</head>
+ <body>
+ <h1>dump.fm rooms</h1>
+ <table class="tablesorter">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>VIP?</th>
+ <th>Active?</th>
+ <th>Created On</th>
+ <th>Current Users</th>
+ <th>History Size</th>
+ <th>Max Filesize</th>
+ <th>Max Imagesize</th>
+ </tr>
+ </thead>
+ <tbody>
+ $rooms: { r |
+ <tr>
+ <td>$r.key$</td>
+ <td>$r.admin_only$</td>
+ <td>$r.active$</td>
+ <td>$r.created_on$</td>
+ <td>$r.users$</td>
+ <td>$r.history_size$</td>
+ <td>$r.max_file_size$</td>
+ <td>$r.max_image_size_x$x$r.max_image_size_y$</td>
+ </tr>
+ }$
+ </tbody>
+ </table>
+ </body>
+</html>
+
+
+