| author | rougeronj |
| Tue, 02 Jun 2015 09:46:30 +0200 | |
| changeset 106 | cb13a9009bf5 |
| parent 96 | 3542155549e4 |
| child 114 | e4ffc4e13a8e |
| 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 --> |
|
88
2db951a4a04c
updates dependencies and add main-bower-file to gulpfile to concatenate the vendorJs
rougeronj
parents:
86
diff
changeset
|
11 |
<link rel="stylesheet" href="css/lib.css"> |
|
2db951a4a04c
updates dependencies and add main-bower-file to gulpfile to concatenate the vendorJs
rougeronj
parents:
86
diff
changeset
|
12 |
<link rel="stylesheet" href="css/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"> |
|
|
106
cb13a9009bf5
improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents:
96
diff
changeset
|
19 |
<div class="navbar-header row"> |
| 0 | 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> |
|
|
106
cb13a9009bf5
improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents:
96
diff
changeset
|
26 |
<a class="navbar-brand row" id="logo" href="#/"> |
| 96 | 27 |
<!-- build:imgLogo --> |
28 |
<img src="img/ammico_logo_small.png"> |
|
29 |
<!-- endbuild --> |
|
|
78
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> |
|
| 91 | 35 |
<li ng-class="{active:isActive('/my_visit')}"><a href="#/my_visit">Ma dernière Visite</a></li> |
36 |
<li ng-class="{active:isActive('/visites')}"><a href="#/visites">Mes Visites</a></li> |
|
37 |
<li ng-class="{active:isActive('/books')}"><a href="#/books">Mes Books</a></li> |
|
| 0 | 38 |
</ul> |
| 13 | 39 |
<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
|
40 |
<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
|
41 |
<li ng-show="globals.userLogged"><a href="#/auth/logout">Logout</a></li> |
| 13 | 42 |
</ul> |
| 1 | 43 |
<form class="navbar-form navbar-right" role="search" ng-submit="searchSubmit()"> |
|
106
cb13a9009bf5
improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents:
96
diff
changeset
|
44 |
<div class="form-group has-feedback"> |
| 1 | 45 |
<input class="form-control" type="text" ng-model="q" placeholder="Chercher" /> |
|
106
cb13a9009bf5
improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents:
96
diff
changeset
|
46 |
<span class="glyphicon glyphicon-search form-control-feedback" aria-hidden="true"></span> |
| 1 | 47 |
</div> |
48 |
</form> |
|
| 0 | 49 |
</div> |
50 |
</div> |
|
51 |
</div> |
|
|
106
cb13a9009bf5
improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents:
96
diff
changeset
|
52 |
<div class="container-fluid ammico-content"> |
| 0 | 53 |
<div ng-view></div> |
54 |
<footer> |
|
55 |
<div class="row"> |
|
|
106
cb13a9009bf5
improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents:
96
diff
changeset
|
56 |
<div class="footer-img col-sm-6"> |
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
57 |
<a href="http://www.iri.centrepompidou.fr" target="_blank"> |
| 96 | 58 |
<!-- build:imgFooter --> |
59 |
<img src="img/logo_IRI_footer.png" alt="Logo IRI" /> |
|
60 |
<!-- endbuild --> |
|
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
61 |
</a> |
| 0 | 62 |
</div> |
|
106
cb13a9009bf5
improve slideshow interface and add ngTouch to handle swipe on mobile
rougeronj
parents:
96
diff
changeset
|
63 |
<div class="col-sm-6 text-right"> |
| 0 | 64 |
ammico vBeta - ©2014 |
65 |
</div> |
|
66 |
</div> |
|
67 |
</footer> |
|
68 |
</div> |
|
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
69 |
|
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
70 |
<!-- build:js --> |
|
88
2db951a4a04c
updates dependencies and add main-bower-file to gulpfile to concatenate the vendorJs
rougeronj
parents:
86
diff
changeset
|
71 |
<script type="text/javascript" src="js/lib.js"></script> |
|
2db951a4a04c
updates dependencies and add main-bower-file to gulpfile to concatenate the vendorJs
rougeronj
parents:
86
diff
changeset
|
72 |
<script type="text/javascript" src="js/templates.js"></script> |
|
2db951a4a04c
updates dependencies and add main-bower-file to gulpfile to concatenate the vendorJs
rougeronj
parents:
86
diff
changeset
|
73 |
<script type="text/javascript" src="js/app.js"></script> |
|
78
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
74 |
<!-- endbuild --> |
|
aaffa46a2b79
add gulp task "copy-server" to copy the project built, on the django server
rougeronj
parents:
57
diff
changeset
|
75 |
|
| 0 | 76 |
<script type="text/javascript"> |
77 |
angular.module("ammico") |
|
78 |
.value('context', { |
|
79 |
record: angular.fromJson('{"record": "record value"}'), |
|
80 |
urls: { |
|
81 |
base_static: "./", |
|
|
93
4b167851ee7d
Starting a better management of the 'models' and the requests
rougeronj
parents:
91
diff
changeset
|
82 |
ammicoUrl: "http://127.0.0.1:8000/ammico", |
| 1 | 83 |
searchUrl: "http://ammico.labs.exalead.com/search-api" |
| 0 | 84 |
} |
85 |
}); |
|
86 |
||
87 |
</script> |
|
88 |
</body> |
|
89 |
</html> |