client/app/annotationclient.html
changeset 5 90a7c431b979
parent 4 9c70d81e9062
child 6 c53e9b24f93f
--- a/client/app/annotationclient.html	Thu Oct 09 12:17:28 2014 +0200
+++ b/client/app/annotationclient.html	Thu Oct 09 14:34:14 2014 +0200
@@ -19,7 +19,7 @@
     <div class="row">
       <div class="col-md-12">
         <form role="form">
-          <autocomplete ng-model="yourchoice" data="allCatLabels" on-type="onAutocompleteType" attr-input-class="form-control" attr-placeholder="Catégories..." on-select="onSelect" ></autocomplete>
+          <autocomplete ng-model="yourchoice" data="allCatLabels" attr-input-class="form-control" attr-placeholder="Catégories..." ></autocomplete>
         </form>
       </div>
     </div>
@@ -71,6 +71,9 @@
       </div>
     </div>
     <footer>
+	  <div class="row">
+	    <pre id="log" style="height: 20em; overflow-y: scroll; background-color: #faa; text-align: left;"></pre>
+      </div>
       <div class="row">
         <div class="col-md-12 text-center">
             mons vBeta - ©IRI-2014
@@ -82,12 +85,13 @@
   <!--script type="text/javascript" src="{{ pre_static_path }}static/js/templates.js"></script-->
   <script type="text/javascript" src="{{ pre_static_path }}static/js/app.js"></script>
   <script type="text/javascript">
-      angular.module("mons")
-          .value('context', {
-              urls: {
-                  dataUrl: "{{ pre_static_path }}static/data/categories.json"
-              }
-          });
+      
+    angular.module("mons")
+        .value('context', {
+            urls: {
+                dataUrl: "{{ pre_static_path }}static/data/categories.json"
+            }
+        });
 
   </script>
 </body>