Beispiel #1
0
    url(r'^(?P<project_id>\d+)/stats/user-history$', stats.stats_user_history),
    url(r'^(?P<project_id>\d+)/stats/user-activity$',
        stats.stats_user_activity),
]

# Annotations
urlpatterns += [
    url(r'^(?P<project_id>\d+)/annotations/$', annotations.list_annotations),
    url(r'^(?P<project_id>\d+)/annotations/query$',
        annotations.annotations_for_entities),
    url(r'^(?P<project_id>\d+)/annotations/forskeletons$',
        annotations.annotations_for_skeletons),
    url(r'^(?P<project_id>\d+)/annotations/table-list$',
        annotations.list_annotations_datatable),
    url(r'^(?P<project_id>\d+)/annotations/add$',
        record_view("annotations.add")(annotations.annotate_entities)),
    url(r'^(?P<project_id>\d+)/annotations/remove$',
        record_view("annotations.remove")(annotations.remove_annotations)),
    url(r'^(?P<project_id>\d+)/annotations/(?P<annotation_id>\d+)/remove$',
        record_view("annotations.remove")(annotations.remove_annotation)),
    url(r'^(?P<project_id>\d+)/annotations/query-targets$',
        annotations.query_annotated_classinstances),
]

# Text labels
urlpatterns += [
    url(r'^(?P<project_id>\d+)/textlabel/create$',
        record_view("textlabels.create")(textlabel.create_textlabel)),
    url(r'^(?P<project_id>\d+)/textlabel/delete$',
        record_view("textlabels.delete")(textlabel.delete_textlabel)),
    url(r'^(?P<project_id>\d+)/textlabel/update$',
Beispiel #2
0
urlpatterns += [
    url(r'^(?P<project_id>\d+)/stats/nodecount$', stats.stats_nodecount),
    url(r'^(?P<project_id>\d+)/stats/editor$', stats.stats_editor),
    url(r'^(?P<project_id>\d+)/stats/summary$', stats.stats_summary),
    url(r'^(?P<project_id>\d+)/stats/history$', stats.stats_history),
    url(r'^(?P<project_id>\d+)/stats/user-history$', stats.stats_user_history),
    url(r'^(?P<project_id>\d+)/stats/user-activity$', stats.stats_user_activity),
]

# Annotations
urlpatterns += [
    url(r'^(?P<project_id>\d+)/annotations/$', annotations.list_annotations),
    url(r'^(?P<project_id>\d+)/annotations/query$', annotations.annotations_for_entities),
    url(r'^(?P<project_id>\d+)/annotations/forskeletons$', annotations.annotations_for_skeletons),
    url(r'^(?P<project_id>\d+)/annotations/table-list$', annotations.list_annotations_datatable),
    url(r'^(?P<project_id>\d+)/annotations/add$', record_view("annotations.add")(annotations.annotate_entities)),
    url(r'^(?P<project_id>\d+)/annotations/remove$', record_view("annotations.remove")(annotations.remove_annotations)),
    url(r'^(?P<project_id>\d+)/annotations/(?P<annotation_id>\d+)/remove$', record_view("annotations.remove")(annotations.remove_annotation)),
    url(r'^(?P<project_id>\d+)/annotations/query-targets$', annotations.query_annotated_classinstances),
]

# Text labels
urlpatterns += [
    url(r'^(?P<project_id>\d+)/textlabel/create$', record_view("textlabels.create")(textlabel.create_textlabel)),
    url(r'^(?P<project_id>\d+)/textlabel/delete$', record_view("textlabels.delete")(textlabel.delete_textlabel)),
    url(r'^(?P<project_id>\d+)/textlabel/update$', record_view("textlabels.update")(textlabel.update_textlabel)),
    url(r'^(?P<project_id>\d+)/textlabel/all', textlabel.textlabels),
]

# Treenode labels
urlpatterns += [
Beispiel #3
0
urlpatterns += [
    url(r'^(?P<project_id>\d+)/stats/nodecount$', stats.stats_nodecount),
    url(r'^(?P<project_id>\d+)/stats/editor$', stats.stats_editor),
    url(r'^(?P<project_id>\d+)/stats/summary$', stats.stats_summary),
    url(r'^(?P<project_id>\d+)/stats/history$', stats.stats_history),
    url(r'^(?P<project_id>\d+)/stats/user-history$', stats.stats_user_history),
    url(r'^(?P<project_id>\d+)/stats/user-activity$', stats.stats_user_activity),
]

# Annotations
urlpatterns += [
    url(r'^(?P<project_id>\d+)/annotations/$', annotations.list_annotations),
    url(r'^(?P<project_id>\d+)/annotations/query$', annotations.annotations_for_entities),
    url(r'^(?P<project_id>\d+)/annotations/forskeletons$', annotations.annotations_for_skeletons),
    url(r'^(?P<project_id>\d+)/annotations/table-list$', annotations.list_annotations_datatable),
    url(r'^(?P<project_id>\d+)/annotations/add$', record_view("annotations.add")(annotations.annotate_entities)),
    url(r'^(?P<project_id>\d+)/annotations/remove$', record_view("annotations.remove")(annotations.remove_annotations)),
    url(r'^(?P<project_id>\d+)/annotations/(?P<annotation_id>\d+)/remove$', record_view("annotations.remove")(annotations.remove_annotation)),
    url(r'^(?P<project_id>\d+)/annotations/query-targets$', annotations.query_annotated_classinstances),
]

# Text labels
urlpatterns += [
    url(r'^(?P<project_id>\d+)/textlabel/create$', record_view("textlabels.create")(textlabel.create_textlabel)),
    url(r'^(?P<project_id>\d+)/textlabel/delete$', record_view("textlabels.delete")(textlabel.delete_textlabel)),
    url(r'^(?P<project_id>\d+)/textlabel/update$', record_view("textlabels.update")(textlabel.update_textlabel)),
    url(r'^(?P<project_id>\d+)/textlabel/all', textlabel.textlabels),
]

# Treenode labels
urlpatterns += [