| author | rougeronj |
| Thu, 23 Apr 2015 18:17:10 +0200 | |
| changeset 86 | 2deead259283 |
| parent 78 | aaffa46a2b79 |
| child 88 | 2db951a4a04c |
| permissions | -rw-r--r-- |
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
1 |
<!-- build:django --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
2 |
<!-- endbuild --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
3 |
|
| 0 | 4 |
<!doctype html> |
5 |
<html> |
|
6 |
<head> |
|
7 |
<meta charset="utf-8"> |
|
8 |
<title>Ammico : Home</title> |
|
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
9 |
|
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
10 |
<!-- build:css --> |
| 0 | 11 |
<link rel="stylesheet" href="lib.css"> |
12 |
<link rel="stylesheet" href="app.css"> |
|
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
13 |
<!-- endbuild --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
14 |
|
| 0 | 15 |
</head> |
16 |
<body ng-controller="homeCtrl" ng-app="ammico" ng-cloak> |
|
17 |
<div class="navbar navbar-inverse" role="navigation"> |
|
18 |
<div class="container"> |
|
19 |
<div class="navbar-header"> |
|
20 |
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> |
|
21 |
<span class="sr-only">Toggle navigation</span> |
|
22 |
<span class="icon-bar"></span> |
|
23 |
<span class="icon-bar"></span> |
|
24 |
<span class="icon-bar"></span> |
|
25 |
</button> |
|
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
26 |
<a class="navbar-brand" id="logo" href="#/"> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
27 |
<!-- build:imgLogo --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
28 |
<img src="img/ammico_logo_small.png"> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
29 |
<!-- endbuild --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
30 |
</a> |
| 0 | 31 |
</div> |
32 |
<div class="collapse navbar-collapse"> |
|
33 |
<ul class="nav navbar-nav" ng-controller="routeClassCtrl"> |
|
34 |
<li ng-class="{active:isActive('/')}"><a href="#/">Home</a></li> |
|
| 27 | 35 |
<li ng-class="{active:isActive('/books')}"><a href="#/books">Books</a></li> |
| 0 | 36 |
<li ng-class="{active:isActive('/slideshow')}"><a href="#/slideshow">Diaporama</a></li> |
37 |
</ul> |
|
| 13 | 38 |
<ul class="nav navbar-nav navbar-right" ng-controller="routeClassCtrl"> |
|
57
388b29d38b44
add authentication and controle of authentication before routing
rougeronj
parents:
41
diff
changeset
|
39 |
<li ng-hide="globals.userLogged" ng-class="{active:isActive('/login')}"><a href="#/auth/login">Login</a></li> |
|
388b29d38b44
add authentication and controle of authentication before routing
rougeronj
parents:
41
diff
changeset
|
40 |
<li ng-show="globals.userLogged"><a href="#/auth/logout">Logout</a></li> |
| 13 | 41 |
</ul> |
| 1 | 42 |
<form class="navbar-form navbar-right" role="search" ng-submit="searchSubmit()"> |
43 |
<div class="form-group"> |
|
44 |
<input class="form-control" type="text" ng-model="q" placeholder="Chercher" /> |
|
45 |
<button class="btn btn-default" type="submit"><span class="glyphicon glyphicon-search"></span></button> |
|
46 |
</div> |
|
47 |
</form> |
|
| 0 | 48 |
</div> |
49 |
</div> |
|
50 |
</div> |
|
51 |
<div class="container"> |
|
52 |
<div class="ammico-content"> |
|
53 |
<div ng-view></div> |
|
54 |
</div> |
|
55 |
<footer> |
|
56 |
<div class="row"> |
|
57 |
<div class="footer-img col-md-6"> |
|
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
58 |
<a href="http://www.iri.centrepompidou.fr" target="_blank"> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
59 |
<!-- build:imgFooter --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
60 |
<img src="img/logo_IRI_footer.png" alt="Logo IRI" /> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
61 |
<!-- endbuild --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
62 |
</a> |
| 0 | 63 |
</div> |
64 |
<div class="col-md-6 text-right"> |
|
65 |
ammico vBeta - ©2014 |
|
66 |
</div> |
|
67 |
</div> |
|
68 |
</footer> |
|
69 |
</div> |
|
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
70 |
|
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
71 |
<!-- build:js --> |
| 0 | 72 |
<script type="text/javascript" src="lib.js"></script> |
73 |
<script type="text/javascript" src="templates.js"></script> |
|
74 |
<script type="text/javascript" src="app.js"></script> |
|
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
75 |
<!-- endbuild --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
76 |
|
| 0 | 77 |
<script type="text/javascript"> |
78 |
angular.module("ammico") |
|
79 |
.value('context', { |
|
80 |
record: angular.fromJson('{"record": "record value"}'), |
|
81 |
urls: { |
|
82 |
base_static: "./", |
|
|
86
2deead259283
add user filter to send bakc only the slides and books of the current user
rougeronj
parents:
78
diff
changeset
|
83 |
ammicoUrl: "http://127.0.0.1:8000/ammico", |
| 1 | 84 |
searchUrl: "http://ammico.labs.exalead.com/search-api" |
| 0 | 85 |
} |
86 |
}); |
|
87 |
||
88 |
</script> |
|
89 |
</body> |
|
90 |
</html> |