doughnut-wedding/app/Resources/views/base.html.twig

74 lines
3.6 KiB
Twig
Raw Normal View History

2017-02-13 09:56:18 -08:00
{% if form is defined %}
{% form_theme form with [_self, 'form_errors.html.twig'] %}
{% endif %}
2017-02-10 21:34:31 -08:00
<!DOCTYPE html>
2017-04-26 21:32:43 -07:00
<html lang="en-us">
2017-02-10 21:34:31 -08:00
<head>
2017-04-26 21:32:43 -07:00
<meta charset="utf-8">
<title>{% block title %}{% endblock title %}{% if app.request.requestUri != '/' %} | {% endif %}&hearts; Doughnut Wedding</title>
2017-02-10 21:34:31 -08:00
<meta name="viewport" id="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=10.0,initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="{{ asset('css/doughnutwedding.min.css') }}" />
2017-04-26 21:32:43 -07:00
<link href="https://fonts.googleapis.com/css?family=Raleway:200,300" rel="stylesheet" />
2017-04-16 16:55:58 -07:00
<link rel="stylesheet" type="text/css" href="{{ asset('css/select2.min.css') }}" />
2017-04-26 21:32:43 -07:00
<link rel="shortcut icon" type="image/png" href="{{ asset('/images/favicon.png') }}" />
<link rel="apple-touch-icon-precomposed" href="{{ asset('/images/favicon.png') }}" />
{% block stylesheets %}{% endblock %}
<script src="{{ asset('js/vendor.min.js') }}" type="text/javascript"></script>
2017-02-10 21:34:31 -08:00
<script src="{{ asset('js/doughnutwedding.min.js') }}" type="text/javascript"></script>
2017-04-26 21:32:43 -07:00
{% block javascripts %}{% endblock %}
2017-02-10 21:34:31 -08:00
</head>
<body>
2017-04-26 21:32:43 -07:00
{% block debug %}
{% if app.request.requestUri != '/' %}
{# dump(app.request.requestUri) #}
{% endif %}
{% endblock %}
2017-04-24 12:21:22 -07:00
<div class="uk-offcanvas-content">
2017-02-10 21:34:31 -08:00
2017-04-26 21:32:43 -07:00
<div class="uk-login-container uk-container uk-container-expand uk-visible@m uk-position-top-right">
<nav class="uk-navbar uk-navbar-container uk-navbar-transparent" uk-navbar>
<div class="uk-navbar-right uk-responsive-width">
<ul class="uk-navbar-nav">
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<li><a href="{{ path('fos_user_profile_show') }}">{{ app.user.name }}</a></li>
<div class="uk-navbar-item">|</div>
<li><a class="" href="{{ path('fos_user_security_logout') }}" title="Logout">Logout</a></li>
{% else %}
<li><a class="" href="{{ path('fos_user_security_login') }}" title="Login">Login</a></li>
{% endif %}
</ul>
</div>
</nav>
</div>
2017-04-24 12:21:22 -07:00
<div class="uk-container uk-container-expand uk-hidden@m">
<nav class="uk-navbar">
<div class="uk-navbar-left uk-responsive-width">
2017-04-26 21:32:43 -07:00
<a class="uk-transform-origin-center-left {% if app.request.requestUri == '/' %}uk-animation-scale-up{% endif %}" href="{{ path('sikofitt_doughnutwedding_default_index') }}"><img src="{{ asset('images/logo.png') }}" /></a>
2017-04-24 12:21:22 -07:00
</div>
<div class="uk-navbar-right">
2017-04-25 15:45:32 -07:00
<a uk-navbar-toggle-icon="" href="#offcanvas" uk-toggle="" class="uk-navbar-toggle uk-hidden@m uk-navbar-toggle-icon uk-icon"></a>
2017-04-24 12:21:22 -07:00
</div>
</nav>
</div>
<div class="uk-container-small uk-container uk-margin-medium-top uk-margin-medium-bottom">
<div class="uk-visible@m uk-responsive-width uk-width-3-4 uk-align-center">
2017-04-26 21:32:43 -07:00
<div class="uk-logo {% if app.request.requestUri == '/' %}uk-animation-scale-up{% endif %} uk-transform-origin-bottom-center">
2017-04-24 12:21:22 -07:00
<h2 class="uk-text-center">ERIC + KATRINA'S</h2>
2017-04-26 21:32:43 -07:00
<a href="{{ path('sikofitt_doughnutwedding_default_index') }}"><img class="uk-logo" src="{{ asset('images/logo.png') }}" /></a>
2017-04-24 12:21:22 -07:00
<h3 class="uk-margin-small-top uk-text-center">MAY 12TH, 2017</h3>
2017-04-22 12:43:30 -07:00
</div>
</div>
2017-02-10 21:34:31 -08:00
{% include 'flash_messages.html.twig' %}
2017-04-24 12:21:22 -07:00
2017-04-26 21:32:43 -07:00
2017-02-10 21:34:31 -08:00
{% block body %}{% endblock %}
2017-04-26 21:32:43 -07:00
2017-04-16 16:55:58 -07:00
{% include "social_login.html.twig" %}
{% block footer %}{% endblock %}
2017-04-24 12:21:22 -07:00
</div>
2017-04-26 21:32:43 -07:00
{% include 'off_canvas.html.twig' %}
2017-02-10 21:34:31 -08:00
</div>
</body>
</html>