Merge branch 'create_modules' into add_vehicles

Conflicts:
	app/main.py
This commit is contained in:
2016-04-23 23:22:44 +02:00
41 changed files with 251 additions and 335 deletions

View File

@@ -0,0 +1,18 @@
{% extends "layout.html" %}
{% block body %}
<h1>Account management for {{current_user.email}}</h1>
<a href='{{ url_for('security.change_password') }}'>Change password</a>
<a href="{{ url_for('create_vehicle') }}">create</a>
<table>
{% for vehicle in current_user.vehicles %}
<tr>
<td>{{vehicle.name}}</td>
<td><a href="{{ url_for('edit_vehicle', vid=vehicle.id) }}">edit</a></td>
<td><a href="{{ url_for('delete_vehicle', vid=vehicle.id) }}">delete</a></td>
</tr>
{% endfor %}
</table>
{% endblock %}