Files @ 509ed963b5e1
Branch filter:

Location: conntrackt/conntrackt/templates/conntrackt/index.html

branko
CONNT-2: Implemented project editing, and removal. Added tests for project add/edit/remove views. Added rendering of messages in the base template. Renamed the project_add view to project_create in order to follow the view naming schema. Cleaned-up some PEP8 errors (unrelated to issue).
{% extends "conntrackt/base.html" %}

{# For html_link #}
{% load conntrackt_tags %}

{% block content %}
<div class="row">
  <h1 class="span12">Welcome to Conntrackt</h1>
</div>
<div class="row">
    <div class="span12">Below you may find the list of projects that are available to you. Clicking on the project will take you to the summary page for that particular project. Clicking on an entity inside of a project will take you to the summary page of an entity.</div>
</div>
<hr>
<div class="row">
  <div class="span12">
    {% html_link "Add project" "project_create" class="btn btn-primary" %}
  </div>
</div>
<hr>
<div class="row">
{% if projects %}
  {% for project in projects %}
  <div class="span4">
    <div class="well">{% include "conntrackt/project_widget.html" %}</div>
  </div>
  {% endfor %}
{% else %}
  <div class="span12">Currently there are no projects defined in the database. Use the administration pages in order to add a new project.</div>
{% endif %}
</div>

{% endblock %}