| 1 | {% load i18n staticfiles %} |
| 2 | {% load url from future %} |
| 3 | <!DOCTYPE html> |
| 4 | <html> |
| 5 | <head> |
| 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"> |
| 14 | {% block css %}{% endblock %} |
| 15 | </head> |
| 16 | <body> |
| 17 | {% block body %} |
| 18 | <div class="navbar navbar-fixed-top"> |
| 19 | <div class="navbar-inner"> |
| 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 | | |
| 26 | <a href="{% url 'logout' %}"> |
| 27 | <span class="picto picto-logout"></span>{% trans "Log Out" %} |
| 28 | </a> |
| 29 | </p> |
| 30 | {% endif %} |
| 31 | <div class="nav-collapse collapse"> |
| 32 | <ul class="nav"> |
| 33 | <li{% if top == 'groups' %} class="active"{% endif %}> |
| 34 | <a href="{% url 'groups:group-list' %}"> |
| 35 | {% trans "Groupes" %} |
| 36 | </a> |
| 37 | </li> |
| 38 | <li{% if top == 'events' %} class="active"{% endif %}> |
| 39 | <a href="{% url 'events:event-list' %}"> |
| 40 | {% trans "Événements" %} |
| 41 | </a> |
| 42 | </li> |
| 43 | <li{% if top == 'blih' %} class="active"{% endif %}> |
| 44 | <a href="#">{% trans "Blih" %}</a> |
| 45 | </li> |
| 46 | <li{% if top == 'bloh' %} class="active"{% endif %}> |
| 47 | <a href="#"> |
| 48 | {% trans "Bloh" %} |
| 49 | </a> |
| 50 | </li> |
| 51 | </ul> |
| 52 | </div><!--/.nav-collapse --> |
| 53 | </div> |
| 54 | </div> |
| 55 | </div> |
| 56 | |
| 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 | <a href="http://xorg.polytechnique.org/">Association Polytechnique.org</a> - |
| 81 | <a href="{{ contact_email }}">nous contacter</a> |
| 82 | </p> |
| 83 | </footer> |
| 84 | {% endblock body %} |
| 85 | <script src="{% static 'js/lib/jquery-1.9.0.min.js' %}"></script> |
| 86 | <script src="{% static 'js/lib/bootstrap.min.js' %}"></script> |
| 87 | {% block js %} |
| 88 | {% endblock %} |
| 89 | </body> |
| 90 | </html> |