from mfire import views
from django.urls import path,include
from django.contrib.auth import views as auth_views


urlpatterns = [
    path('', views.home, name='home'), #home page
    path('help/', views.help, name='help'), #help page
    path('privacy-statement/', views.privacy_statement, name='privacy_statement'), #privacy - statement for login
    path('mfire/login/', views.adminlogin, name='adminlogin'),
    path('mfire/register/', views.adminregister, name='adminregister'), 
    path('mfire/dashboard/', views.admindeshboard, name='admindeshboard'),
    path('mfire/all-Operator/', views.allemployee, name='allemployee'),
    path('mfire/add-Operator/', views.addemployee, name='addemployee'),
    path('mfire/updateemp/', views.updateemp, name='updateemp'),
    path('mfire/deleteuser/<int:id>/<int:code>/', views.deleteuser, name='deleteuser'), # active deactive
    path('mfire/equipment-registration/', views.clientregistration, name='clientregistration'), # add product 
    path('mfire/all-Officer/', views.allclient, name='allclient'),
    path('mfire/add-Officer/', views.addclient, name='addclient'),
    path('mfire/alert/fire-extinguisher-alert/', views.fire_extinguisher_alert, name='fire_extinguisher_alert'), #fire_extinguisher_alert
    path('mfire/update_client/', views.updateclint, name='updateclint'),
    path('mfire/bulkproduct/', views.bulkproduct, name='bulkproduct'),
    path('mfire/fireloadcalc/', views.fireloadcalc, name='fireloadcalc'),
    path('mfire/delete_his/', views.delete_his, name='delete_his'),
    # history report
    path('mfire/report/history-report/', views.history_report, name='history_report'), 
    path('mfire/pdf_report/', views.pdf_report, name='pdf_report'),
    path('mfire/excel_report/', views.excel_report, name='excel_report'),
    # monthly report
    path('mfire/report/monthly-report/', views.monthly_report, name='monthly_report'), 
    path('mfire/get_client_month_report/', views.get_client_month_report, name='get_client_month_report'),
    path('mfire/report/monthly-report-pdf/', views.monthly_report_pdf, name='monthly_report_pdf'),
    path('monthly_report_to_excel/', views.monthly_report_to_excel, name='monthly_report_to_excel'), 
    # gap report
    path('mfire/report/gap-analysis/', views.gap_analysis_report, name='gap_analysis_report'),
    path('mfire/report/filter-gap-analysis/', views.filter_gap_analysis_report, name='filter_gap_analysis_report'),
    path('mfire/gap_analisis_report_pdf/', views.gap_analisis_report_pdf, name='gap_analisis_report_pdf'),
    path('excel_gap_report/', views.excel_gap_report, name="excel_gap_report"),

    #Alert Report
    path('mfire/report/alert-pdf-report/', views.alert_pdf_report, name='alert_pdf_report'),
    path('mfire/report/alert-excel-report/', views.alert_excel_report, name='alert_excel_report'),
    
    #search report
    path('mfire/search/', views.report_search, name='report_search'),
    
    path('excel_report_service/', views.excel_report_service, name='excel_report_service'),
    path('mfire/updatemodellocation/', views.updatemodellocation, name='updatemodellocation'),
    
    path('mfire/model_history/', views.model_history, name='model_history'),
    path('mfire/client_product/', views.client_product, name='client_product'),
    path('mfire/qr_ganerate/', views.qr_ganerate, name='qr_ganerate'),
    path('mfire/DownloadQRCode/', views.DownloadQRCode, name='DownloadQRCode'),
    path('mfire/product/', views.adminproduct, name='adminproduct'),
    path('mfire/check-list/', views.check_list, name='check_list'),
    path('set_password/', views.set_password, name='set_password'),
    path('mfire/all_tickete_admin/', views.all_tickete_admin, name='all_tickete_admin'),
    path('mfire/update_tickete/', views.update_tickete, name='update_tickete'),
    path('mfire/all_new_product/', views.all_new_product, name='all_new_product'),
    path('mfire/add_new_product/', views.add_new_product, name='add_new_product'),
    path('mfire/update_new_product/', views.update_new_product, name='update_new_product'),
    path('mfire/delete_new_product/', views.delete_new_product, name='delete_new_product'),
    path('mfire/update_profile/', views.Update_Profile, name='Update_Profile'),
    path('mfire/service_report/', views.service_report, name='service_report'),
    path('mfire/home_page/', views.home_page, name='home_page'),
    path('mfire/excel/<str:name>/', views.excelfile, name='excelfile'),
    path('mfire/disable/', views.pdisable, name='pdisable'),
    path('mfire/update_product/', views.update_product, name='update_product'),  # update product
    path('mfire/c_inspection/', views.c_inspection, name='c_inspection'),
    path('mfire/add_inspection/', views.add_inspection, name='add_inspection'),
    # module
    path('mfire/materialadd/', views.materialadd, name='materialadd'),
    path('mfire/thrishul/', views.thrishul, name='thrishul'),
    path('loadclient/', views.loadclient, name='loadclient'), 
    path('mfire/prostatus/', views.prostatus, name='prostatus'),
    path('materialvalue/', views.materialvalue, name='materialvalue'),
    path('mfire/car_parking/', views.car_parking, name='car_parking'),
    path('mfire/smoke_ventilation/', views.smoke_ventilation, name='smoke_ventilation'),
    path('mfire/mechanical_ventilation/', views.mechanical_ventilation, name='mechanical_ventilation'),
    #client
    path('vendor/dashboard/', views.clientdeshboard, name='clientdeshboard'),
    path('vendor/register/', views.clientregister, name='clientregister'),
    path('vendor/login/', views.clientlogin, name='clientlogin'),
    path('vendor/', views.vendorhomepage, name='vendorhomepage'),
    path('vendor/report/', views.clientreport, name='clientreport'),
    path('vendor/product/', views.clientproduct, name='clientproduct'),
    path('vendor/model_history/', views.cl_model_history, name='cl_model_history'),
    path('vendor/cl_get_client_month_report/', views.cl_get_client_month_report, name='cl_get_client_month_report'),
    path('vendor/allemployee/', views.allemployee, name='allemployee'),
    path('vendor/addemployee/', views.addemployee, name='addemployee'),
    path('vendor/deleteuser/<int:id>/', views.deleteuser, name='deleteuser'), # delete
    path('vendor/allclient/', views.allclient, name='allclient'),
    path('vendor/addclient/', views.addclient, name='addclient'),
    path('vendor/alltickete/', views.alltickete, name='alltickete'),
    path('vendor/addtickete/', views.addtickete, name='addtickete'),
    path('loadassignemp/', views.loadassignemp, name='loadassignemp'),
    path('vendor/profile/', views.vendor_profile, name='vendor_profile'),
    path('vendor/fire_calculation/', views.fire_calculation, name='fire_calculation'),
    path('loadclient/', views.loadclient, name='loadclient'),
    path('alertchange/', views.alertchange, name='alertchange'),
    path('vendor/service_report/', views.client_service_report, name='client_service_report'),
    path('vendor/c_inspection/',views.company_inspection, name='company_inspection'),
    path('vendor/update_inspection/', views.update_inspection, name='update_inspection'),
    
    path('deleteclientlocation/', views.deleteclientlocation, name='deleteclientlocation'),
    path('pdf_report/', views.pdf_report, name='pdf_report'),
    path('excel_report/', views.excel_report, name='excel_report'),
    path('pdf_report_service/', views.pdf_report_service, name='pdf_report_service'),
    path('logout/', views.logout, name='logout'),
        # for change 
    path('password_change/',auth_views.PasswordChangeView.as_view(),name='password_change'),
    path('password_change_done/',auth_views.PasswordChangeDoneView.as_view(template_name='password_change_done.html'),name='password_change_done'),
    # for reset password
    path('forgetpassword/', views.forgetpassword,name='forgetpassword'),
    path('password_reset/', auth_views.PasswordResetView.as_view(template_name='password/password_reset_form.html'),name='password_reset'),
    path('password_reset_done/', auth_views.PasswordResetDoneView.as_view(template_name='password/password_reset_done.html'),name='password_reset_done'),
    path('password_reset_confirm/<str:token>/', views.password_reset_confirm, name='password/password_reset_confirm'),
    path('password-reset-complete/', auth_views.PasswordResetCompleteView.as_view(template_name='password/password_reset_complete.html'),name='password_reset_complete'),
    
]
