Commit | Line | Data |
---|---|---|
66ae88f4 BG |
1 | {% load i18n staticfiles %} |
2 | {% load url from future %} | |
3 | <!DOCTYPE html> | |
33234b2f | 4 | <html> |
7a1f5d5b | 5 | <head> |
66ae88f4 BG |
6 | <title>Polytechnique.net - {% block title %}{% trans "Groups" %}{% endblock %}</title> |
7 | <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
8 | <link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet"> | |
9 | <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> | |
10 | <!--[if lt IE 9]> | |
11 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> | |
12 | <![endif]--> | |
13 | <link href="{% static 'css/common.css' %}" rel="stylesheet"> | |
1e2ffbc2 | 14 | {% block css %}{% endblock %} |
7a1f5d5b | 15 | </head> |
7a1f5d5b | 16 | <body> |
66ae88f4 | 17 | {% block body %} |
63209f27 NI |
18 | <div class="navbar navbar-fixed-top"> |
19 | <div class="navbar-inner"> | |
66ae88f4 BG |
20 | <div class="container"> |
21 | <a class="logo-nav pull-left" href="{% url 'home' %}"><img src="" alt="Logo"></a> | |
22 | {% if user.is_authenticated %} | |
23 | <p class="navbar-text pull-right"> | |
24 | <a href="#">{{ user.get_full_name }}</a> | |
25 | | | |
63209f27 NI |
26 | <a href="{% url 'logout' %}"> |
27 | <span class="picto picto-logout"></span>{% trans "Log Out" %} | |
28 | </a> | |
66ae88f4 BG |
29 | </p> |
30 | <div class="nav-collapse collapse"> | |
31 | <ul class="nav"> | |
1e2ffbc2 | 32 | <li{% if top == 'groups' %} class="active"{% endif %}> |
95fa5c13 | 33 | <a href="{% url 'groups:group-list' %}"> |
1e2ffbc2 | 34 | {% trans "Groupes" %} |
66ae88f4 BG |
35 | </a> |
36 | </li> | |
9cf4bfb7 CW |
37 | <li{% if top == 'events' %} class="active"{% endif %}> |
38 | <a href="{% url 'events:event-list' %}"> | |
39 | {% trans "Événements" %} | |
40 | </a> | |
41 | </li> | |
66ae88f4 BG |
42 | <li{% if top == 'blih' %} class="active"{% endif %}> |
43 | <a href="#">{% trans "Blih" %}</a> | |
44 | </li> | |
45 | <li{% if top == 'bloh' %} class="active"{% endif %}> | |
46 | <a href="#"> | |
47 | {% trans "Bloh" %} | |
48 | </a> | |
49 | </li> | |
50 | </ul> | |
51 | </div><!--/.nav-collapse --> | |
52 | {% endif %} | |
7a1f5d5b | 53 | </div> |
66ae88f4 BG |
54 | </div> |
55 | </div> | |
33234b2f | 56 | |
66ae88f4 BG |
57 | <div class="container wrapper"> |
58 | {% if messages %} | |
59 | {% for message in messages %} | |
60 | <div class="alert {% if message.tags %}alert-{{ message.tags }}"{% endif %}>{{ message }}</div> | |
61 | {% endfor %} | |
62 | {% endif %} | |
63 | <div class="row-fluid"> | |
64 | {% block full-content %} {# To use when the sidebar is not needed #} | |
65 | <div class="span2 sidebar"> | |
66 | {% block sidebar %} | |
67 | {% endblock %} | |
68 | </div> | |
69 | <div class="span10"> | |
70 | {% block content %} | |
71 | {% endblock %} | |
72 | </div> | |
73 | {% endblock %} | |
74 | </div> | |
75 | <div class="push"></div> | |
76 | </div><!--/.container--> | |
77 | <footer> | |
78 | <p> | |
79 | © Polytechnique.org 2013 | |
80 | </p> | |
81 | </footer> | |
82 | {% endblock body %} | |
83 | <script src="{% static 'js/lib/jquery-1.9.0.min.js' %}"></script> | |
84 | <script src="{% static 'js/lib/bootstrap.min.js' %}"></script> | |
85 | {% block js %} | |
86 | {% endblock %} | |
7a1f5d5b | 87 | </body> |
33234b2f | 88 | </html> |