Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extracted common layout for internal/core pages
CSS styles should probably be renamed at some point.
- Loading branch information
Showing
3 changed files
with
24 additions
and
14 deletions.
There are no files selected for viewing
6 changes: 5 additions & 1 deletion
6
src/Symfony/Bundle/FrameworkBundle/Resources/views/Exception/exception_full.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 18 additions & 10 deletions
28
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/toolbar_redirect.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Redirection Intercepted</title> | ||
</head> | ||
<body> | ||
<h1>This Request redirects to<br /><a href="{{ location }}">{{ location }}</a>.</h1> | ||
<h4>The redirect was intercepted by the web debug toolbar to help debugging.<br/>For more information, see the "intercept-redirects" option of the Profiler.</h4> | ||
</body> | ||
</html> | ||
{% extends 'FrameworkBundle::layout.html.twig' %} | ||
|
||
{% block title 'Redirection Intercepted' %} | ||
|
||
{% block body %} | ||
<div class="sf-exceptionreset"> | ||
<div class="block_exception"> | ||
<h1>This request redirects to <a href="{{ location }}">{{ location }}</a>.</h1> | ||
|
||
<p> | ||
<small> | ||
The redirect was intercepted by the web debug toolbar to help debugging. | ||
For more information, see the "intercept-redirects" option of the Profiler. | ||
</small> | ||
</p> | ||
</div> | ||
</div> | ||
{% endblock %} |
Shouldnt it be base.html.twig as encouraged in the docs and manual ?