Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (35 sloc) 1.39 KB
<!doctype html>
<link rel="stylesheet"
<link rel="stylesheet" href="/css/bootstrap-glyphicons.css" media="screen">
<link rel="stylesheet" href="/css/todo.css" media="screen">
<div class="container">
<div t-content="state">
<p><span>{{remaining}} of {{total}} remaining</span>
[ <a t-event="archive">archive</a> ]</p>
<ul class="list-unstyled">
<li t-template="todos">
<input type="checkbox" t-event="done" t-prop="done" t-id="index" index="{{@index}}">
<span class="done-{{done}}">{{text}}</span>
<form t-event="add-todo">
<input type="text" t-prop="text" size="30" placeholder="add new todo here">
<input class="btn btn-primary" type="submit" value="add">
<!-- jquery for jayq can not be provided by :foreign-libs -->
<script type="text/javascript" src="/js/jquery.js"></script>
<!-- handlebars provided by :foreign-libs -->
<!-- <script type="text/javascript" src="/js/handlebars.js"></script> -->
<script type="text/javascript" src="todos.js"></script>
<script type="text/javascript">papadom.example.todo.start();</script>