| author | Harris Baptiste <harris.baptiste@iri.centrepompidou.fr> |
| Mon, 04 Jul 2016 10:36:43 +0200 | |
| changeset 56 | ddb2d089b7d2 |
| parent 41 | 4fffc78a91b2 |
| child 58 | 9f7e484baf73 |
| permissions | -rw-r--r-- |
|
8
7e49ce535296
fragment editor
Harris Baptiste <harris.baptiste@iri.centrepompidou.fr>
parents:
diff
changeset
|
1 |
<nav class="navbar navbar-default" style=""> |
|
24
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
2 |
<div class="container-fluid"> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
3 |
<div class="navbar-header"> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
4 |
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar"> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
5 |
<span class="sr-only">{{ greeting }}</span> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
6 |
<span class="icon-bar"></span> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
7 |
<span class="icon-bar"></span> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
8 |
<span class="icon-bar"></span> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
9 |
</button> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
10 |
<a class="navbar-brand" href="#">Iconolab</a> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
11 |
</div> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
12 |
<div id="navbar" class="navbar-collapse collapse"> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
13 |
<ul class="nav navbar-nav"> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
14 |
<li class="active"><a href="#">Accueil</a></li> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
15 |
<li><a href="#">Le projet</a></li> |
|
56
ddb2d089b7d2
adding collection link to header
Harris Baptiste <harris.baptiste@iri.centrepompidou.fr>
parents:
41
diff
changeset
|
16 |
<li><a href="{% url 'collection_home' collection_name %}">Contribuer</a></li> |
|
24
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
17 |
</ul> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
18 |
|
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
19 |
<form class="navbar-form navbar-left" role="search"> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
20 |
<div class="form-group"> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
21 |
<input type="text" class="form-control" placeholder="Trouver une image..."> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
22 |
</div> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
23 |
<button type="submit" class="btn btn-default">Rechercher</button> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
24 |
</form> |
|
8
7e49ce535296
fragment editor
Harris Baptiste <harris.baptiste@iri.centrepompidou.fr>
parents:
diff
changeset
|
25 |
|
|
24
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
26 |
<ul class="nav navbar-nav navbar-right"> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
27 |
{% if user.is_authenticated %} |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
28 |
<li><a href="#">{{user.username}}: Mon espace</a></li> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
29 |
<li><a href="{% url 'account:logout' %}">Se déconnecter</a></li> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
30 |
{% else %} |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
31 |
<li><a href="{% url 'account:register' %}">Créer un compte</a></li> |
| 36 | 32 |
<li><a href="{% url 'account:login' %}?next={{ request.path | urlencode }}">Se Connecter</a></li> |
|
24
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
33 |
{% endif %} |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
34 |
</ul> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
35 |
</div><!--/.nav-collapse --> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
36 |
</div><!--/.container-fluid --> |
|
6b6b183447a2
work on models + auth register/login system + adapted existing app and templates so editing annotations is working as before + created empty templates to fill
durandn
parents:
8
diff
changeset
|
37 |
</nav> |