Skip to content
Browse files

added sample template

  • Loading branch information...
1 parent 6f43018 commit 36295bf9aa98dbdb23b011669c6239e3d07a6e8a @dnet committed May 10, 2011
Showing with 26 additions and 0 deletions.
  1. +26 −0 dashboard.sample.tpl
View
26 dashboard.sample.tpl
@@ -0,0 +1,26 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>Dashboard</title>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
+ <meta http-equiv="Refresh" content="300" />
+</head>
+<body>
+<ul>
+{% for todo in todos %}
+<li class="{{ todo.src }}">
+ <a href="{{ todo.link }}" class="title">{{ todo.title }}</a>
+ {% if todo.deadline %}
+ <div class="deadline{% if todo.late %} late{% endif %}">
+ Deadline: {{ todo.deadline }}</div>
+ {% endif %}
+ {% if todo.scheduled %}
+ <div class="deadline{% if todo.late %} late{% endif %}">
+ Scheduled: {{ todo.scheduled }}</div>
+ {% endif %}
+ <div class="subtitle">{{ todo.subtitle }}</div>
+</li>
+{% endfor %}
+</ul>
+</body>
+</html>

0 comments on commit 36295bf

Please sign in to comment.
Something went wrong with that request. Please try again.