Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[webProfilerBundle] Update the 'token not found' page with the new de…
…sign
- Loading branch information
Showing
3 changed files
with
45 additions
and
47 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/header.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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<div class="header clear_fix"> | ||
<h1> | ||
<img src="{{ asset('bundles/webprofiler/images/profiler/logo_symfony_profiler.gif') }}" alt="Symfony profiler"/> | ||
</h1> | ||
|
||
<div class="search"> | ||
<form method="get" action="http://symfony.com/search"> | ||
<div class="form_row"> | ||
<label for="search_id"> | ||
<img src="{{ asset('bundles/webprofiler/images/profiler/grey_magnifier.png') }}" alt="Search on Symfony website"/> | ||
</label> | ||
|
||
<input name="q" id="search_id" type="text" placeholder="Search on Symfony website"/> | ||
|
||
<button type="submit"> | ||
<span class="border_l"> | ||
<span class="border_r"> | ||
<span class="btn_bg">OK</span> | ||
</span> | ||
</span> | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> |
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
40 changes: 19 additions & 21 deletions
40
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/notfound.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,28 +1,26 @@ | ||
{% extends 'WebProfilerBundle:Profiler:base.html.twig' %} | ||
|
||
{% block body %} | ||
<div class="header"> | ||
<h1> | ||
<img alt="" src="{{ asset('bundles/webprofiler/images/profiler.png') }}" /> | ||
Symfony Profiler | ||
</h1> | ||
<div> | ||
Token "{{ token }}" does not exist. | ||
<div id="content"> | ||
{% include 'WebProfilerBundle:Profiler:header.html.twig' only %} | ||
|
||
<div class="resume"> | ||
<p> | ||
<strong>Token "{{ token }}" does not exist.</strong> | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<table> | ||
<tr> | ||
<td class="menu"> | ||
{% render 'WebProfilerBundle:Profiler:searchBar' with { 'token': token } %} | ||
|
||
{% include 'WebProfilerBundle:Profiler:admin.html.twig' with { 'token': token } only %} | ||
</td> | ||
<td class="main"> | ||
<div class="content"> | ||
<h2>Token "{{ token }}" does not exist.</h2> | ||
<div class="main"> | ||
<div class="clear_fix"> | ||
<div class="navigation"> | ||
{% render 'WebProfilerBundle:Profiler:searchBar' with { 'token': token } %} | ||
{% include 'WebProfilerBundle:Profiler:admin.html.twig' with { 'token': token } only %} | ||
</div> | ||
<div class="collector_content"> | ||
{% block panel '' %} | ||
</div> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% endblock %} |