summaryrefslogtreecommitdiff
path: root/templates/account.html.tera
diff options
context:
space:
mode:
authorBenedict Börger <benedict@0xb8000.de>2019-03-23 15:40:35 +0100
committerBenedict Börger <benedict@0xb8000.de>2019-03-23 15:41:11 +0100
commit2e0a6909cbfb2479edd7fba78fa4d0135a79ae3f (patch)
tree83070d9e1489faaea9a94609e7ff5bccedeb66d5 /templates/account.html.tera
parent7fcdc3ecc0f077ff7ff4ec57c912beae4f974fdb (diff)
[global] refactoring code base
Diffstat (limited to 'templates/account.html.tera')
-rw-r--r--templates/account.html.tera63
1 files changed, 63 insertions, 0 deletions
diff --git a/templates/account.html.tera b/templates/account.html.tera
new file mode 100644
index 0000000..c1dc15e
--- /dev/null
+++ b/templates/account.html.tera
@@ -0,0 +1,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>