Commit d2ed5f8e authored by BERJON Matthieu's avatar BERJON Matthieu

Add of temaplates

I added 2 templates. One for the root of the app (showing just hard
coded text) and another one to show the user data according to the quota
model.
Signed-off-by: BERJON Matthieu's avatarMatthieu Berjon <matthieu.berjon@inria.fr>
parent 3b8313d2
<h1>INDEX</h1>
<p>Here dynamic menu for each table</p>
\ No newline at end of file
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>A||go - Users</title>
</head>
<body>
<h1>Users</h1>
<table>
<tr>
<th>Email</th>
<th>User ID (quota) / User ID (user)</th>
<th>Quota</th>
<th>Webapp ID</th>
</tr>
{% for quota in quotas %}
<tr>
<td>{{ quota.user.email }}</td>
<td>{{ quota.user_id }} | {{ quota.user.id }}</td>
<td>{{ quota.quantity }}</td>
<td>{{ quota.webapp_id }}</td>
</tr>
{% endfor %}
</table>
</body>
</html>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment