from django.urls import path
from attapp import views
from django.views.generic import TemplateView
urlpatterns=[
    path('',TemplateView.as_view(template_name='login.html'),name='login'),
    path('signup/',TemplateView.as_view(template_name='signup.html'),name='signup'),
    path('adminhome/',TemplateView.as_view(template_name='adminhome.html'),name='adminhome'),
    path('studenthome/',TemplateView.as_view(template_name='studenthome.html'),name='studenthome'),
    path('facultyhome/',TemplateView.as_view(template_name='facultyhome.html'),name='facultyhome'),
    path('faculty_signup/',TemplateView.as_view(template_name='faculty_signup.html'),name='faculty_signup'),
    path('student_signup/',TemplateView.as_view(template_name='student_signup.html'),name='student_signup'),
    path('stu_details/',TemplateView.as_view(template_name='stu_details.html'),name='stu_details'),
    path('stu_attndc/',TemplateView.as_view(template_name='stu_attndc.html'),name='stu_attndc'),
    path('stu_mark/',TemplateView.as_view(template_name='stu_mark.html'),name='stu_mark'),
    path('fac_details/',TemplateView.as_view(template_name='fac_details.html'),name='fac_details'),
    path('fac_attndc/',TemplateView.as_view(template_name='fac_attndc.html'),name='fac_attndc'),
    path('timetable/',TemplateView.as_view(template_name='timetable.html'),name='timetable'),
    path('fac_profile/',TemplateView.as_view(template_name='fac_profile.html'),name='fac_profile'),
    path('leave_mngmt/',TemplateView.as_view(template_name='leave_mngmt.html'),name='leave_mngmt'),
    path('view_student/',TemplateView.as_view(template_name='view_student.html'),name='view_student'),
    path('view_studattndc/',TemplateView.as_view(template_name='view_studattndc.html'),name='view_studattndc'),
    path('view_mark/',TemplateView.as_view(template_name='view_mark.html'),name='view_mark'),
    path('view_timetable/',TemplateView.as_view(template_name='view_timetable.html'),name='view_timetable'),
    path('fac_applyleave/',TemplateView.as_view(template_name='fac_applyleave.html'),name='fac_applyleave'),
    path('stud_profile/',TemplateView.as_view(template_name='stud_profile.html'),name='stud_profile'),
    path('view_studtimetable/',TemplateView.as_view(template_name='view_studtimetable.html'),name='view_studtimetable'),
    path('stud_applyleave/',TemplateView.as_view(template_name='stud_applyleave.html'),name='stud_applyleave'),
    path('viewmyattndc/',TemplateView.as_view(template_name='viewmyattndc.html'),name='viewmyattndc'),
    path('viewmymark/',TemplateView.as_view(template_name='viewmymark.html'),name='viewmymark'),
    path('fac_leave/',TemplateView.as_view(template_name='fac_leave.html'),name='fac_leave'),
    path('stu_leave/',TemplateView.as_view(template_name='stu_leave.html'),name='stu_leave'),
    path('fac_appliedleave/',TemplateView.as_view(template_name='fac_appliedleave.html'),name='fac_appliedleave'),
    path('stu_appliedleave/',TemplateView.as_view(template_name='stu_appliedleave.html'),name='stu_appliedleave'),
    path('fac_editprofile/',TemplateView.as_view(template_name='fac_editprofile.html'),name='fac_editprofile'),
    path('stud_editprofile/',TemplateView.as_view(template_name='stud_editprofile.html'),name='stud_editprofile'),
    path('fac_editprofile',views.editfaculty,name='fac_editprofile'),
    path('stud_editprofile',views.editstudent,name='stud_editprofile'),
    path('fac_appliedleave',views.fac_viewmyleave,name='fac_appliedleave'),
    path('stu_appliedleave',views.stu_viewmyleave,name='stu_appliedleave'),
    path('stumark',views.viewstudentmark,name='stu_mark'),
    path('studtimetable',views.studtimetable,name='view_studtimetable'),
    path('timetable',views.tmtable,name='view_timetable'),
    path('tmtable',views.timetables,name='timetable'),
    path('fac_leave',views.facultyleaveview,name='fac_leave'),
    path('stu_leave',views.studentleaveview,name='stu_leave'),
    path('stuatt',views.viewstudentattendance,name='stu_attndc'),
    path('fid',views.fid,name='fac_applyleave'),
    path('viewstudlv',views.viewstudlv,name='stud_applyleave'),
    path('fac_applyleave',views.facleave,name='faclv'),
    path('sid',views.sid,name='stud_applyleave'),
    path('stud_applyleave',views.stuleave,name='studlv'),
    path('get_stuid',views.get_stuid,name='view_mark'),
    path('getsid',views.getsid,name="view_studattndc"),
    path('stdetails',views.viewstud,name='stu_details'),
    path('viewstd',views.viewstdnt,name='view_student'),
    path('stud_profile',views.viewstudpro,name='stud_profile'),
    path('stud_mrk',views.viewstudmark,name='viewmymark'),
    path('stud_att',views.viewstudatt,name='viewmyattndc'),
    path('facpro',views.viewfacpro,name='fac_profile'),
    path('viewfac',views.viewfac,name='fac_details'),
    path('login',views.authentication,name='subt'),
    path('signup',views.display,name='submit'),
    path('view_mark',views.addmark,name='submtmrk'),
    path('faculty_signup',views.signupfac,name='sub'),
    path('student_signup',views.signupstud,name='submit'),
    path('studentattendance',views.studentattendance,name='attsub'),
    path('facapprv',views.approvefac,name='approve'),
    path('stuapprv',views.approvestu,name='apprv'),
    path('editstu',views.editstudentprofile,name='editstu'),
    path('editfacpro',views.editfacultyprofile,name='editfacpro'), 
    path('logout',views.logout_view,name='logout'),
 

]