2014-07-28 15:13:55 +02:00
|
|
|
{% extends "layout/base.html" %}
|
|
|
|
{% block head%}
|
|
|
|
{% load crispy_forms_tags %}
|
|
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
2014-08-11 16:01:03 +02:00
|
|
|
<h3>Create a new Project</h3>
|
2014-07-29 14:48:09 +02:00
|
|
|
<p>{% crispy form %}</p>
|
2014-08-11 16:01:03 +02:00
|
|
|
<h3>Existing Projects</h3>
|
|
|
|
{% 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>
|
|
|
|
<th>Features</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for project in projects %}
|
|
|
|
<tr>
|
|
|
|
<td>{{project.id}}</td>
|
|
|
|
<td>{{project.name}}</td>
|
|
|
|
<td>{{project.description}}</td>
|
|
|
|
<td><a href="{% url 'frontend-project-detail' project.id %}">Enter project</a></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
{% endif %}
|
2014-07-28 15:13:55 +02:00
|
|
|
{% endblock %}
|