# Generated by Django 6.0.3 on 2026-03-21 04:56

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('aa_customizer', '0007_custombranding_split_panel'),
    ]

    operations = [
        migrations.AlterField(
            model_name='custombranding',
            name='login_layout',
            field=models.CharField(choices=[('card', 'Centered Card (default)'), ('split', 'Split Screen — Background Left, Login Right'), ('split-right', 'Split Screen — Login Left, Background Right')], default='card', help_text='Centered Card: login card centered over a full-page background. Split Screen: divides the page into a background panel and a dark login panel — choose which side each appears on.', max_length=15, verbose_name='Login Page Layout'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_split_overlay_text',
            field=models.CharField(blank=True, help_text='Text shown on the background panel in split layouts. Leave blank to display the site name automatically.', max_length=200, verbose_name='Split Panel — Overlay Text'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_split_show_overlay_text',
            field=models.BooleanField(default=True, help_text='Tick to display text on the background panel; untick to hide it entirely.', verbose_name='Split Panel — Show Overlay Text'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='login_split_text_position',
            field=models.CharField(choices=[('top', 'Top'), ('center', 'Center'), ('bottom', 'Bottom')], default='center', help_text='Vertical position of the overlay text on the background panel.', max_length=10, verbose_name='Split Panel — Text Position'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='sidebar_logo',
            field=models.ImageField(blank=True, help_text='Upload a logo to replace the Alliance Auth logo in the sidebar. Recommended: transparent PNG. Ignored when a URL is also provided.', null=True, upload_to='aa_customizer/logos/', verbose_name='Sidebar Logo — Upload'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='sidebar_logo_url',
            field=models.URLField(blank=True, help_text='URL of a sidebar logo image. Takes priority over an uploaded file.', verbose_name='Sidebar Logo — URL'),
        ),
        migrations.AlterField(
            model_name='custombranding',
            name='sidebar_logo_width',
            field=models.PositiveSmallIntegerField(default=128, help_text='Display width of the sidebar logo in pixels.', verbose_name='Sidebar Logo Width (px)'),
        ),
    ]
