This commit is contained in:
Sergio Álvarez 2022-05-22 22:24:30 +02:00
parent 1a6281855f
commit c8545e4cc7
No known key found for this signature in database
GPG Key ID: BD711A37FE7DD77E
2 changed files with 8 additions and 20 deletions

View File

@ -7,6 +7,14 @@
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
<style>
body {
background-color: black;
color: white;
font-family: monospace;
}
</style>
{% endblock %}
{% block javascripts %}

View File

@ -3,26 +3,6 @@
{% block title %}Hello IndexController!{% endblock %}
{% block body %}
<style>
body {
background-color: black;
color: white;
font-family: monospace;
}
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
</style>
<div class="example-wrapper">
<h1>Hello {{ controller_name }}! ✅</h1>
This friendly message is coming from:
<ul>
<li>Your controller at <code><a href="{{ '/home/xergio/dev/symfony-playground/src/Controller/IndexController.php'|file_link(0) }}">src/Controller/IndexController.php</a></code></li>
<li>Your template at <code><a href="{{ '/home/xergio/dev/symfony-playground/templates/index/index.html.twig'|file_link(0) }}">templates/index/index.html.twig</a></code></li>
</ul>
</div>
<ul>
{% for table in schemaManager.listTables %}
<li>