client/app/index.html
author cavaliet
Mon, 06 Oct 2014 12:59:13 +0200
changeset 6 4be9f21f2df1
parent 3 18a4c598ddee
child 8 824c87a9084c
permissions -rw-r--r--
show/hide texts
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
<!doctype html>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
<html>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
<head>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
  <meta charset="utf-8">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  <title>Ammico : Home</title>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
  <link rel="stylesheet" href="lib.css">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
  <link rel="stylesheet" href="app.css">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
</head>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
<body ng-controller="homeCtrl" ng-app="ammico" ng-cloak>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
  <div class="navbar navbar-inverse" role="navigation">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
      <div class="container">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    12
        <div class="navbar-header">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    13
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    14
            <span class="sr-only">Toggle navigation</span>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    15
            <span class="icon-bar"></span>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    16
            <span class="icon-bar"></span>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    17
            <span class="icon-bar"></span>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    18
          </button>
6
4be9f21f2df1 show/hide texts
cavaliet
parents: 3
diff changeset
    19
          <a class="navbar-brand" id="logo" href="#/"><img src="img/ammico_logo_small.png"></a>
0
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    20
        </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    21
        <div class="collapse navbar-collapse">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    22
          <ul class="nav navbar-nav" ng-controller="routeClassCtrl">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    23
            <li ng-class="{active:isActive('/')}"><a href="#/">Home</a></li>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    24
            <li ng-class="{active:isActive('/gallery')}"><a href="#/gallery">Galerie</a></li>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    25
            <li ng-class="{active:isActive('/slideshow')}"><a href="#/slideshow">Diaporama</a></li>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    26
          </ul>
1
74bbdd739878 views, path, search...
cavaliet
parents: 0
diff changeset
    27
          <form class="navbar-form navbar-right" role="search" ng-submit="searchSubmit()">
74bbdd739878 views, path, search...
cavaliet
parents: 0
diff changeset
    28
            <div class="form-group">
74bbdd739878 views, path, search...
cavaliet
parents: 0
diff changeset
    29
                <input class="form-control" type="text" ng-model="q" placeholder="Chercher" />
74bbdd739878 views, path, search...
cavaliet
parents: 0
diff changeset
    30
                <button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search"></span></button>
74bbdd739878 views, path, search...
cavaliet
parents: 0
diff changeset
    31
            </div>
74bbdd739878 views, path, search...
cavaliet
parents: 0
diff changeset
    32
          </form>
0
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    33
        </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    34
      </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    35
  </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    36
  <div class="container">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    37
    <div class="ammico-content">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    38
      <div ng-view></div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    39
    </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    40
    <footer>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    41
      <div class="row">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    42
        <div class="footer-img col-md-6">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    43
            <a href="http://www.iri.centrepompidou.fr" target="_blank"><img src="img/logo_IRI_footer.png" alt="Logo IRI" /></a>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    44
        </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    45
        <div class="col-md-6 text-right">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    46
            ammico vBeta - ©2014
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    47
        </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    48
      </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    49
    </footer>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    50
  </div>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    51
  <script type="text/javascript" src="lib.js"></script>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    52
  <script type="text/javascript" src="templates.js"></script>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    53
  <script type="text/javascript" src="app.js"></script>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    54
  <script type="text/javascript">
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    55
      angular.module("ammico")
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    56
          .value('context', {
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    57
              record: angular.fromJson('{"record": "record value"}'),
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    58
              urls: {
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    59
                  base_static: "./",
1
74bbdd739878 views, path, search...
cavaliet
parents: 0
diff changeset
    60
                  slideshowUrl: "data/slideshow.json",
74bbdd739878 views, path, search...
cavaliet
parents: 0
diff changeset
    61
                  searchUrl: "http://ammico.labs.exalead.com/search-api"
0
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    62
              }
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    63
          });
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    64
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    65
  </script>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    66
</body>
cef349423167 add basic file org + client prototype
ymh <ymh.work@gmail.com>
parents:
diff changeset
    67
</html>