Commit | Line | Data |
---|---|---|
929ca066 BA |
1 | <!DOCTYPE html> |
2 | <html> | |
3 | ||
4 | <head> | |
5 | <meta charset="UTF-8" /> | |
6 | <title>{% block title %}mixstore - {% endblock %}</title> | |
7 | {% block header %} | |
8 | <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootswatch/3.1.1/united/bootstrap.min.css"> | |
9 | <link rel="stylesheet" href="{{ asset('mixstore/css/base.css') }}" /> | |
10 | <link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Merienda+One"> | |
11 | {% endblock %} | |
12 | <link rel="icon" type="image/x-icon" href="{{ asset('mixstore/images/favicon.png') }}" /> | |
13 | </head> | |
14 | ||
15 | <body> | |
16 | ||
17 | <div class="navbar navbar-default"> | |
18 | <div class="navbar-header"> | |
19 | <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-responsive-collapse"> | |
20 | <span class="icon-bar"></span> | |
21 | <span class="icon-bar"></span> | |
22 | <span class="icon-bar"></span> | |
23 | </button> | |
24 | <a class="navbar-brand" href="{{ path('mixstore_static_home') }}">Home</a> | |
25 | </div> | |
26 | <div class="navbar-collapse collapse navbar-responsive-collapse"> | |
27 | <ul class="nav navbar-nav navbar-left"> | |
28 | <li><a href="{{ path('mixstore_static_about') }}">About</a></li> | |
29 | <li><a href="{{ path('mixstore_static_policy') }}">Policy</a></li> | |
30 | </ul> | |
31 | ||
32 | <ul class="nav navbar-nav navbar-center"> | |
33 | <li id="storemenu"><a href="{{ path('mixstore_store_package_list') }}">Store</a></li> | |
34 | </ul> | |
35 | <ul class="nav navbar-nav navbar-right"> | |
36 | {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %} | |
37 | <li class="dropdown"> | |
38 | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Menu <b class="caret"></b></a> | |
39 | <ul class="dropdown-menu"> | |
40 | <li><a href="{{ path('mixstore_user_board') }}">User board</a></li> | |
41 | <li class="divider"></li> | |
42 | <li><a href="{{ path('fos_user_profile_show') }}">See profile</a></li> | |
43 | <li><a href="{{ path('fos_user_profile_edit') }}">Edit profile</a></li> | |
44 | <li><a href="{{ path('fos_user_change_password') }}">Change password</a></li> | |
45 | <li><a href="{{ path('fos_user_security_logout') }}">{{ 'layout.logout'|trans({}, 'FOSUserBundle') }}</a></li> | |
46 | </ul> | |
47 | </li> | |
48 | {% else %} | |
49 | <li id="loginmenu"> | |
50 | <a href="{{ path('fos_user_security_login') }}"> | |
51 | {{ 'layout.login'|trans({}, 'FOSUserBundle') }} | |
52 | </a> | |
53 | </li> | |
54 | {% endif %} | |
55 | </ul> | |
56 | </div> | |
57 | </div> | |
58 | ||
59 | <div class="container-fluid"> | |
60 | {% block content %}{% endblock %} | |
61 | </div> | |
62 | ||
63 | <footer> | |
64 | © Mixstore team 2014 | |
65 | - | |
66 | <a href="mailto:contact@mixstore.org">Contact us</a> | |
67 | </footer> | |
68 | ||
69 | {% block javascripts %} | |
70 | <script src="//code.jquery.com/jquery-2.1.0.min.js"></script> | |
71 | <script src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script> | |
72 | {% endblock %} | |
73 | ||
74 | </body> | |
75 | ||
76 | </html> |