2014-07-28 15:13:55 +02:00
|
|
|
{% extends "layout/base.html" %}
|
|
|
|
{% block head%}
|
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
2014-09-15 16:32:23 +02:00
|
|
|
<h3>Create a new project</h3>
|
2014-07-29 14:48:09 +02:00
|
|
|
<p>{% crispy form %}</p>
|
2014-09-15 16:32:23 +02:00
|
|
|
<h3>Existing projects</h3>
|
2014-08-11 16:01:03 +02:00
|
|
|
{% if not projects %}
|
|
|
|
<p><strong>No projects to find here. Maybe go ahead and create one?</strong></p>
|
|
|
|
{% else %}
|
|
|
|
<table class="table table-hover table-bordered">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>ID</th>
|
|
|
|
<th>Name</th>
|
|
|
|
<th>Description</th>
|
2014-09-15 16:32:23 +02:00
|
|
|
<th>Citavi file</th>
|
2014-08-11 16:01:03 +02:00
|
|
|
<th>Features</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for project in projects %}
|
|
|
|
<tr>
|
|
|
|
<td>{{project.id}}</td>
|
|
|
|
<td>{{project.name}}</td>
|
|
|
|
<td>{{project.description}}</td>
|
2014-09-15 16:32:23 +02:00
|
|
|
<td>{{project.associated_filename}}</td>
|
|
|
|
<td><a href="{% url 'frontend-project-update' project.id %}">Update project</a></td>
|
2014-08-11 16:01:03 +02:00
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
2014-09-15 16:32:23 +02:00
|
|
|
</table>
|
2014-08-11 16:01:03 +02:00
|
|
|
{% endif %}
|
2014-07-28 15:13:55 +02:00
|
|
|
{% endblock %}
|