integration/template.html
changeset 48 827066f875c7
parent 42 95e64fb6730f
child 49 06627f23df42
--- a/integration/template.html	Mon May 27 16:18:05 2013 +0200
+++ b/integration/template.html	Mon May 27 17:48:17 2013 +0200
@@ -52,7 +52,7 @@
 </li>
 </script>
 
-<script id="tpl-sound" type="text/html">
+<script id="tpl-audio" type="text/html">
 <div class="edit-annotation-title row">
 	<h3 class="span3"><i class="icon-volume-up"></i> Son</h3>
 </div>
@@ -161,6 +161,39 @@
 <div class="edit-annotation-title row">
 	<h3 class="span3"><i class="icon-link"></i> Liens</h3>
 </div>
+<div class="row annotation-links-content">
+	<div class="span6">
+		<form class="form-horizontal">
+			<table class="table">
+				<thead>
+					<tr>
+						<th>URL</th>
+						<th>Titre du lien</th>
+						<th>Actions</th>
+					</tr>
+				</thead>
+				<tbody data-id="{{id}}" class="links-rows">
+
+				</tbody>
+				<tfoot>
+					<tr>
+						<td colspan="3"><a class="btn btn-success add-link" href="#"><i class="icon-plus"></i> Ajouter un lien</a></td>
+					</tr>
+				</tfoot>
+			</table>
+		</form>
+	</div>
+</div>
+</script>
+
+<script id="tpl-links-row" type="text/html">
+<tr>
+	<td><input class="input-medium url-link" type="text" value="{{url}}" placeholder="http://"></td>
+	<td><input class="input-medium title-link" type="text" value="{{title}}" placeholder="Titre du lien"></td>
+	<td>
+		<a class="btn delete-link" href="#"><i class="icon-trash"></i> </a>
+	</td>
+</tr>
 </script>
 
 <script id="tpl-diaporama-row" type="text/html">