# Generated by Django 5.0 on 2023-12-26 02:49

import filebrowser.fields
from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Button',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ordering', models.IntegerField(default=0, verbose_name='Kolejność')),
                ('published', models.BooleanField(default=True, verbose_name='Przycisk opublikowany')),
                ('title', models.CharField(max_length=50, verbose_name='Tekst na przycisku')),
                ('href', models.CharField(max_length=50, verbose_name='Link')),
                ('blank', models.BooleanField(verbose_name='Otwórz w nowej karcie')),
            ],
            options={
                'verbose_name': 'Przycisk nawigacji (zielony)',
                'verbose_name_plural': 'Przyciski nawigacji (zielone)',
                'ordering': ['ordering'],
                'abstract': False,
            },
        ),
        migrations.CreateModel(
            name='UpperButton',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('ordering', models.IntegerField(default=0, verbose_name='Kolejność')),
                ('published', models.BooleanField(default=True, verbose_name='Przycisk opublikowany')),
                ('title', models.CharField(max_length=50, verbose_name='Tytuł przycisku')),
                ('photo', filebrowser.fields.FileBrowseField(blank=True, max_length=200, verbose_name='Ikona')),
                ('href', models.CharField(max_length=50, verbose_name='Link')),
                ('blank', models.BooleanField(verbose_name='Otwórz w nowej karcie')),
            ],
            options={
                'verbose_name': 'Przycisk górny (łabs, atu, itd...)',
                'verbose_name_plural': 'Przyciski górne (łabs, atu, itd...)',
                'ordering': ['ordering'],
                'abstract': False,
            },
        ),
    ]
