Basic group profile and web/logo/description fields of the Group model
[xnet] / xnet / templates / base.html
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">
19 <div class="navbar-inner navbar-fixed-top">
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 &nbsp;|&nbsp;
26 <a href="#"><span class="picto picto-logout"></span>{% trans "Log Out" %}</a>
27
28 </p>
29 <div class="nav-collapse collapse">
30 <ul class="nav">
31 <li{% if top == 'groups' %} class="active"{% endif %}>
32 <a href="{% url 'accounts:group-list' %}">
33 {% trans "Groupes" %}
34 </a>
35 </li>
36 <li{% if top == 'blih' %} class="active"{% endif %}>
37 <a href="#">{% trans "Blih" %}</a>
38 </li>
39 <li{% if top == 'bloh' %} class="active"{% endif %}>
40 <a href="#">
41 {% trans "Bloh" %}
42 </a>
43 </li>
44 </ul>
45 </div><!--/.nav-collapse -->
46 {% endif %}
47 </div>
48 </div>
49 </div>
50
51 <div class="container wrapper">
52 {% if messages %}
53 {% for message in messages %}
54 <div class="alert {% if message.tags %}alert-{{ message.tags }}"{% endif %}>{{ message }}</div>
55 {% endfor %}
56 {% endif %}
57 <div class="row-fluid">
58 {% block full-content %} {# To use when the sidebar is not needed #}
59 <div class="span2 sidebar">
60 {% block sidebar %}
61 {% endblock %}
62 </div>
63 <div class="span10">
64 {% block content %}
65 {% endblock %}
66 </div>
67 {% endblock %}
68 </div>
69 <div class="push"></div>
70 </div><!--/.container-->
71 <footer>
72 <p>
73 &copy; Polytechnique.org 2013
74 </p>
75 </footer>
76 {% endblock body %}
77 <script src="{% static 'js/lib/jquery-1.9.0.min.js' %}"></script>
78 <script src="{% static 'js/lib/bootstrap.min.js' %}"></script>
79 {% block js %}
80 {% endblock %}
81 </body>
82 </html>