-
-
Notifications
You must be signed in to change notification settings - Fork 857
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Style the Admin Panel with a modern theme and Khoj branding
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
- Loading branch information
Showing
4 changed files
with
66 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters