0.0.32 video links and change font

This commit is contained in:
SDE
2023-12-06 13:59:15 +03:00
parent 183000c979
commit 1f2c47410a
20 changed files with 116 additions and 56 deletions

View File

@@ -27,8 +27,9 @@ class Admin_Inline_WidgetForBlock(SuperInlineModelAdmin, Admin_Trans_BaseIconSta
(
# 'title',
'name', 'description', 'text',
'picture'
'picture',
),
'video_url',
('bg_color', ),
('but_title', 'but_color', 'but_icon'),
('url', 'order'),
@@ -53,11 +54,17 @@ class Admin_StackedInline_Block(Admin_Trans_GenericBaseIconStackedInline, SuperI
'fields': [
('block_type',
# 'title',
'name', 'description', 'picture'),
('bg_color', 'bg_image'),
'name', 'description'),
('picture', ),
('video_url',),
('bg_color', 'bg_image',),
# ('bg_video_url',),
('but_title', 'but_color', 'but_icon'),
('url',),
('child_in_row_count', 'order'),
(
# 'child_in_row_count',
'order',
),
]
})
]
@@ -125,11 +132,15 @@ class Admin_Block(Admin_Trans_BaseModelViewPage):
'fields': [
('block_type',
# 'title',
'name', 'description', 'picture'),
('bg_color', 'bg_image'),
'name', 'description'),
('picture', 'video_url'),
('bg_color', 'bg_image', 'bg_video_url'),
('but_title', 'but_color', 'but_icon'),
('url',),
('child_in_row_count', 'order'),
(
# 'child_in_row_count',
'order',
),
]
})
]