PHP Classes

File: templates/default/homepage.html.twig

Recommend this page to a friend!
  Classes of Manolo Salsas   Symfony Create Bundle Skeleton   templates/default/homepage.html.twig   Download  
File: templates/default/homepage.html.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Symfony Create Bundle Skeleton
Application to create reusable Symfony Bundles
Author: By
Last change:
Date: 4 years ago
Size: 1,368 bytes
 

Contents

Class file image Download
{% extends 'base.html.twig' %} {% block body_id 'homepage' %} {# the homepage is a special page which displays neither a header nor a footer. this is done with the 'trick' of defining empty Twig blocks without any content #} {% block header %}{% endblock %} {% block footer %}{% endblock %} {% block body %} <div class="page-header"> <h1>{{ 'title.homepage'|trans|raw }}</h1> </div> <div class="row"> <div class="col-sm-6"> <div class="jumbotron"> <p> {{ 'help.browse_app'|trans|raw }} </p> <p> <a class="btn btn-primary btn-lg" href="{{ path('blog_index') }}"> <i class="fa fa-users" aria-hidden="true"></i> {{ 'action.browse_app'|trans }} </a> </p> </div> </div> <div class="col-sm-6"> <div class="jumbotron"> <p> {{ 'help.browse_admin'|trans|raw }} </p> <p> <a class="btn btn-primary btn-lg" href="{{ path('admin_index') }}"> <i class="fa fa-lock" aria-hidden="true"></i> {{ 'action.browse_admin'|trans }} </a> </p> </div> </div> </div> {% endblock %}