ImgURL Pro容器部署
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.7 KiB

2 years ago
<div id="floating_menubar" class="d-print-none"></div>
<nav id="server-breadcrumb" aria-label="breadcrumb">
<ol class="breadcrumb breadcrumb-navbar">
<li class="breadcrumb-item">
{{ show_icons('TabsMode') ? get_image('s_host') }}
<a href="{{ url(server.url) }}" data-raw-text="{{ server.name }}" draggable="false">
{% if show_text('TabsMode') %}{% trans 'Server:' %}{% endif %}
{{ server.name }}
</a>
</li>
{% if database is not empty %}
<li class="breadcrumb-item">
{{ show_icons('TabsMode') ? get_image('s_db') }}
<a href="{{ url(database.url, {'db': database.name}) }}" data-raw-text="{{ database.name }}" draggable="false">
{% if show_text('TabsMode') %}{% trans 'Database:' %}{% endif %}
{{ database.name }}
</a>
</li>
{% if table is not empty %}
<li class="breadcrumb-item">
{{ show_icons('TabsMode') ? get_image(table.is_view ? 'b_views' : 's_tbl') }}
<a href="{{ url(table.url, {'db': database.name, 'table': table.name}) }}" data-raw-text="{{ table.name }}" draggable="false">
{% if show_text('TabsMode') %}
{% if table.is_view %}
{% trans 'View:' %}
{% else %}
{% trans 'Table:' %}
{% endif %}
{% endif %}
{{ table.name }}
</a>
</li>
{% if table.comment is not empty %}
<span class="breadcrumb-comment" draggable="false">“{{ table.comment }}”</span>
{% endif %}
{% elseif database.comment is not empty %}
<span class="breadcrumb-comment" draggable="false">“{{ database.comment }}”</span>
{% endif %}
{% endif %}
</ol>
</nav>