moved products menu up to save width
This commit is contained in:
@@ -27,8 +27,13 @@
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{% set category_base = "/admin/catalog/products" %}
|
||||
{% set category_suffix = "&audience=" ~ audience %}
|
||||
<div class="mt-4 flex flex-col gap-6 md:flex-row md:items-start">
|
||||
{% include "admin/partials/category_filter.html" %}
|
||||
|
||||
<!-- discount profiles applied to this audience -->
|
||||
<section class="mt-4 rounded-radius border border-outline bg-surface p-6 dark:border-outline-dark dark:bg-surface-dark-alt">
|
||||
<section class="min-w-0 flex-1 rounded-radius border border-outline bg-surface p-6 dark:border-outline-dark dark:bg-surface-dark-alt">
|
||||
<h2 class="text-lg font-semibold text-on-surface-strong dark:text-on-surface-dark-strong">{{ t(key="discount-profiles", lang=lang | default(value='sk')) }}</h2>
|
||||
<p class="mt-1 text-sm text-on-surface/70 dark:text-on-surface-dark/70">
|
||||
{% if business %}{{ t(key="apply-profiles-business-hint", lang=lang | default(value='sk')) }}{% else %}{{ t(key="apply-profiles-personal-hint", lang=lang | default(value='sk')) }}{% endif %}
|
||||
@@ -54,12 +59,9 @@
|
||||
</p>
|
||||
{% endif %}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
{% set category_base = "/admin/catalog/products" %}
|
||||
{% set category_suffix = "&audience=" ~ audience %}
|
||||
<div class="mt-4 flex flex-col gap-6 md:flex-row md:items-start">
|
||||
{% include "admin/partials/category_filter.html" %}
|
||||
<div class="min-w-0 flex-1 {{ ui::table_wrap_cls() }}">
|
||||
<div class="mt-4 {{ ui::table_wrap_cls() }}">
|
||||
{% if products | length > 0 %}
|
||||
<table class="{{ ui::table_cls() }}">
|
||||
<thead class="{{ ui::thead_cls() }}">
|
||||
@@ -144,5 +146,4 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user