Пример #1
0
        FunctionalToiletView.as_view(),
        name='functional_toilet'),
    url(r'^medicine_kit/(?P<step>[\w-]+)/',
        MedicineKitView.as_view(),
        name='medicine_kit'),
    url(r'^infants_weight_scale/(?P<step>[\w-]+)/',
        InfantsWeightScaleView.as_view(),
        name='infants_weight_scale'),
    url(r'^adult_weight_scale/(?P<step>[\w-]+)/',
        AdultWeightScaleView.as_view(),
        name='adult_weight_scale'),
]

urlpatterns = [
    url(r'^tableau/(?P<workbook>\w+)/(?P<worksheet>\w+)$',
        LegacyTableauRedirectView.as_view(),
        name='icds_tableau'),
    url(r'^icds_dashboard/', include(dashboardurls)),
    url(r'^icds-ng-template/(?P<template>[\w-].+)',
        IcdsDynamicTemplateView.as_view(),
        name='icds-ng-template'),
    url(r'^program_summary/(?P<step>[\w-]+)/',
        ProgramSummaryView.as_view(),
        name='program_summary'),
    url(r'^lady_supervisor/',
        LadySupervisorView.as_view(),
        name='lady_supervisor'),
    url(r'^service_delivery_dashboard/(?P<step>[\w-]+)/',
        ServiceDeliveryDashboardView.as_view(),
        name='service_delivery_dashboard'),
    url(r'^maternal_and_child/', include(maternal_and_child_urls)),
Пример #2
0
        name='adult_weight_scale'),
]


mobile_dashboard_urls = [
    url(r'^login/$', mobile_views.login, name="cas_mobile_dashboard_login"),
    url(r'^logout/$', mobile_views.logout, name="cas_mobile_dashboard_logout"),
    url(r'^password_reset/$', mobile_views.password_reset, name="cas_mobile_dashboard_password_reset"),
    url(r'^password_reset/done$', mobile_views.password_reset_done,
        name="cas_mobile_dashboard_password_reset_done"),
    url(r'^$', mobile_views.MobileDashboardView.as_view(), name="cas_mobile_dashboard"),
]


urlpatterns = [
    url(r'^tableau/(?P<workbook>\w+)/(?P<worksheet>\w+)$', LegacyTableauRedirectView.as_view(),
        name='icds_tableau'),
    url(r'^icds_dashboard/', include(dashboard_urls)),
    url(r'^icds_dashboard_mobile/', include(mobile_dashboard_urls)),
    url(r'^icds-ng-template/(?P<template>[\w-].+)', IcdsDynamicTemplateView.as_view(), name='icds-ng-template'),
    url(r'^icds-ng-template-mobile/(?P<template>[\w-].+)', IcdsDynamicMobileTemplateView.as_view(),
        name='icds-ng-template-mobile'),
    url(r'^program_summary/(?P<step>[\w-]+)/', ProgramSummaryView.as_view(), name='program_summary'),
    url(r'^lady_supervisor/', LadySupervisorView.as_view(), name='lady_supervisor'),
    url(
        r'^service_delivery_dashboard/(?P<step>[\w-]+)/',
        ServiceDeliveryDashboardView.as_view(),
        name='service_delivery_dashboard'
    ),
    url(
        r'^poshan_progress_dashboard/(?P<step>[\w-]+)/',