client/app/index.html
changeset 1 74bbdd739878
parent 0 cef349423167
child 3 18a4c598ddee
--- a/client/app/index.html	Wed Jun 11 01:26:59 2014 +0200
+++ b/client/app/index.html	Thu Oct 02 13:24:57 2014 +0200
@@ -24,6 +24,12 @@
             <li ng-class="{active:isActive('/gallery')}"><a href="#/gallery">Galerie</a></li>
             <li ng-class="{active:isActive('/slideshow')}"><a href="#/slideshow">Diaporama</a></li>
           </ul>
+          <form class="navbar-form navbar-right" role="search" ng-submit="searchSubmit()">
+            <div class="form-group">
+                <input class="form-control" type="text" ng-model="q" placeholder="Chercher" />
+                <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search"></span></button>
+            </div>
+          </form>
         </div>
       </div>
   </div>
@@ -52,7 +58,8 @@
               urls: {
                   base_static: "./",
                   galleryUrl: "data/gallery.json",
-                  slideshowUrl: "data/slideshow.json"
+                  slideshowUrl: "data/slideshow.json",
+                  searchUrl: "http://ammico.labs.exalead.com/search-api"
               }
           });