--- a/integration/template.html Thu May 16 18:03:54 2013 +0200
+++ b/integration/template.html Fri May 17 12:41:30 2013 +0200
@@ -184,16 +184,16 @@
<script id="tpl-chapter-row" type="text/html">
<tr id="row-list-chapter-{{id}}">
- <td>Titre chapitre</td>
- <td>Tags, Tags, Tags</td>
- <td>79:55</td>
- <td>79:55</td>
- <td>79:55</td>
+ <td>{{title}}</td>
+ <td>{{tags}}</td>
+ <td>{{beginString}}</td>
+ <td>{{durationString}}</td>
+ <td>{{endString}}</td>
<td>
<table>
<tr>
<td>
- <a href="" class="btn edit-chapter"><i class="icon-pencil"></i></a>
+ <a href="#" class="btn edit-chapter"><i class="icon-pencil"></i></a>
</td>
<td>
<a data-title="Chapitre 1" href="#row-list-chapter-{{id}}" class="btn btn-delete"><i class="icon-trash delete-annotation"></i></a>
@@ -207,12 +207,14 @@
<script id="tpl-chapter-edit" type="text/html">
<div class="row">
<div class="span3 text-right">
- <input type="text" value="{{titre}}">
- <input type="text" value="{{tags}}">
+ <input name="title" type="text" value="{{title}}">
+ <input name="tags" type="text" class="tag-it" value="{{tags}}">
</div>
<div class="span3">
+ <input type="hidden" name="begin" value="{{begin}}">
+ <input type="hidden" name="duration" value="{{duration}}">
+ <input type="hidden" name="end" value="{{end}}">
<table class="table text-right">
-
<thead>
<tr>
<th class="span1">Début</th>
@@ -222,9 +224,9 @@
</thead>
<tbody>
<tr>
- <td class="span1">4:20</td>
- <td class="span1">4:20</td>
- <td class="span1">4:20</td>
+ <td class="span1 begin"></td>
+ <td class="span1 duration"></td>
+ <td class="span1 end"></td>
</tr>
</tbody>
</table>
@@ -232,7 +234,7 @@
</div>
<div class="row">
<div class="span6 text-center">
- <textarea name="">{{description}}</textarea>
+ <textarea class="" name="description" id="">{{description}}</textarea>
</div>
</div>
</script>
\ No newline at end of file