mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 18:03:37 +02:00
Improved title for admin pages.
This commit is contained in:
parent
bebe70d28e
commit
e7e73602a0
1 changed files with 184 additions and 176 deletions
|
@ -1,16 +1,24 @@
|
|||
{% extends "main_card.html.twig" %}
|
||||
|
||||
{% block card_type %}
|
||||
{% block title %}
|
||||
{% if entity.id is null %}
|
||||
{{ block("new_title") }}
|
||||
{% else %}
|
||||
{{ block("edit_title") }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block card_type %}
|
||||
{% if timeTravel is defined and timeTravel is not null %}
|
||||
bg-primary-striped text-white
|
||||
{% else %}
|
||||
bg-primary text-white
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
{% form_theme form.log_comment 'bootstrap_4_layout.html.twig' %}
|
||||
{% form_theme form.log_comment 'bootstrap_4_layout.html.twig' %}
|
||||
|
||||
{% block card_content %}
|
||||
{% block card_content %}
|
||||
<div class="row">
|
||||
<div class="col-sm-4">
|
||||
|
||||
|
@ -194,4 +202,4 @@
|
|||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue