summaryrefslogtreecommitdiff
path: root/template/roomlist.st
blob: 3a844cf78115b051528231af10e449533cf3b51a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<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({
	sortList: [[4, 1]]
	});
      });
    </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_width$x$r.max_image_height$</td>
        </tr>
        }$
      </tbody>
    </table>
  </body>
</html>