aboutsummaryrefslogtreecommitdiff
path: root/snakeplan/templates/projects/project_list.html
diff options
context:
space:
mode:
authorMike Crute <mcrute@gmail.com>2010-07-09 22:46:51 -0400
committerMike Crute <mcrute@gmail.com>2010-07-09 22:46:51 -0400
commit8bfbe74dcd1a377461a944884965d60da35fa1a1 (patch)
tree702d699c91996efb0e28007471cbb346138ff5ec /snakeplan/templates/projects/project_list.html
parent94d87b109f08187f64ed54232e82cef5ae842a4e (diff)
downloadsnakeplan-8bfbe74dcd1a377461a944884965d60da35fa1a1.tar.bz2
snakeplan-8bfbe74dcd1a377461a944884965d60da35fa1a1.tar.xz
snakeplan-8bfbe74dcd1a377461a944884965d60da35fa1a1.zip
Making project templates prettier.
Diffstat (limited to 'snakeplan/templates/projects/project_list.html')
-rw-r--r--snakeplan/templates/projects/project_list.html42
1 files changed, 38 insertions, 4 deletions
diff --git a/snakeplan/templates/projects/project_list.html b/snakeplan/templates/projects/project_list.html
index 331d7c2..8572bc6 100644
--- a/snakeplan/templates/projects/project_list.html
+++ b/snakeplan/templates/projects/project_list.html
@@ -1,11 +1,45 @@
1{% extends "base.html" %} 1{% extends "base.html" %}
2 2
3{% block title %}Project List{% endblock %}
4{% block pagetitle %}Project List{% endblock %}
5
6{% block actionbar %}
7<li><a href="{% url create-project %}" class="action"><img src="{{MEDIA_URL}}/images/add.png" title="Create" alt="Create" /> Create Project</a></li>
8{% endblock %}
9
3{% block content %} 10{% block content %}
4<h1>Projects</h1> 11{% if object_list %}
12<table id="project-list">
13 <tr>
14 <th>Project Name</th>
15 <th>Tags</th>
16 <th>Iteration</th>
17 <th>Actions</th>
18 </tr>
5 19
6<ol>
7 {% for project in object_list %} 20 {% for project in object_list %}
8 <li><a href="/p/project/{{project.id}}/iterations/">{{project.name}}</a></li> 21 {% if not project.active %}
22 <tr class="project inactive">
23 {% else %}
24 <tr class="project">
25 {% endif %}
26 <td><a href="{% url project-iterations project.id %}">{{project.name}}</a></td>
27 <td>some, tags, go, here</td>
28 <td><a href="#">Some Iteration</a></td>
29 <td class="row-actions">
30 <a href="#"><img src="{{MEDIA_URL}}/images/pencil.png" title="Edit" alt="Edit" /></a>
31 <a href="#"><img src="{{MEDIA_URL}}/images/delete.png" title="Delete" alt="Delete" /></a>
32
33 {% if not project.active %}
34 <a href="#"><img src="{{MEDIA_URL}}/images/connect.png" title="Activate" alt="Activate" /></a>
35 {% else %}
36 <a href="#"><img src="{{MEDIA_URL}}/images/disconnect.png" title="Deactive" alt="Deactivate" /></a>
37 {% endif %}
38 </td>
39 </tr>
9 {% endfor %} 40 {% endfor %}
10</ol> 41</table>
42{% else %}
43<div class="user-notice info">There are no projects!</div>
44{% endif %}
11{% endblock %} 45{% endblock %}