53 lines
6.2 KiB
Python
53 lines
6.2 KiB
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "sign"
|
|
urlpatterns = [
|
|
path("", views.index, name="index"),
|
|
path("streets/", views.sign_streets_list, name="sign_streets_list"),
|
|
path("streets/<int:street_id>/", views.sign_streets_detail, name="sign_streets_detail"),
|
|
path("assets/<str:asset_model>/<int:asset_id>/", views.sign_assets_detail, name="sign_assets_detail"),
|
|
path("regulations/", views.regulations_list, name="regulations_list"),
|
|
path("regulations/search/", views.regulations_search, name="regulations_search"),
|
|
path("regulations/<int:regulation_id>/", views.regulation_detail, name="regulation_detail"),
|
|
path("regulations/create/", views.regulation_create, name="regulation_create"),
|
|
path("regulations/<int:regulation_id>/edit/", views.regulation_edit, name="regulation_edit"),
|
|
path("regulations/<int:regulation_id>/submit/", views.regulation_submit, name="regulation_submit"),
|
|
path("regulations/<int:regulation_id>/generate_docx/", views.regulation_generate_docx, name="regulation_generate_docx"),
|
|
path("regulations/<int:regulation_id>/panels/update/", views.regulation_panels_update, name="regulation_panels_update"),
|
|
path("regulations/<int:regulation_id>/panels/bulk_update/", views.regulation_panels_bulk_update, name="regulation_panels_bulk_update"),
|
|
path("regulations/<int:regulation_id>/panels/geojson/", views.regulation_panels_geojson, name="regulation_panels_geojson"),
|
|
path("regulations/<int:regulation_id>/panels/associated/", views.regulation_associated_panels, name="regulation_associated_panels"),
|
|
path("regulations/<int:regulation_id>/articles_tree/", views.regulation_articles_tree, name="regulation_articles_tree"),
|
|
path("regulations/<int:regulation_id>/articles_selection/", views.regulation_save_articles_selection, name="regulation_save_articles_selection"),
|
|
path("regulations/<int:regulation_id>/articles/search/", views.regulation_articles_search, name="regulation_articles_search"),
|
|
path("regulations/<int:regulation_id>/abrogation_articles_tree/", views.regulation_abrogation_articles_tree, name="regulation_abrogation_articles_tree"),
|
|
path("regulations/<int:regulation_id>/abrogation_articles_selection/", views.regulation_save_abrogation_articles_selection, name="regulation_save_abrogation_articles_selection"),
|
|
path("regulations/<int:regulation_id>/abrogation_articles/search/", views.regulation_abrogation_articles_search, name="regulation_abrogation_articles_search"),
|
|
path("regulations/<int:regulation_id>/abrogated_panels/", views.regulation_abrogated_panels_list, name="regulation_abrogated_panels_list"),
|
|
path("regulations/<int:regulation_id>/abrogated_panels/save/", views.regulation_abrogated_panels_save, name="regulation_abrogated_panels_save"),
|
|
path("regulations/<int:regulation_id>/abrogated_panels/toggle/", views.regulation_abrogated_panel_toggle, name="regulation_abrogated_panel_toggle"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/voiries/save/", views.regulation_article_voiries_save, name="regulation_article_voiries_save"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/voiries/suggest/", views.regulation_article_voiries_suggest, name="regulation_article_voiries_suggest"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/panels/", views.regulation_measure_panels, name="regulation_measure_panels"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/panels/save/", views.regulation_measure_panels_save, name="regulation_measure_panels_save"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/panels/set/", views.regulation_measure_panels_set, name="regulation_measure_panels_set"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/panels/toggle/", views.regulation_measure_panel_toggle, name="regulation_measure_panel_toggle"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/panels/geojson/", views.regulation_measure_panels_geojson, name="regulation_measure_panels_geojson"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/children_selectable/", views.regulation_article_children_selectable, name="regulation_article_children_selectable"),
|
|
path("regulations/<int:regulation_id>/articles/<int:parent_article_id>/create_custom/", views.regulation_article_create_custom, name="regulation_article_create_custom"), path("regulations/<int:regulation_id>/articles/<int:article_id>/update_text/", views.regulation_article_update_text, name="regulation_article_update_text"), path("regulations/<int:regulation_id>/articles/<int:article_id>/update_text/", views.regulation_article_update_text, name="regulation_article_update_text"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/deselect/", views.regulation_article_deselect, name="regulation_article_deselect"),
|
|
path("regulations/<int:regulation_id>/articles/<int:article_id>/select/", views.regulation_article_select, name="regulation_article_select"),
|
|
path("regulations/<int:regulation_id>/measure/suggest_articles/", views.regulation_measure_suggest_articles, name="regulation_measure_suggest_articles"),
|
|
path("regulations/<int:regulation_id>/abrogation_articles/<int:article_id>/voiries/save/", views.regulation_abrogation_article_voiries_save, name="regulation_abrogation_article_voiries_save"),
|
|
path("regulations/<int:regulation_id>/abrogation_articles/<int:article_id>/voiries/suggest/", views.regulation_abrogation_article_voiries_suggest, name="regulation_abrogation_article_voiries_suggest"),
|
|
path("streets/geojson/", views.sign_streets_geojson, name="sign_streets_geojson"),
|
|
path("municipalities/geojson/", views.municipalities_geojson, name="municipalities_geojson"),
|
|
path("assets/geojson/", views.sign_assets_geojson, name="sign_assets_geojson"),
|
|
path("assets/poles/overview/geojson/", views.sign_poles_overview_geojson, name="sign_poles_overview_geojson"),
|
|
path("assets/pole/create/", views.sign_pole_create, name="sign_pole_create"),
|
|
path("assets/pole/<int:pole_id>/edit/", views.sign_pole_edit, name="sign_pole_edit"),
|
|
path("assets/panel/create/", views.sign_panel_create, name="sign_panel_create"),
|
|
path("assets/panel/<int:panel_id>/move/", views.sign_panel_move, name="sign_panel_move"),
|
|
]
|