mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-26 20:54:21 +01:00
(ui) Update product categories layout
This commit is contained in:
parent
18f0cf3f0f
commit
9ac9a2a725
@ -79,7 +79,7 @@ const ProductCategories: React.FC<ProductCategoriesProps> = ({ onSuccess, onErro
|
||||
</div>
|
||||
</header>
|
||||
<FabAlert level="warning">
|
||||
<HtmlTranslate trKey="app.admin.store.product_categories.info" />
|
||||
{t('app.admin.store.product_categories.info')}
|
||||
</FabAlert>
|
||||
<ProductCategoriesTree
|
||||
productCategories={productCategories}
|
||||
|
@ -1,20 +1,16 @@
|
||||
.product-categories {
|
||||
max-width: 1600px;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 6rem;
|
||||
@include grid-col(12);
|
||||
gap: 0 3.2rem;
|
||||
|
||||
header {
|
||||
@include header();
|
||||
grid-column: 2 / -2;
|
||||
}
|
||||
.fab-alert {
|
||||
grid-column: 2 / -2;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
& > header {
|
||||
padding-bottom: 0;
|
||||
@include header($sticky: true);
|
||||
gap: 2.4rem;
|
||||
}
|
||||
|
||||
&-tree {
|
||||
grid-column: 2 / -2;
|
||||
& > *:not(:first-child) {
|
||||
margin-top: 1.6rem;
|
||||
}
|
||||
|
@ -31,7 +31,7 @@
|
||||
<uib-tab heading="{{ 'app.admin.trainings.all_trainings' | translate }}" index="0" class="manage-trainings">
|
||||
<trainings on-error="onError" on-success="on-success"></trainings>
|
||||
|
||||
<!--<div class="m-t m-b">
|
||||
<div class="m-t m-b">
|
||||
<button type="button" class="btn btn-warning" ui-sref="app.admin.trainings_new" ng-show="isAuthorized('admin')">
|
||||
<i class="fa fa-plus m-r"></i>
|
||||
<span translate>{{ 'app.admin.trainings.add_a_new_training' }}</span>
|
||||
@ -72,7 +72,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>-->
|
||||
</table>
|
||||
</uib-tab>
|
||||
|
||||
<uib-tab heading="{{ 'app.admin.trainings.trainings_monitoring' | translate }}" class="post-tracking" index="2">
|
||||
|
@ -2158,8 +2158,8 @@ en:
|
||||
the_orders: "Orders"
|
||||
back_to_list: "Back to list"
|
||||
product_categories:
|
||||
title: "Categories"
|
||||
info: "<strong>Information:</strong></br>Find below all the categories created. The categories are arranged on two levels maximum, you can arrange them with a drag and drop. The order of the categories will be identical on the public view and the list below. Please note that you can delete a category or a sub-category even if they are associated with products. The latter will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted."
|
||||
title: "All categories"
|
||||
info: "Arrange categories with a drag and drop on a maximum of two levels. The order of the categories will be identical between the list below and the public view. Please note that you can delete a category or a sub-category even if they are associated with products. Those products will be left without categories. If you delete a category that contains sub-categories, the latter will also be deleted."
|
||||
manage_product_category:
|
||||
create: "Create a product category"
|
||||
update: "Modify the product category"
|
||||
|
Loading…
x
Reference in New Issue
Block a user