from django.urls import path
from . import views


urlpatterns = [
    path('', views.index, name="index"),
    path('volunteer_table/', views.show_all_volunteers, name='show_all_volunteers'),
    path('volunteer_table/<int:page>/', views.show_all_volunteers, name='show_all_volunteers_page'),
    path('help_table/', views.show_all_help_request, name='show_all_help_request'),
    path('help_table/<int:page>/', views.show_all_help_request, name='show_all_help_request_page'),
    path('edit/<int:pk>/', views.help_edit_stat, name='change_stat'),
    path('find_closest/<int:pk>/', views.find_closest_people, name='find_closest_people'),
    path('edit_note/<int:pk>/', views.volunteer_edit_notes, name='volunteer_edit_notes'),
    path('edit_tz/<int:pk>/', views.volunteer_edit_tz_num, name="volunteer_edit_tz_num"),
    path('edit_city/<int:pk>/', views.volunteer_edit_city, name="volunteer_edit_city"),
    path('edit_type/<int:pk>/', views.volunteer_edit_type, name='volunteer_edit_type'),
    path(
        'create_volunteer_certificate/<int:volunteer_id>/',
        views.create_volunteer_certificate,
        name='create_volunteer_certificate'
    ),
    path('delete_volunteer/<int:pk>/', views.delete_volunteer, name='delete_volunteer'),
    path('export/xls/', views.export_users_xls, name='export_users_xls'),
    path('export/xls1/', views.export_help_xls, name='export_help_xls'),

]
