mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed breadcrumb styling in BS5
This commit is contained in:
parent
270d622265
commit
a07c43ea8a
2 changed files with 35 additions and 35 deletions
|
@ -73,7 +73,7 @@
|
|||
|
||||
{% macro breadcrumb_entity_link(entity, link_type = "list_parts") %}
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<ol class="breadcrumb py-2 px-3 rounded" style="background-color: var(--bs-gray-200);">
|
||||
{% for e in entity.pathArray %}
|
||||
<li class="breadcrumb-item {% if loop.last %}active{% endif %}">
|
||||
{% if link_type is not empty and not loop.last and e.id is not null %}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% extends "base.html.twig" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="bg-light rounded p-3">
|
||||
<div class="rounded p-4" style="background-color: var(--bs-gray-300);">
|
||||
<h1 class="display-3">{{ partdb_title }}</h1>
|
||||
<h4>
|
||||
{% trans %}version.caption{% endtrans %}: {{ shivas_app_version }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue