Add tabbed changeform support (#211).
* WIP : basic templates * Add params * Working override * Use headerless version only during tabs * Move CSS to separate file * Extract js to static folder * script is not self-closing * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * use classList for updating classes * Add EOF (newline) to new text files * a simple test to keep up code coverage * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fieldsets are not tabbed by default * rename templatetag * use default page if show_*_tabs are false * Narrow down css to admin-interface * Fix typo * keep codacy happy * prefix tab classes with tabbed-changeform- * horizontal scrolling * Update colors * color updates * add back missing font bold Co-authored-by: vaz <vmohan@lenbox.io> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Generated by Django 4.1.3 on 2022-11-23 11:01
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
("admin_interface", "0027_theme_list_filter_removal_links"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="show_fieldsets_as_tabs",
|
||||
field=models.BooleanField(default=False, verbose_name="fieldsets as tabs"),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name="theme",
|
||||
name="show_inlines_as_tabs",
|
||||
field=models.BooleanField(default=True, verbose_name="inlines as tabs"),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user