Next major version 2 with PHP 8.1, Symfony 6, Tabler UI, 2FA ... (#2902)
This commit is contained in:
16
templates/bundles/TablerBundle/includes/footer.html.twig
Normal file
16
templates/bundles/TablerBundle/includes/footer.html.twig
Normal file
@@ -0,0 +1,16 @@
|
||||
{% if config('theme.show_about') %}
|
||||
<div class="row text-center align-items-center flex-row">
|
||||
<div class="col-12 col-lg-auto mt-3 mt-lg-0">
|
||||
<ul class="list-inline list-inline-dots mb-0">
|
||||
<li class="list-inline-item">
|
||||
Copyright © <a href="https://www.kevinpapst.de/" target="_blank" class="link-secondary">Kevin Papst</a>
|
||||
</li>
|
||||
<li class="list-inline-item">
|
||||
<a class="link-secondary" href="{{ path('about') }}">
|
||||
{{ 'about.title'|trans }}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
14
templates/bundles/TablerBundle/includes/logo.html.twig
Normal file
14
templates/bundles/TablerBundle/includes/logo.html.twig
Normal file
@@ -0,0 +1,14 @@
|
||||
<a href="{{ path('tabler_welcome'|tabler_route) }}">
|
||||
{% set logo = config('theme.branding.logo') %}
|
||||
{% set company = config('theme.branding.company') %}
|
||||
{% if company is not empty %}
|
||||
<span>{{ company }}</span>
|
||||
{% elseif logo is not empty %}
|
||||
<img src="{{ logo }}" class="navbar-brand-image" style="max-height:32px" alt="{{ company }}">
|
||||
{% elseif tabler_bundle.getLogoUrl() is not empty %}
|
||||
<img class="navbar-brand-image" alt="{{ company }}" width="110" height="32"
|
||||
src="{% if '://' in tabler_bundle.getLogoUrl() %}{{ tabler_bundle.getLogoUrl() }}{% else %}{{ asset(tabler_bundle.getLogoUrl()) }}{% endif %}">
|
||||
{% else %}
|
||||
<span>{{ get_title()|raw }}</span>
|
||||
{% endif %}
|
||||
</a>
|
||||
Reference in New Issue
Block a user