]> Raphaƫl G. Git Repositories - userbundle/blobdiff - templates/base.html.twig
Add user bundle templates
[userbundle] / templates / base.html.twig
diff --git a/templates/base.html.twig b/templates/base.html.twig
new file mode 100644 (file)
index 0000000..f6e912c
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+    <head>
+        <meta charset="UTF-8">
+        <title>{% block title %}{{ title }} - {{ site }}{% endblock %}</title>
+        <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><circle cx=%2264%22 cy=%2264%22 r=%2264%22 fill=%22%2300c3f9%22 /><text y=%2294%22 x=%2214%22 font-size=%22120%22 fill=%22%23139%22>ru</text></svg>">
+        {% block stylesheets %}{% endblock %}
+        {% block javascripts %}{% endblock %}
+    </head>
+    <body>
+        {% block body %}
+                       <section id="rapsysuser_body">
+                               <header>
+                                       <h1><a href="{{ home_url }}">{{ site }}</a></h1>
+                               </header>
+                               {{ include('@RapsysUser/_message.html.twig') }}
+                               {% block content %}{% endblock %}
+                               {{ include('@RapsysUser/_footer.html.twig') }}
+                       </section>
+               {% endblock %}
+    </body>
+</html>