summaryrefslogtreecommitdiff
path: root/templates/account.html.tera
blob: c1dc15e7b605530a729d3eb2dd993fb538fc6ca4 (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
57
58
59
60
61
62
63
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
  <link rel="stylesheet" href="/static/bootstrap.min.css">
<title>Account Overview</title>
</head>
<body>
<div class="container">
  <h1>Your applications</h1>
  <div class="row">
	  <div class="col-sm-12">
	  <h2>Summary:</h2>
	  <table class="table table-hover">
		  <tr><th>Balacne</th><th></th></tr>
		  <tr><th>Transactions this month</th><th></th></tr>
	  </table>
	  </div>
  </div>
  {% if false %}
  <div class="row">
  <div class="col-sm-12">
  <h2>List of applications:</h2>
	<table class="table table-hover">
		<thead>
			<tr>
			<th>Company</th>
			<th>Role</th>
			<th>Level</th>
			<th>Link</th>
			<th>Status</th>
			</tr>
		</thead>
		<tbody>
		  {% for application in applications %}
		  	{% if application.status == "in progress" or 
			application.status == "send" %}
			<tr class="info clickable-row" data-href="/view/application/{{ application.uid }}">
			{% elif application.status == "rejected" %}
				<tr class="danger clickable-row" data-href="/view/application/{{ application.uid }}">
			{% elif application.status == "accepted" %}
				<tr class="success clickable-row" data-href="/view/application/{{ application.uid }}">
			{% else %}
				<tr>
			{% endif %}
				<td>{{ application.company }}</td>
				<td>{{ application.role }}</td>
				<td>{{ application.level}}</td>
				<td>{{ application.link}}</td>
				<td>{{ application.status | upper }}</td>
			</tr>
		  {% endfor %}
		</tbody>
	</table>
     </div>
  </div>
   {% endif %}
</div>

</body>
</html>