Skip to content

Commit

Permalink
Update admin sidebar
Browse files Browse the repository at this point in the history
This merges options that should go together more intutively, as well as adding contest lock to the sidebar.
  • Loading branch information
kiritofeng authored and quantum5 committed Oct 2, 2022
1 parent 994e117 commit bd14f6e
Showing 1 changed file with 16 additions and 10 deletions.
26 changes: 16 additions & 10 deletions dmoj/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,13 +176,14 @@
'children': [
'judge.ProblemGroup',
'judge.ProblemType',
'judge.License',
],
},
('judge.Submission', 'fa-check-square-o'),
{
'model': 'judge.Submission',
'icon': 'fa-check-square-o',
'model': 'judge.Language',
'icon': 'fa-file-code-o',
'children': [
'judge.Language',
'judge.Judge',
],
},
Expand All @@ -194,19 +195,20 @@
'judge.ContestTag',
],
},
('judge.Ticket', 'fa-bell'),
{
'model': 'auth.User',
'icon': 'fa-user',
'children': [
'judge.Profile',
'auth.Group',
'registration.RegistrationProfile',
],
},
{
'model': 'judge.Profile',
'icon': 'fa-user-plus',
'model': 'judge.Organization',
'icon': 'fa-users',
'children': [
'judge.Organization',
'judge.OrganizationRequest',
'judge.Class',
],
Expand All @@ -215,16 +217,20 @@
'model': 'judge.NavigationBar',
'icon': 'fa-bars',
'children': [
'judge.MiscConfig',
'judge.License',
'sites.Site',
'redirects.Redirect',
],
},
('judge.BlogPost', 'fa-rss-square'),
('judge.Comment', 'fa-comment-o'),
{
'model': 'judge.Comment',
'icon': 'fa-comment-o',
'children': [
'judge.CommentLock',
],
},
('flatpages.FlatPage', 'fa-file-text-o'),
('judge.Solution', 'fa-pencil'),
('judge.MiscConfig', 'fa-question-circle'),
],
'dashboard': {
'breadcrumbs': True,
Expand Down

0 comments on commit bd14f6e

Please sign in to comment.