""" Author: Michel Peltriaux Organization: Struktur- und Genehmigungsdirektion Nord, Rhineland-Palatinate, Germany Contact: michel.peltriaux@sgdnord.rlp.de Created on: 19.08.21 """ from django.urls import path from ema.views.action import NewEmaActionView, EditEmaActionView, RemoveEmaActionView from ema.views.deadline import NewEmaDeadlineView, EditEmaDeadlineView, RemoveEmaDeadlineView from ema.views.detail import DetailEmaView from ema.views.document import NewEmaDocumentView, EditEmaDocumentView, RemoveEmaDocumentView, GetEmaDocumentView from ema.views.ema import new_view, edit_view, remove_view, IndexEmaView, EmaIdentifierGeneratorView from ema.views.log import EmaLogView from ema.views.record import EmaRecordView from ema.views.report import EmaPublicReportView from ema.views.resubmission import EmaResubmissionView from ema.views.share import EmaShareFormView, EmaShareByTokenView from ema.views.state import NewEmaStateView, EditEmaStateView, RemoveEmaStateView app_name = "ema" urlpatterns = [ path("", IndexEmaView.as_view(), name="index"), path("new/", new_view, name="new"), path("new/id", EmaIdentifierGeneratorView.as_view(), name="new-id"), path("", DetailEmaView.as_view(), name="detail"), path('/log', EmaLogView.as_view(), name='log'), path('/edit', edit_view, name='edit'), path('/remove', remove_view, name='remove'), path('/record', EmaRecordView.as_view(), name='record'), path('/report', EmaPublicReportView.as_view(), name='report'), path('/resub', EmaResubmissionView.as_view(), name='resubmission-create'), path('/state/new', NewEmaStateView.as_view(), name='new-state'), path('/state//remove', RemoveEmaStateView.as_view(), name='state-remove'), path('/state//edit', EditEmaStateView.as_view(), name='state-edit'), path('/action/new', NewEmaActionView.as_view(), name='new-action'), path('/action//edit', EditEmaActionView.as_view(), name='action-edit'), path('/action//remove', RemoveEmaActionView.as_view(), name='action-remove'), path('/deadline/new', NewEmaDeadlineView.as_view(), name="new-deadline"), path('/deadline//edit', EditEmaDeadlineView.as_view(), name='deadline-edit'), path('/deadline//remove', RemoveEmaDeadlineView.as_view(), name='deadline-remove'), path('/share/', EmaShareByTokenView.as_view(), name='share-token'), path('/share', EmaShareFormView.as_view(), name='share-form'), # Documents path('/document/new/', NewEmaDocumentView.as_view(), name='new-doc'), path('/document/', GetEmaDocumentView.as_view(), name='get-doc'), path('/document//edit/', EditEmaDocumentView.as_view(), name='edit-doc'), path('/document//remove/', RemoveEmaDocumentView.as_view(), name='remove-doc'), ]