NDOJ/judge/fixtures/navbar.json

115 lines
2.6 KiB
JSON
Raw Normal View History

2020-01-21 06:35:58 +00:00
[
{
"fields": {
"key": "problems",
"label": "Problems",
"level": 0,
"lft": 1,
"order": 1,
"parent": null,
"path": "/problems/",
"regex": "^/problem",
"rght": 2,
"tree_id": 1
},
"model": "judge.navigationbar",
"pk": 1
},
{
"fields": {
"key": "submit",
"label": "Submissions",
"level": 0,
"lft": 1,
"order": 2,
"parent": null,
"path": "/submissions/",
"regex": "^/submi|^/src/",
"rght": 2,
"tree_id": 2
},
"model": "judge.navigationbar",
"pk": 2
},
{
"fields": {
"key": "user",
"label": "Users",
"level": 0,
"lft": 1,
"order": 3,
"parent": null,
"path": "/users/",
"regex": "^/user",
"rght": 2,
"tree_id": 3
},
"model": "judge.navigationbar",
"pk": 3
},
{
"fields": {
"key": "contest",
"label": "Contests",
"level": 0,
"lft": 1,
"order": 5,
"parent": null,
"path": "/contests/",
"regex": "^/contest",
"rght": 2,
"tree_id": 4
},
"model": "judge.navigationbar",
"pk": 5
},
{
"fields": {
"key": "about",
"label": "About",
"level": 0,
"lft": 1,
"order": 6,
"parent": null,
"path": "/about/",
"regex": "^/about/$",
"rght": 4,
2020-01-27 20:55:19 +00:00
"tree_id": 6
2020-01-21 06:35:58 +00:00
},
"model": "judge.navigationbar",
"pk": 6
},
{
"fields": {
"key": "status",
"label": "Status",
"level": 1,
"lft": 2,
"order": 7,
"parent": 6,
"path": "/status/",
"regex": "^/status/$|^/judge/",
"rght": 3,
2020-01-27 20:55:19 +00:00
"tree_id": 6
2020-01-21 06:35:58 +00:00
},
"model": "judge.navigationbar",
"pk": 7
2020-01-27 20:53:09 +00:00
},
{
"fields": {
"key": "chat",
"label": "Chat",
"level": 0,
"lft": 1,
"order": 8,
"parent": null,
"path": "/chat/",
"regex": "^/chat",
"rght": 2,
2020-01-27 20:55:19 +00:00
"tree_id": 5
2020-01-27 20:53:09 +00:00
},
"model": "judge.navigationbar",
"pk": 8
2020-01-21 06:35:58 +00:00
}
]