diff options
author | Mike Crute <mcrute@gmail.com> | 2010-02-20 23:47:14 -0500 |
---|---|---|
committer | Mike Crute <mcrute@gmail.com> | 2010-02-20 23:47:14 -0500 |
commit | 3fdf9ae787dcc7bb46dbaac5250b22f641e41648 (patch) | |
tree | b438c0f5ca30117cee3c9f8d6c8626ab6867d1dc /snakeplan/templates | |
parent | 38736d1ff45b6a06c0515b683cdc47e0687abf2e (diff) | |
download | snakeplan-3fdf9ae787dcc7bb46dbaac5250b22f641e41648.tar.bz2 snakeplan-3fdf9ae787dcc7bb46dbaac5250b22f641e41648.tar.xz snakeplan-3fdf9ae787dcc7bb46dbaac5250b22f641e41648.zip |
Relocating templates
Diffstat (limited to 'snakeplan/templates')
-rw-r--r-- | snakeplan/templates/base.html | 11 | ||||
-rw-r--r-- | snakeplan/templates/projects/iteration_list.html | 24 | ||||
-rw-r--r-- | snakeplan/templates/projects/project_list.html | 7 | ||||
-rw-r--r-- | snakeplan/templates/projects/story_detail.html | 5 | ||||
-rw-r--r-- | snakeplan/templates/projects/story_list.html | 8 |
5 files changed, 55 insertions, 0 deletions
diff --git a/snakeplan/templates/base.html b/snakeplan/templates/base.html new file mode 100644 index 0000000..2858e4c --- /dev/null +++ b/snakeplan/templates/base.html | |||
@@ -0,0 +1,11 @@ | |||
1 | <html> | ||
2 | <head> | ||
3 | <title>{% block title %}SnakePlan{% endblock %}</title> | ||
4 | <link rel="stylesheet" href="static/css/blueprint/screen.css" type="text/css" media="screen, projection"> | ||
5 | <link rel="stylesheet" href="static/css/blueprint/print.css" type="text/css" media="print"> | ||
6 | <!--[if lt IE 8]><link rel="stylesheet" href="static/css/blueprint/ie.css" type="text/css" media="screen, projection"><![endif]--> | ||
7 | </head> | ||
8 | <body> | ||
9 | {% block content %}{% endblock %} | ||
10 | </body> | ||
11 | </html> | ||
diff --git a/snakeplan/templates/projects/iteration_list.html b/snakeplan/templates/projects/iteration_list.html new file mode 100644 index 0000000..cb39fc7 --- /dev/null +++ b/snakeplan/templates/projects/iteration_list.html | |||
@@ -0,0 +1,24 @@ | |||
1 | {% extends "base.html" %} | ||
2 | |||
3 | {% block content %} | ||
4 | <h1>Project: {{project_name}}</h1> | ||
5 | |||
6 | <h2>Iterations</h2> | ||
7 | |||
8 | <table> | ||
9 | <tr> | ||
10 | <th>Iteration</th> | ||
11 | <th>Description</th> | ||
12 | <th>Start Date</th> | ||
13 | <th>End Date</th> | ||
14 | </tr> | ||
15 | {% for iteration in object_list %} | ||
16 | <tr> | ||
17 | <td><a href="/iteration/{{iteration.id}}">{{iteration.name}}</a></td> | ||
18 | <td>{{iteration.description}}</td> | ||
19 | <td>{{iteration.start_date}}</td> | ||
20 | <td>{{iteration.end_date}}</td> | ||
21 | </tr> | ||
22 | {% endfor %} | ||
23 | </table> | ||
24 | {% endblock %} | ||
diff --git a/snakeplan/templates/projects/project_list.html b/snakeplan/templates/projects/project_list.html new file mode 100644 index 0000000..5ede56e --- /dev/null +++ b/snakeplan/templates/projects/project_list.html | |||
@@ -0,0 +1,7 @@ | |||
1 | <h1>Projects</h1> | ||
2 | |||
3 | <ol> | ||
4 | {% for project in object_list %} | ||
5 | <li><a href="{{project.id}}">{{project.name}}</a></li> | ||
6 | {% endfor %} | ||
7 | </ol> | ||
diff --git a/snakeplan/templates/projects/story_detail.html b/snakeplan/templates/projects/story_detail.html new file mode 100644 index 0000000..f8ade89 --- /dev/null +++ b/snakeplan/templates/projects/story_detail.html | |||
@@ -0,0 +1,5 @@ | |||
1 | <h1>{{ object.name }}</h1> | ||
2 | |||
3 | <ol> | ||
4 | <li> {{ object }} </li> | ||
5 | </ol> | ||
diff --git a/snakeplan/templates/projects/story_list.html b/snakeplan/templates/projects/story_list.html new file mode 100644 index 0000000..4424ac4 --- /dev/null +++ b/snakeplan/templates/projects/story_list.html | |||
@@ -0,0 +1,8 @@ | |||
1 | <h1>Iteration: {{ iteration_name }}</h1> | ||
2 | |||
3 | <h2>Stories</h2> | ||
4 | <ol> | ||
5 | {% for story in object_list %} | ||
6 | <li><a href="/project/story/{{story.id}}/">{{story.name}}</a></li> | ||
7 | {% endfor %} | ||
8 | </ol> | ||