183 </script> |
183 </script> |
184 |
184 |
185 <script id="tpl-chapter-row" type="text/html"> |
185 <script id="tpl-chapter-row" type="text/html"> |
186 <tr id="row-list-chapter-{{id}}" style="background-color : {{color}};"> |
186 <tr id="row-list-chapter-{{id}}" style="background-color : {{color}};"> |
187 <td class="list-chapter-title">{{title}}</td> |
187 <td class="list-chapter-title">{{title}}</td> |
188 <td class="list-chapter-tags">{{tags}}</td> |
188 <td class="list-chapter-tags">{{keywords}}</td> |
189 <td>{{beginString}}</td> |
189 <td class="begin">{{begin}}</td> |
190 <td>{{durationString}}</td> |
190 <td class="duration">{{getDuration}}</td> |
191 <td>{{endString}}</td> |
191 <td class="end">{{end}}</td> |
192 <td> |
192 <td> |
193 <table> |
193 <table> |
194 <tr> |
194 <tr> |
195 <td> |
195 <td> |
196 <a href="#" class="btn btn-edit-chapter" data-chapter-id="{{id}}"><i class="icon-pencil"></i></a> |
196 <a href="#" class="btn btn-edit-chapter" data-chapter-id="{{id}}"><i class="icon-pencil"></i></a> |
207 <script id="tpl-chapter-edit" type="text/html"> |
207 <script id="tpl-chapter-edit" type="text/html"> |
208 <form data-chapter-id="{{id}}" id="form-chapter-edit-{{id}}" action="#" class="form-chapter-edit" style="background-color:{{color}}"> |
208 <form data-chapter-id="{{id}}" id="form-chapter-edit-{{id}}" action="#" class="form-chapter-edit" style="background-color:{{color}}"> |
209 <div class="row"> |
209 <div class="row"> |
210 <div class="span3 text-right"> |
210 <div class="span3 text-right"> |
211 <input name="title" type="text" value="{{title}}"> |
211 <input name="title" type="text" value="{{title}}"> |
212 <input name="tags" type="text" class="tag-it" value="{{tags}}"> |
212 <input name="keywords" type="text" class="tag-it" value="{{keywords}}"> |
213 </div> |
213 </div> |
214 <div class="span3"> |
214 <div class="span3"> |
215 <!-- |
|
216 <input type="hidden" name="begin" value="{{begin}}"> |
|
217 <input type="hidden" name="duration" value="{{duration}}"> |
|
218 <input type="hidden" name="end" value="{{end}}"> |
|
219 --> |
|
220 <table class="table text-right"> |
215 <table class="table text-right"> |
221 <thead> |
216 <thead> |
222 <tr> |
217 <tr> |
223 <th class="span1 ">Début</th> |
218 <th class="span1 ">Début</th> |
224 <th class="span1">Durée</th> |
219 <th class="span1">Durée</th> |
225 <th class="span1">Fin</th> |
220 <th class="span1">Fin</th> |
226 </tr> |
221 </tr> |
227 </thead> |
222 </thead> |
228 <tbody> |
223 <tbody> |
229 <tr> |
224 <tr> |
230 <td class="span1 begin time-tangle">{{beginString}}</td> |
225 <td class="span1"><span {{#beginTangle}}class="time-tangle tangle-start begin" data-milliseconds="{{begin.milliseconds}}"{{/beginTangle}}>{{begin}}</span></td> |
231 <td class="span1 duration">{{durationString}}</td> |
226 <td class="span1"><span>{{getDuration}}</span></td> |
232 <td class="span1 end">{{endString}}</td> |
227 <td class="span1"><span {{#endTangle}}class="time-tangle tangle-end end" data-milliseconds="{{end.milliseconds}}"{{/endTangle}}>{{end}}</span></td> |
233 </tr> |
228 </tr> |
234 </tbody> |
229 </tbody> |
235 </table> |
230 </table> |
236 </div> |
231 </div> |
237 </div> |
232 </div> |