shlink/templates/layout/default.html.twig
Alejandro Celaya 901fbd61a3 First commit
2016-04-10 09:38:07 +02:00

77 lines
3.1 KiB
Twig

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>{% block title %}{% endblock %} - zend-expressive</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css" />
<style>
body { padding-top: 60px; }
.app { display: flex; min-height: 100vh; flex-direction: column; }
.app-content { flex: 1; }
.app-footer { padding-bottom: 1em; }
.zf-green, h2 a { color: #68b604; }
</style>
{% block stylesheets %}{% endblock %}
</head>
<body class="app">
<header class="app-header">
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ path('home') }}">
<img src="{{ asset('zf-logo.png') }}" alt="Zend Expressive" />
</a>
</div>
<div class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li>
<a href="https://zendframework.github.io/zend-expressive/" target="_blank">
<i class="fa fa-book"></i> Docs
</a>
</li>
<li>
<a href="https://github.com/zendframework/zend-expressive" target="_blank">
<i class="fa fa-wrench"></i> Contribute
</a>
</li>
<li>
<a href="{{ path('api.ping') }}">
Ping Test
</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="app-content">
<main class="container">
{% block content %}{% endblock %}
</main>
</div>
<footer class="app-footer">
<div class="container">
<hr />
{% block footer %}
<p>
&copy; 2005 - {{ "now"|date("Y") }} by Zend Technologies Ltd. All rights reserved.
</p>
{% endblock %}
</div>
</footer>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
{% block javascript %}{% endblock %}
</body>
</html>