Fetching contributors…
Cannot retrieve contributors at this time
64 lines (58 sloc) 3.25 KB
<!DOCTYPE html>
<html lang="en">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title '' %}</title>
<link rel="stylesheet" href="//">
<nav class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<a class="navbar-brand" href="/">Home</a>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li><a href="{{ path('user.list') }}">List users</a></li>
{% if app.user %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Hello, {{ app.user.displayName }}!
<span class="caret"></span>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ path('user') }}"><span class="glyphicon glyphicon-user"></span> View your profile</a></li>
<li><a href="{{ path('user.edit', { id: }) }}"><span class="glyphicon glyphicon-edit"></span> Edit your profile</a></li>
<li><a href="{{ path('user.logout') }}"><span class="glyphicon glyphicon-off"></span> Sign out</a></li>
{% else %}
<li><a href="{{ path('user.login') }}">Sign in</a></li>
<li><a href="{{ path('user.register') }}">Create account</a></li>
{% endif %}
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
<div class="container">
{% if app.session.flashbag.has('alert') %}
{% for flashMessage in app.session.flashbag.get('alert') %}
<div class="alert alert-info">{{ flashMessage }}</div>
{% endfor %}
{% endif %}
{% block content %}{% endblock %}
<script src=""></script>
<script src=""></script>