2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-09 21:30:54 +00:00

Added automatic listing of custom CSS sheets (no more hardcoded), added error message when current selection is not valid and select default theme

This commit is contained in:
eeintech
2020-09-09 14:55:32 -05:00
parent 8198fad6d5
commit 28585644ea
7 changed files with 112 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
# Generated by Django 3.0.7 on 2020-09-08 21:35
# Generated by Django 3.0.7 on 2020-09-09 19:50
from django.db import migrations, models
@@ -14,8 +14,8 @@ class Migration(migrations.Migration):
name='ColorTheme',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(blank=True, choices=[('', 'Default'), ('darker', 'Darker'), ('dark-reader', 'Dark Reader')], default='', max_length=20)),
('user', models.CharField(max_length=150)),
('name', models.CharField(blank=True, default='', max_length=20)),
('user', models.CharField(max_length=150, unique=True)),
],
),
]