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

94 lines
5.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>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<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-22 12:43:30 -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-02-10 21:34:31 -08:00
<script src="{{ asset('js/vendor.min.js') }}" type="text/javascript"></script>
<script src="{{ asset('js/doughnutwedding.min.js') }}" type="text/javascript"></script>
</head>
<body>
{% block debug %}{% endblock %}
2017-04-24 12:21:22 -07:00
<div class="uk-offcanvas-content">
2017-02-10 21:34:31 -08:00
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-25 15:45:32 -07:00
<a class="uk-transform-origin-center-left uk-animation-scale-up" 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-25 15:45:32 -07:00
<div class="uk-logo uk-animation-scale-up uk-transform-origin-bottom-center">
2017-04-24 12:21:22 -07:00
<h2 class="uk-text-center">ERIC + KATRINA'S</h2>
2017-04-22 12:43:30 -07:00
<a href="{{ path('sikofitt_doughnutwedding_default_index') }}"><img 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
{% include 'off_canvas.html.twig' %}
2017-02-10 21:34:31 -08:00
{% block body %}{% endblock %}
2017-04-22 12:43:30 -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-25 15:45:32 -07:00
<div id="offcanvas" uk-offcanvas="overlay: true; mode:reveal">
<div class="uk-offcanvas-bar uk-offcanvas-bar-animation">
<button class="uk-offcanvas-close" type="button" uk-close></button>
<ul class="uk-nav uk-nav-primary">
<li class="uk-nav-header">Navigation</li>
<li class="uk-nav-divider"></li>
<li><a href="{{ path('sikofitt_doughnutwedding_default_index') }}"><span class="uk-margin-small-right" uk-icon="icon: home"></span> Home</a></li>
<li><a href="{{ path('sikofitt_doughnutwedding_default_ourstory') }}"><span class="uk-margin-small-right" uk-icon="icon: heart"></span> Our Story</a></li>
<li><a href="{{ path('sikofitt_doughnutwedding_rsvp_index') }}"><span class="uk-margin-small-right" uk-icon="icon: bolt"></span> RSVP</a></li>
<li><a href="{{ path('sikofitt_doughnutwedding_gallery_index') }}"><span class="uk-margin-small-right" uk-icon="icon: image"></span> Gallery</a></li>
<li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: location"></span> Location</a></li>
<li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: mail"></span> Get In Touch</a></li>
2017-04-24 12:21:22 -07:00
2017-04-25 15:45:32 -07:00
{% if not is_granted('IS_AUTHENTICATED_FULLY') %} {% set social_prefix = 'Login with' %} {% else %} {% set social_prefix = 'Link Account With' %} {% endif %}
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<li class="uk-nav-header">{{ app.user.name }}</li>
2017-04-24 12:21:22 -07:00
<li class="uk-nav-divider"></li>
2017-04-25 15:45:32 -07:00
<li><a href="#"><span class="uk-margin-small-right" uk-icon="icon: user"></span> Profile</a></li>
<li><a><span class="uk-margin-small-right" uk-icon="icon: lock"></span> Change password</a></li>
<li><a><span class="uk-margin-small-right" uk-icon="icon: sign-out"></span> Logout</a></li>
{% else %}
<li class="uk-nav-header">User</li>
<li class="uk-nav-divider"></li>
<li><a href="{{ path('fos_user_security_login') }}" title="Login"><span class="uk-margin-small-right" uk-icon="icon: sign-in"></span> Login</a></li>
<li><a href="{{ path('fos_user_registration_register') }}" title="Register"><span class="uk-margin-small-right" uk-icon="icon: star"></span> Register / RSVP</a></li>
{% endif %}
<li>
<div class="uk-position-fixed uk-position-bottom uk-padding-small">
<p class="uk-text-meta uk-text-center uk-margin-small-bottom">{{ social_prefix }}</p>
<ul class="uk-iconnav">
<li><a><span class="uk-margin-small-right" uk-icon="icon: facebook"></span></a></li>
<li><a><span class="uk-margin-small-right" uk-icon="icon: google"></span></a></li>
<li><a><span class="uk-margin-small-right" uk-icon="icon: instagram"></span></a></li>
<li><a><span class="uk-margin-small-right" uk-icon="icon: twitter"></span></a></li>
<li><a><span class="uk-margin-small-right uk-icon-image uk-login uk-login-yahoo"><img height="20" width="20" src="{{ asset('images/yahoo.svg') }}" uk-svg></span></a></li>
<li><a><span class="uk-margin-small-right uk-icon-image uk-login uk-login-amazon"><img height="20" width="20" src="{{ asset('images/amazon.svg') }}" uk-svg></span></a></li>
</ul>
</div>
</li>
2017-04-24 12:21:22 -07:00
</ul>
</div>
</div>
2017-02-10 21:34:31 -08:00
</div>
</body>
</html>