Browse Source

atualizando menus conforme producao

diagnosticos
Felipe Vieira 13 years ago
parent
commit
1bee55960b
  1. 443
      sigi/fixtures/initial_data.json
  2. 1
      sigi/fixtures/treemenus/initial_data.json

443
sigi/fixtures/initial_data.json

@ -1,443 +0,0 @@
[
{
"pk": 1,
"model": "treemenus.menuitem",
"fields": {
"parent": null,
"level": 0,
"url": "",
"menu": 1,
"rank": 0,
"caption": "Root",
"named_url": ""
}
},
{
"pk": 2,
"model": "treemenus.menuitem",
"fields": {
"parent": 1,
"level": 1,
"url": "/",
"menu": 1,
"rank": 0,
"caption": "Dashboard",
"named_url": ""
}
},
{
"pk": 3,
"model": "treemenus.menuitem",
"fields": {
"parent": 1,
"level": 1,
"url": "/casas/casalegislativa/",
"menu": 1,
"rank": 2,
"caption": "Casas Legislativas",
"named_url": ""
}
},
{
"pk": 4,
"model": "treemenus.menuitem",
"fields": {
"parent": 1,
"level": 1,
"url": "/parlamentares/parlamentar/",
"menu": 1,
"rank": 3,
"caption": "Parlamentares",
"named_url": ""
}
},
{
"pk": 5,
"model": "treemenus.menuitem",
"fields": {
"parent": 4,
"level": 2,
"url": "/parlamentares/parlamentar/",
"menu": 1,
"rank": 0,
"caption": "Parlamentares",
"named_url": ""
}
},
{
"pk": 6,
"model": "treemenus.menuitem",
"fields": {
"parent": 4,
"level": 2,
"url": "/parlamentares/partido/",
"menu": 1,
"rank": 1,
"caption": "Partidos",
"named_url": ""
}
},
{
"pk": 7,
"model": "treemenus.menuitem",
"fields": {
"parent": 1,
"level": 1,
"url": "/mesas/mesadiretora/",
"menu": 1,
"rank": 4,
"caption": "Mesas Diretoras",
"named_url": ""
}
},
{
"pk": 8,
"model": "treemenus.menuitem",
"fields": {
"parent": 7,
"level": 2,
"url": "/mesas/mesadiretora/",
"menu": 1,
"rank": 0,
"caption": "Mesas Diretoras",
"named_url": ""
}
},
{
"pk": 9,
"model": "treemenus.menuitem",
"fields": {
"parent": 7,
"level": 2,
"url": "/mesas/cargo/",
"menu": 1,
"rank": 1,
"caption": "Cargos",
"named_url": ""
}
},
{
"pk": 10,
"model": "treemenus.menuitem",
"fields": {
"parent": 7,
"level": 2,
"url": "/mesas/coligacao/",
"menu": 1,
"rank": 2,
"caption": "Coliga\u00e7\u00f5es",
"named_url": ""
}
},
{
"pk": 11,
"model": "treemenus.menuitem",
"fields": {
"parent": 7,
"level": 2,
"url": "/mesas/composicaocoligacao/",
"menu": 1,
"rank": 3,
"caption": "Composi\u00e7\u00f5es das coliga\u00e7\u00f5es",
"named_url": ""
}
},
{
"pk": 12,
"model": "treemenus.menuitem",
"fields": {
"parent": 7,
"level": 2,
"url": "/mesas/legislatura/",
"menu": 1,
"rank": 4,
"caption": "Legislaturas",
"named_url": ""
}
},
{
"pk": 13,
"model": "treemenus.menuitem",
"fields": {
"parent": 7,
"level": 2,
"url": "/mesas/sessaolegislativa/",
"menu": 1,
"rank": 5,
"caption": "Sess\u00f5es Legilastivas",
"named_url": ""
}
},
{
"pk": 14,
"model": "treemenus.menuitem",
"fields": {
"parent": 1,
"level": 1,
"url": "/convenios/convenio/",
"menu": 1,
"rank": 5,
"caption": "Conv\u00eanios",
"named_url": ""
}
},
{
"pk": 15,
"model": "treemenus.menuitem",
"fields": {
"parent": 1,
"level": 1,
"url": "/servicos/servico/",
"menu": 1,
"rank": 6,
"caption": "Servi\u00e7os",
"named_url": ""
}
},
{
"pk": 16,
"model": "treemenus.menuitem",
"fields": {
"parent": 1,
"level": 1,
"url": "/inventario/bem/",
"menu": 1,
"rank": 7,
"caption": "Invent\u00e1rio",
"named_url": ""
}
},
{
"pk": 17,
"model": "treemenus.menuitem",
"fields": {
"parent": 16,
"level": 2,
"url": "/inventario/bem/",
"menu": 1,
"rank": 0,
"caption": "Bens",
"named_url": ""
}
},
{
"pk": 18,
"model": "treemenus.menuitem",
"fields": {
"parent": 16,
"level": 2,
"url": "/inventario/equipamento/",
"menu": 1,
"rank": 2,
"caption": "Equipamentos",
"named_url": ""
}
},
{
"pk": 19,
"model": "treemenus.menuitem",
"fields": {
"parent": 16,
"level": 2,
"url": "/inventario/fabricante/",
"menu": 1,
"rank": 3,
"caption": "Fabricantes",
"named_url": ""
}
},
{
"pk": 20,
"model": "treemenus.menuitem",
"fields": {
"parent": 16,
"level": 2,
"url": "/inventario/fornecedor/",
"menu": 1,
"rank": 1,
"caption": "Fornecedores",
"named_url": ""
}
},
{
"pk": 21,
"model": "treemenus.menuitem",
"fields": {
"parent": 16,
"level": 2,
"url": "/inventario/modeloequipamento/",
"menu": 1,
"rank": 5,
"caption": "Modelos de equipamentos",
"named_url": ""
}
},
{
"pk": 22,
"model": "treemenus.menuitem",
"fields": {
"parent": 16,
"level": 2,
"url": "/inventario/tipoequipamento/",
"menu": 1,
"rank": 4,
"caption": "Tipos de equipamentos",
"named_url": ""
}
},
{
"pk": 23,
"model": "treemenus.menuitem",
"fields": {
"parent": 1,
"level": 1,
"url": "/contatos/municipio/",
"menu": 1,
"rank": 1,
"caption": "Munic\u00edpios",
"named_url": ""
}
},
{
"pk": 24,
"model": "treemenus.menuitem",
"fields": {
"parent": 23,
"level": 2,
"url": "/contatos/municipio/",
"menu": 1,
"rank": 0,
"caption": "Munic\u00edpios",
"named_url": ""
}
},
{
"pk": 25,
"model": "treemenus.menuitem",
"fields": {
"parent": 23,
"level": 2,
"url": "/contatos/unidadefederativa/",
"menu": 1,
"rank": 1,
"caption": "Unidades Federativas",
"named_url": ""
}
},
{
"pk": 26,
"model": "treemenus.menuitem",
"fields": {
"parent": null,
"level": 0,
"url": "",
"menu": 2,
"rank": 0,
"caption": "Root",
"named_url": ""
}
},
{
"pk": 27,
"model": "treemenus.menuitem",
"fields": {
"parent": null,
"level": 0,
"url": "",
"menu": 3,
"rank": 0,
"caption": "Root",
"named_url": ""
}
},
{
"pk": 28,
"model": "treemenus.menuitem",
"fields": {
"parent": 26,
"level": 1,
"url": "/password_change/",
"menu": 2,
"rank": 0,
"caption": "Alterar senha",
"named_url": ""
}
},
{
"pk": 29,
"model": "treemenus.menuitem",
"fields": {
"parent": 26,
"level": 1,
"url": "/logout/",
"menu": 2,
"rank": 1,
"caption": "Encerrar sess\u00e3o",
"named_url": ""
}
},
{
"pk": 30,
"model": "treemenus.menuitem",
"fields": {
"parent": 27,
"level": 1,
"url": "/auth/",
"menu": 3,
"rank": 0,
"caption": "Usu\u00e1rios & Grupos",
"named_url": ""
}
},
{
"pk": 31,
"model": "treemenus.menuitem",
"fields": {
"parent": 27,
"level": 1,
"url": "/treemenus/menu/",
"menu": 3,
"rank": 1,
"caption": "Menus",
"named_url": ""
}
},
{
"pk": 32,
"model": "treemenus.menuitem",
"fields": {
"parent": 27,
"level": 1,
"url": "/sites/site/",
"menu": 3,
"rank": 2,
"caption": "Sites",
"named_url": ""
}
},
{
"pk": 1,
"model": "treemenus.menu",
"fields": {
"root_item": 1,
"name": "Barra de navega\u00e7\u00e3o"
}
},
{
"pk": 2,
"model": "treemenus.menu",
"fields": {
"root_item": 26,
"name": "Usu\u00e1rio"
}
},
{
"pk": 3,
"model": "treemenus.menu",
"fields": {
"root_item": 27,
"name": "Administrador"
}
}
]

1
sigi/fixtures/treemenus/initial_data.json

@ -0,0 +1 @@
[{"pk": 1, "model": "treemenus.menuitem", "fields": {"parent": null, "level": 0, "url": "", "menu": 1, "rank": 0, "caption": "Root", "named_url": ""}}, {"pk": 26, "model": "treemenus.menuitem", "fields": {"parent": null, "level": 0, "url": "", "menu": 2, "rank": 0, "caption": "Root", "named_url": ""}}, {"pk": 27, "model": "treemenus.menuitem", "fields": {"parent": null, "level": 0, "url": "", "menu": 3, "rank": 0, "caption": "Root", "named_url": ""}}, {"pk": 32, "model": "treemenus.menuitem", "fields": {"parent": 27, "level": 1, "url": "/sites/site/", "menu": 3, "rank": 2, "caption": "Sites", "named_url": ""}}, {"pk": 24, "model": "treemenus.menuitem", "fields": {"parent": 23, "level": 2, "url": "/sigi/contatos/municipio/", "menu": 1, "rank": 0, "caption": "Munic\u00edpios", "named_url": ""}}, {"pk": 25, "model": "treemenus.menuitem", "fields": {"parent": 23, "level": 2, "url": "/sigi/contatos/unidadefederativa/", "menu": 1, "rank": 1, "caption": "Unidades Federativas", "named_url": ""}}, {"pk": 30, "model": "treemenus.menuitem", "fields": {"parent": 27, "level": 1, "url": "/sigi/auth/", "menu": 3, "rank": 0, "caption": "Usu\u00e1rios & Grupos", "named_url": ""}}, {"pk": 28, "model": "treemenus.menuitem", "fields": {"parent": 26, "level": 1, "url": "/sigi/password_change/", "menu": 2, "rank": 0, "caption": "Alterar senha", "named_url": ""}}, {"pk": 29, "model": "treemenus.menuitem", "fields": {"parent": 26, "level": 1, "url": "/sigi/logout/", "menu": 2, "rank": 1, "caption": "Encerrar sess\u00e3o", "named_url": ""}}, {"pk": 31, "model": "treemenus.menuitem", "fields": {"parent": 27, "level": 1, "url": "/sigi/treemenus/menu/", "menu": 3, "rank": 1, "caption": "Menus", "named_url": ""}}, {"pk": 33, "model": "treemenus.menuitem", "fields": {"parent": 3, "level": 2, "url": "/sigi/casas/casalegislativa/", "menu": 1, "rank": 0, "caption": "Todas", "named_url": ""}}, {"pk": 35, "model": "treemenus.menuitem", "fields": {"parent": 3, "level": 2, "url": "/sigi/casas/casalegislativa/?tipo__id__exact=2", "menu": 1, "rank": 2, "caption": "Assembl\u00e9ias Legislativas", "named_url": ""}}, {"pk": 34, "model": "treemenus.menuitem", "fields": {"parent": 3, "level": 2, "url": "/sigi/casas/casalegislativa/?tipo__id__exact=1", "menu": 1, "rank": 1, "caption": "C\u00e2maras Municipais", "named_url": ""}}, {"pk": 37, "model": "treemenus.menuitem", "fields": {"parent": 36, "level": 2, "url": "/sigi/inventario/bem/", "menu": 1, "rank": 0, "caption": "Bens", "named_url": ""}}, {"pk": 38, "model": "treemenus.menuitem", "fields": {"parent": 36, "level": 2, "url": "/sigi/inventario/fornecedor/", "menu": 1, "rank": 1, "caption": "Fornecedores", "named_url": ""}}, {"pk": 39, "model": "treemenus.menuitem", "fields": {"parent": 36, "level": 2, "url": "/sigi/inventario/equipamento/", "menu": 1, "rank": 2, "caption": "Equipamentos", "named_url": ""}}, {"pk": 40, "model": "treemenus.menuitem", "fields": {"parent": 36, "level": 2, "url": "/sigi/inventario/fabricante/", "menu": 1, "rank": 3, "caption": "Fabricantes", "named_url": ""}}, {"pk": 41, "model": "treemenus.menuitem", "fields": {"parent": 36, "level": 2, "url": "/sigi/inventario/tipoequipamento/", "menu": 1, "rank": 4, "caption": "Tipos de equipamentos", "named_url": ""}}, {"pk": 42, "model": "treemenus.menuitem", "fields": {"parent": 36, "level": 2, "url": "/sigi/inventario/modeloequipamento/", "menu": 1, "rank": 5, "caption": "Modelos de equipamentos", "named_url": ""}}, {"pk": 2, "model": "treemenus.menuitem", "fields": {"parent": 1, "level": 1, "url": "/sigi", "menu": 1, "rank": 0, "caption": "Gr\u00e1ficos", "named_url": ""}}, {"pk": 23, "model": "treemenus.menuitem", "fields": {"parent": 1, "level": 1, "url": "/sigi/contatos/municipio/", "menu": 1, "rank": 1, "caption": "Munic\u00edpios", "named_url": ""}}, {"pk": 3, "model": "treemenus.menuitem", "fields": {"parent": 1, "level": 1, "url": "/sigi/casas/casalegislativa/", "menu": 1, "rank": 2, "caption": "Casas Legislativas", "named_url": ""}}, {"pk": 14, "model": "treemenus.menuitem", "fields": {"parent": 1, "level": 1, "url": "/sigi/convenios/convenio/", "menu": 1, "rank": 3, "caption": "Conv\u00eanios", "named_url": ""}}, {"pk": 36, "model": "treemenus.menuitem", "fields": {"parent": 1, "level": 1, "url": "/sigi/inventario/bem/", "menu": 1, "rank": 4, "caption": "Invent\u00e1rio", "named_url": ""}}, {"pk": 1, "model": "treemenus.menu", "fields": {"root_item": 1, "name": "Barra de navega\u00e7\u00e3o"}}, {"pk": 2, "model": "treemenus.menu", "fields": {"root_item": 26, "name": "Usu\u00e1rio"}}, {"pk": 3, "model": "treemenus.menu", "fields": {"root_item": 27, "name": "Administrador"}}]
Loading…
Cancel
Save