diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/config.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/config.html.twig index a4800d4ca52f0..b0353b87db310 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/config.html.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/config.html.twig @@ -118,7 +118,13 @@
- {{ collector.symfonyversion }} + + {{ collector.symfonyversion }} + + {% if collector.symfonylts %} + (LTS) + {% endif %} + Symfony version
@@ -137,33 +143,39 @@ {% endif %}
- {% set symfony_status = { dev: 'Unstable Version', stable: 'Stable Version', eom: 'Maintenance Ended', eol: 'Version Expired' } %} + {% set symfony_status = { dev: 'In Development', stable: 'Maintained', eom: 'Security Fixes Only', eol: 'Unmaintained' } %} {% set symfony_status_class = { dev: 'warning', stable: 'success', eom: 'warning', eol: 'error' } %} - - - - - - - - - - - - - - - - - -
Symfony StatusBugs {{ collector.symfonystate in ['eom', 'eol'] ? 'were' : 'are' }} fixed untilSecurity issues {{ collector.symfonystate == 'eol' ? 'were' : 'are' }} fixed until
- {{ symfony_status[collector.symfonystate]|upper }} - {% if collector.symfonylts %} -   Long-Term Support - {% endif %} - {{ collector.symfonyeom }}{{ collector.symfonyeol }} - View roadmap -
+ +
+
+
+ + {{ symfony_status[collector.symfonystate]|upper }} + + Your Symfony version status +
+ + {% if collector.symfonylts %} +
+ + {{ collector.symfonyeom }} + + Bug fixes {{ collector.symfonystate in ['eom', 'eol'] ? 'ended on' : 'until' }} +
+ {% endif %} + +
+ + {{ collector.symfonyeol }} + + + {{ collector.symfonylts ? 'Security fixes' : 'Bug fixes and security fixes' }} + {{ 'eol' == collector.symfonystate ? 'ended on' : 'until' }} +
+
+
+ + View Symfony {{ collector.symfonyversion }} release details

PHP Configuration

diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig index 466b9360836a8..efd37a24359c2 100644 --- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig +++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig @@ -665,6 +665,7 @@ table tbody td.num-col { text-align: center; } .metric-group { + align-items: stretch; flex-direction: row; padding: 10px 0; } @@ -673,6 +674,7 @@ table tbody td.num-col { border: none; border-radius: 0; box-shadow: none; + justify-content: flex-end; margin: 0; min-height: auto; padding: 0 15px; @@ -2050,6 +2052,48 @@ pre.sf-dump, pre.sf-dump .sf-dump-default { text-decoration: none; } +{# Configuration panel + ========================================================================= #} +.config-symfony-version-lts { + border: 0; + color: var(--color-muted); + font-size: 21px; + line-height: 33px; +} +.config-symfony-version-lts[title] { + text-decoration: none; +} +.config-symfony-version-status-badge { + background-color: var(--badge-background); + border-radius: 4px; + color: var(--badge-color); + display: inline-block; + font-size: 15px; + font-weight: bold; + margin: 10px 0 5px; + padding: 3px 7px; + white-space: nowrap; +} +.config-symfony-version-status-badge.status-success { + background-color: var(--badge-success-background); + color: var(--badge-success-color); +} +.config-symfony-version-status-badge.status-warning { + background-color: var(--badge-warning-background); + color: var(--badge-warning-color); +} +.config-symfony-version-status-badge.status-error { + background-color: var(--badge-danger-background); + color: var(--badge-danger-color); +} +.config-symfony-version-roadmap-link { + display: inline-block; + margin: 10px 5px 5px; +} +.config-symfony-eol { + margin-top: 5px; +} + {# Search Results page ========================================================================= #} #search-results td {