~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/users.html

  • Committer: mattgiuca
  • Date: 2008-01-25 06:20:32 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:313
test/test_framework: Updated examples, a bit of better descriptions, sample
    partial solutions, etc.

Added all sample subject material.
This has been copied from test/test_framework and modified slightly.
There is now a subject "sample" with 2 worksheets. The 1st worksheet has 3
exercises. These work in IVLE by default.

setup.py: Added code to install subjects into the designated directory. This
means that installing IVLE will result in the sample subjects being
immediately available.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml"
2
 
      xmlns:py="http://genshi.edgewall.org/">
3
 
  <head>
4
 
    <title>Users</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>User list</h1>
8
 
    <div id="ivle_padding">
9
 
      <table class="pretty_table">
10
 
        <thead><tr><th>Login</th><th>Name</th><th>Admin</th></tr></thead>
11
 
        <tbody>
12
 
          <tr py:for="user in users">
13
 
            <td><a href="${req.publisher.generate(user)}">${user.login}</a></td>
14
 
            <td>${user.display_name}</td>
15
 
            <td><py:if test="user.admin">yes</py:if></td>
16
 
          </tr>
17
 
        </tbody>
18
 
      </table>
19
 
    </div>
20
 
  </body>
21
 
</html>