Exemplo n.º 1
0
 url(r'^components/datatypes/(?P<template>[a-zA-Z_-]*)', DatatypeTemplateView.as_view(), name='datatype_template'),
 url(r'^resource$', ResourceListView.as_view(), name='resource'),
 url(r'^resource/(?P<resourceid>%s)/(?P<graphid>%s)/add_resource$' % (uuid_regex, uuid_regex), ResourceEditorView.as_view(), name='old_add_resource'),
 url(r'^resource-old/(?P<resourceid>%s)$' % uuid_regex, ResourceEditorView.as_view(), name='old_resource_editor'),
 url(r'^resource/(?P<resourceid>%s)$' % uuid_regex, NewResourceEditorView.as_view(), name='resource_editor'),
 url(r'^add-resource/(?P<graphid>%s)$' % uuid_regex, NewResourceEditorView.as_view(), name='add_resource'),
 url(r'^resource/(?P<resourceid>%s)/copy$' % uuid_regex, NewResourceEditorView.as_view(action='copy'), name='resource_copy'),
 url(r'^resource/(?P<resourceid>%s)/history$' % uuid_regex, ResourceEditLogView.as_view(), name='resource_edit_log'),
 url(r'^resource/(?P<resourceid>%s)/data/(?P<formid>%s)$' % (uuid_regex, uuid_regex), ResourceData.as_view(), name='resource_data'),
 url(r'^resource/(?P<resourceid>%s)/cards$' % uuid_regex, ResourceCards.as_view(), name='resource_cards'),
 url(r'^resource/history$', ResourceEditLogView.as_view(), name="edit_history"),
 url(r'^resource/related/(?P<resourceid>%s|())$' % uuid_regex, RelatedResourcesView.as_view(), name="related_resources"),
 url(r'^resource/related/candidates', RelatedResourcesView.as_view(action="get_candidates"), name="related_resource_candidates"),
 url(r'^resource/related/relatable', RelatedResourcesView.as_view(action="get_relatable_resources"), name="relatable_resources"),
 url(r'^resource/descriptors/(?P<resourceid>%s|())$' % uuid_regex, ResourceDescriptors.as_view(), name="resource_descriptors"),
 url(r'^resource/(?P<resourceid>%s)/tiles$' % uuid_regex, ResourceTiles.as_view(), name='resource_tiles'),
 url(r'^report/(?P<resourceid>%s)$' % uuid_regex, ResourceReportView.as_view(), name='resource_report'),
 url(r'^report/(?P<resourceid>%s)$' % uuid_regex, ResourceReportView.as_view(), name='resource_report'),
 url(r'^card/(?P<cardid>%s|())$' % uuid_regex, CardView.as_view(action='update_card'), name='card'),
 url(r'^reorder_cards/', CardView.as_view(action='reorder_cards'), name='reorder_cards'),
 url(r'^node/(?P<graphid>%s)$' % uuid_regex, GraphDataView.as_view(action='update_node'), name='node'),
 url(r'^node_layer/(?P<graphid>%s)$' % uuid_regex, GraphDataView.as_view(action='update_node_layer'), name='node_layer'),
 url(r'^widgets/(?P<template>[a-zA-Z_-]*)', main.widget, name="widgets"),
 url(r'^report-templates/(?P<template>[a-zA-Z_-]*)', main.report_templates, name="report-templates"),
 url(r'^function-templates/(?P<template>[a-zA-Z_-]*)', main.function_templates, name="function-templates"),
 url(r'^help-templates$', main.help_templates, name="help_templates"),
 url(r'^tile$', TileData.as_view(action='update_tile'), name="tile"),
 url(r'^tiles/reorder_tiles$', TileData.as_view(action='reorder_tiles'), name='reorder_tiles'),
 url(r'^tiles/tile_history$', TileData.as_view(action='tile_history'), name='tile_history'),
 url(r'^tiles/delete_provisional_tile$', TileData.as_view(action='delete_provisional_tile'), name='delete_provisional_tile'),
 url(r'^templates/(?P<template>[a-zA-Z_\-./]*)', main.templates, name="templates"),
Exemplo n.º 2
0
     ResourceEditLogView.as_view(),
     name="edit_history"),
 url(r'^resource/related/(?P<resourceid>%s|())$' % uuid_regex,
     RelatedResourcesView.as_view(),
     name="related_resources"),
 url(r'^resource/related/candidates',
     RelatedResourcesView.as_view(action="get_candidates"),
     name="related_resource_candidates"),
 url(r'^resource/related/relatable',
     RelatedResourcesView.as_view(action="get_relatable_resources"),
     name="relatable_resources"),
 url(r'^resource/descriptors/(?P<resourceid>%s|())$' % uuid_regex,
     ResourceDescriptors.as_view(),
     name="resource_descriptors"),
 url(r'^resource/(?P<resourceid>%s)/tiles$' % uuid_regex,
     ResourceTiles.as_view(),
     name='resource_tiles'),
 url(r'^report/(?P<resourceid>%s)$' % uuid_regex,
     ResourceReportView.as_view(),
     name='resource_report'),
 url(r'^report/(?P<resourceid>%s)$' % uuid_regex,
     ResourceReportView.as_view(),
     name='resource_report'),
 url(r'^card/(?P<cardid>%s|())$' % uuid_regex,
     CardView.as_view(action='update_card'),
     name='card'),
 url(r'^reorder_cards/',
     CardView.as_view(action='reorder_cards'),
     name='reorder_cards'),
 url(r'^node/(?P<graphid>%s)$' % uuid_regex,
     GraphDataView.as_view(action='update_node'),
Exemplo n.º 3
0
 url(r"^graph_designer/(?P<graphid>%s)$" % uuid_regex, GraphDesignerView.as_view(), name="graph_designer"),
 url(r"^graph_settings/(?P<graphid>%s)$" % uuid_regex, GraphSettingsView.as_view(), name="graph_settings"),
 url(r"^components/datatypes/(?P<template>[a-zA-Z_-]*)", DatatypeTemplateView.as_view(), name="datatype_template"),
 url(r"^resource$", ResourceListView.as_view(), name="resource"),
 url(r"^resource/(?P<resourceid>%s)$" % uuid_regex, ResourceEditorView.as_view(), name="resource_editor"),
 url(r"^add-resource/(?P<graphid>%s)$" % uuid_regex, ResourceEditorView.as_view(), name="add_resource"),
 url(r"^resource/(?P<resourceid>%s)/copy$" % uuid_regex, ResourceEditorView.as_view(action="copy"), name="resource_copy"),
 url(r"^resource/(?P<resourceid>%s)/history$" % uuid_regex, ResourceEditLogView.as_view(), name="resource_edit_log"),
 url(r"^resource/(?P<resourceid>%s)/data/(?P<formid>%s)$" % (uuid_regex, uuid_regex), ResourceData.as_view(), name="resource_data"),
 url(r"^resource/(?P<resourceid>%s)/cards$" % uuid_regex, ResourceCards.as_view(), name="resource_cards"),
 url(r"^resource/history$", ResourceEditLogView.as_view(), name="edit_history"),
 url(r"^resource/related/(?P<resourceid>%s|())$" % uuid_regex, RelatedResourcesView.as_view(), name="related_resources"),
 url(r"^resource/related/candidates", RelatedResourcesView.as_view(action="get_candidates"), name="related_resource_candidates"),
 url(r"^resource/related/relatable", RelatedResourcesView.as_view(action="get_relatable_resources"), name="relatable_resources"),
 url(r"^resource/descriptors/(?P<resourceid>%s|())$" % uuid_regex, ResourceDescriptors.as_view(), name="resource_descriptors"),
 url(r"^resource/(?P<resourceid>%s)/tiles$" % uuid_regex, ResourceTiles.as_view(), name="resource_tiles"),
 url(r"^report/(?P<resourceid>%s)$" % uuid_regex, ResourceReportView.as_view(), name="resource_report"),
 url(r"^transaction/(?P<transactionid>%s)/reverse$" % uuid_regex, ReverseTransaction.as_view(), name="transaction_reverse"),
 url(r"^card/(?P<cardid>%s|())$" % uuid_regex, CardView.as_view(action="update_card"), name="card"),
 url(r"^reorder_cards/", CardView.as_view(action="reorder_cards"), name="reorder_cards"),
 url(r"^node/(?P<graphid>%s)$" % uuid_regex, GraphDataView.as_view(action="update_node"), name="node"),
 url(r"^nodegroup/", NodegroupView.as_view(action="exportable"), name="nodegroup"),
 url(r"^node_layer/(?P<graphid>%s)$" % uuid_regex, GraphDataView.as_view(action="update_node_layer"), name="node_layer"),
 url(r"^widgets/(?P<template>[a-zA-Z_-]*)", main.widget, name="widgets"),
 url(r"^report-templates/(?P<template>[a-zA-Z_-]*)", main.report_templates, name="report-templates"),
 url(r"^function-templates/(?P<template>[a-zA-Z_-]*)", main.function_templates, name="function-templates"),
 url(r"^help-templates$", main.help_templates, name="help_templates"),
 url(r"^tile$", TileData.as_view(action="update_tile"), name="tile"),
 url(r"^tiles/reorder_tiles$", TileData.as_view(action="reorder_tiles"), name="reorder_tiles"),
 url(r"^tiles/tile_history$", TileData.as_view(action="tile_history"), name="tile_history"),
 url(r"^tiles/delete_provisional_tile$", TileData.as_view(action="delete_provisional_tile"), name="delete_provisional_tile"),
Exemplo n.º 4
0
 url(r'^graph/(?P<graphid>%s)/function_manager$' % uuid_regex, FunctionManagerView.as_view(), name='function_manager'),
 url(r'^graph/(?P<graphid>%s)/apply_functions$' % uuid_regex, FunctionManagerView.as_view(), name='apply_functions'),
 url(r'^graph/(?P<graphid>%s)/remove_functions$' % uuid_regex, FunctionManagerView.as_view(), name='remove_functions'),
 url(r'^graph/(?P<graphid>%s)/permissions$' % uuid_regex, PermissionManagerView.as_view(), name='permission_manager'),
 url(r'^graph/permissions$', PermissionDataView.as_view(), name='permission_data'),
 url(r'^resource$', ResourceListView.as_view(), name='resource'),
 url(r'^resource/(?P<resourceid>%s)/(?P<graphid>%s)/add_resource$' % (uuid_regex, uuid_regex), ResourceEditorView.as_view(), name='add_resource'),
 url(r'^resource/(?P<resourceid>%s)$' % uuid_regex, ResourceEditorView.as_view(), name='resource_editor'),
 url(r'^resource/(?P<resourceid>%s)/copy$' % uuid_regex, ResourceEditorView.as_view(action='copy'), name='resource_copy'),
 url(r'^resource/(?P<resourceid>%s)/history$' % uuid_regex, ResourceEditLogView.as_view(), name='resource_edit_log'),
 url(r'^resource/(?P<resourceid>%s)/data/(?P<formid>%s)$' % (uuid_regex, uuid_regex), ResourceData.as_view(), name='resource_data'),
 url(r'^resource/(?P<resourceid>%s)/cards$' % uuid_regex, ResourceCards.as_view(), name='resource_cards'),
 url(r'^resource/history$', ResourceEditLogView.as_view(), name="edit_history"),
 url(r'^resource/related/(?P<resourceid>%s|())$' % uuid_regex, RelatedResourcesView.as_view(), name="related_resources"),
 url(r'^resource/descriptors/(?P<resourceid>%s|())$' % uuid_regex, ResourceDescriptors.as_view(), name="resource_descriptors"),
 url(r'^resource/(?P<resourceid>%s)/tiles$' % uuid_regex, ResourceTiles.as_view(), name='resource_tiles'),
 url(r'^report/(?P<resourceid>%s)$' % uuid_regex, ResourceReportView.as_view(), name='resource_report'),
 url(r'^report/(?P<resourceid>%s)$' % uuid_regex, ResourceReportView.as_view(), name='resource_report'),
 url(r'^card/(?P<cardid>%s|())$' % uuid_regex, CardView.as_view(), name='card'),
 url(r'^form/(?P<formid>%s|())$' % uuid_regex, FormView.as_view(), name='form'),
 url(r'^form/(?P<formid>%s)/delete$' % uuid_regex, FormView.as_view(), name='delete_form'),
 url(r'^report_editor/(?P<reportid>%s|())$' % uuid_regex, ReportEditorView.as_view(), name='report_editor'),
 url(r'^report/data$', ResourceReportData.as_view(), name='report_data'),
 url(r'^node/(?P<graphid>%s)$' % uuid_regex, GraphDataView.as_view(action='update_node'), name='node'),
 url(r'^node_layer/(?P<graphid>%s)$' % uuid_regex, GraphDataView.as_view(action='update_node_layer'), name='node_layer'),
 url(r'^widgets/(?P<template>[a-zA-Z_-]*)', main.widget, name="widgets"),
 url(r'^report-templates/(?P<template>[a-zA-Z_-]*)', main.report_templates, name="report-templates"),
 url(r'^function-templates/(?P<template>[a-zA-Z_-]*)', main.function_templates, name="function-templates"),
 url(r'^help-templates$', main.help_templates, name="help_templates"),
 url(r'^tile$', TileData.as_view(action='update_tile'), name="tile"),
 url(r'^tiles/reorder_tiles$', TileData.as_view(action='reorder_tiles'), name='reorder_tiles'),