Style the Admin Panel with a modern theme and Khoj branding (#999)

Overview
- The default django admin panel UI looks pretty dated and didn't
  have any Khoj specific branding
- Used the Unfold Django admin panel theme for a modern look
- Used the Khoj logo and name in Admin panel title, headings, favicons

Details:
All models shown on Admin panel need to inherit from unfold's
ModelAdmin to get styling applied. So

- Make all models on Admin panel inherit from unfold's ModelAdmin
- Subclassed UserAdmin to inherit from unfold's ModelAdmin
- Deregistered the unused Auth Group model from the Admin panel
  We can add it back when its actually used. Avoid confusion for now
- Explicitly register DjangoJobExecution on admin panel and again make
  it inherit from the unfold.admin.ModelAdmin
This commit is contained in:
Debanjum
2024-12-04 23:53:43 -08:00
committed by GitHub
parent 9cc79c0fb7
commit 354dc12b3b
4 changed files with 66 additions and 27 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB