#-*- coding: utf-8 -*-
from django.urls import re_path
from . import views

urlpatterns = [
re_path(r'^$', views.connec,name="login_colleur"),
re_path(r'^action$', views.action,name="action_colleur"),
re_path(r'^action/note/(\d+)$', views.note,name="note_colleur"),
re_path(r'^action/notation/(\d+)/([0-2]{1})$', views.notation,name="notation_colleur"),
re_path(r'^action/note/eleves/(\d+)/(\d+(?:-\d+)*)$', views.noteEleves, name="noteeleves_colleur"),
re_path(r'^action/note/modifier/(\d+)$', views.noteModif,name="notemodif_colleur"),
re_path(r'^action/note/supprimer/(\d+)$', views.noteSuppr,name="notesuppr_colleur"),
re_path(r'^action/trombinoscope/(\d+)$', views.trombinoscope,name="trombinoscope_colleur"),
re_path(r'^action/resultat/(\d+)$', views.resultat,name="resultat_colleur"),
re_path(r'^action/resultat/(\d+)/(\d+)/(\d+)$', views.resultat2,name="resultat2_colleur"),
re_path(r'^action/resultat/csv/(\d+)/(\d+)/(\d+)$', views.resultatcsv,name="resultatcsv_colleur"),
re_path(r'^action/programme/(\d+)$', views.programme,name="programme_colleur"),
re_path(r'^action/programme/modifier/(\d+)$', views.programmeModif,name="programmemodif_colleur"),
re_path(r'^action/programme/supprimer/(\d+)$', views.programmeSuppr,name="programmesuppr_colleur"),
re_path(r'^action/groupe/(\d+)$', views.groupe,name="groupe_colleur"),
re_path(r'^action/groupe/creer/(\d+)$', views.groupeCreer,name="groupecreer_colleur"),
re_path(r'^action/groupe/supprimer/(\d+)$', views.groupeSuppr,name="groupesuppr_colleur"),
re_path(r'^action/groupe/modifier/(\d+)$', views.groupeModif,name="groupemodif_colleur"),
re_path(r'^action/groupe/swap/(\d+)$', views.groupeSwap,name="groupeSwap_colleur"),
re_path(r'^action/groupe/csv/(\d+)$', views.groupecsv,name="groupecsv_colleur"),
re_path(r'^action/eleves/(\d+)$', views.eleves,name="eleves_colleur"),
re_path(r'^action/colloscope/([0-1]{1})/(\d+)$', views.colloscope,name="colloscope_colleur"),
re_path(r'^action/colloscope/([0-1]{1})/(\d+)/(\d+)/(\d+)$', views.colloscope2,name="colloscope2_colleur"),
re_path(r'^action/colloscope/pdf/(\d+)/(\d+)/(\d+)$', views.colloscopePdf,name="colloscopepdf_colleur"),
re_path(r'^action/colloscope/csv/(\d+)/(\d+)/(\d+)$', views.colloscopeCsv,name="colloscopecsv_colleur"),
re_path(r'^action/colloscope/modifier/(\d+)/(\d+)/(\d+)$', views.colloscopeModif,name="colloscopemodif_colleur"),
re_path(r'^action/colloscope/importer/(\d+)$', views.colloscopeImport,name="importcolloscope_colleur"),
re_path(r'^action/creneau/modifier/(\d+)/(\d+)/(\d+)$', views.creneauModif,name="creneaumodif_colleur"),
re_path(r'^action/creneau/supprimer/(\d+)/(\d+)/(\d+)$', views.creneauSuppr,name="creneausuppr_colleur"),
re_path(r'^action/creneau/dupliquer/(\d+)/(\d+)/(\d+)$', views.creneauDupli,name="creneaudupli_colleur"),
re_path(r'^action/colloscope/ajax/(\d+)/(\d+)/(\d+)/(\d+|semaine)/(\d+|creneau)$', views.ajaxcolloscope,name="ajax_colleur"),
re_path(r'^action/colloscope/ajax/eleve/(\d+)/(\d+)/(\d+)/(\d+|semaine)/(\d+|creneau)/(\w{1,3})$', views.ajaxcolloscopeeleve,name="ajax_colleur_eleve"),
re_path(r'^action/colloscope/ajax/compat/(\d+)$', views.ajaxcompat,name="ajaxcompat_colleur"),
re_path(r'^action/colloscope/ajax/majcolleur/(\d+|matiere)/(\d+)$', views.ajaxmajcolleur,name="ajaxmaj_colleur"),
re_path(r'^action/colloscope/ajax/effacer/(\d+|semaine)/(\d+|creneau)$', views.ajaxcolloscopeeffacer,name="ajaxeffacer_colleur"),
re_path(r'^action/colloscope/ajax/multi/(-?\d+|matiere)/(\d+|kolleur)/(\d*|groupe)/(\d*|eleve)/(\d+|semaine)/(\d+|creneau)/([1-9]{1}|[1-2]{1}[0-9]{1}|30|duree)/(1|2|3|4|8|frequence)/([1-9]{1}|1[0-9]{1}|20|permu)$', views.ajaxcolloscopemulti,name="ajaxmulti_colleur"),
re_path(r'^action/colloscope/ajax/multi/confirm/(-?\d+|matiere)/(\d+|kolleur)/(\d*|groupe)/(\d*|eleve)/(\d+|semaine)/(\d+|creneau)/([1-9]{1}|[1-2]{1}[0-9]{1}|30|duree)/(1|2|3|4|8|frequence)/([1-9]{1}|1[0-9]{1}|20|permu)$', views.ajaxcolloscopemulticonfirm,name="ajaxmulticonfirm_colleur"),
re_path(r'^action/agenda$', views.agenda,name="agenda_colleur"),
re_path(r'^action/note/colle/(\d+(?:,\d+)*)$', views.colleNote,name="collenote_colleur"),
re_path(r'^action/note/colleeleve/(\d+)$', views.colleNoteEleve,name="collenoteeleve_colleur"),
re_path(r'^action/decompte$', views.decompte,name="decompte_colleur"),
re_path(r'^action/ramassage/(\d+)$', views.ramassage,name="ramassage_colleur"),
re_path(r'^action/changemat/(\d+)$', views.changemat,name="changemat_colleur"),
re_path(r'^action/ects/matieres/(\d+)$', views.ectsmatieres,name="ects_matieres"),
re_path(r'^action/ects/matiere/modif/(\d+)$', views.ectsmatieremodif,name="ects_matiere_modif"),
re_path(r'^action/ects/matiere/suppr/(\d+)$', views.ectsmatieresuppr,name="ects_matiere_suppr"),
re_path(r'^action/ects/notes/(\d+)$', views.ectsnotes,name="ects_notes"),
re_path(r'^action/ects/notes/modif/(\d+)/(\d+(?:-\d+)*)$', views.ectsnotesmodif,name="ects_notes_modif"),
re_path(r'^action/ects/noteglobale/modif/(\d+)/(\d+)/(\d+(?:-\d+)*)$', views.ectsnoteglobalemodif,name="ects_noteglobale_modif"),
re_path(r'^action/ects/credits/(\d+)$', views.ectscredits,name="ects_credits"),
re_path(r'^action/ects/fiche/(\d+)$', views.ficheectspdf,name="ects_fiche"),
re_path(r'^action/ects/attestation/(\d+)$', views.attestationectspdf,name="ects_attestation"),
re_path(r'^action/ects/fiche/classe/(\d+)$', views.ficheectsclassepdf,name="ects_fiche_classe"),
re_path(r'^action/ects/attestation/classe/(\d+)$', views.attestationectsclassepdf,name="ects_attestation_classe"),
re_path(r'^action/devoirs/classe/(\d+)$', views.devoirs ,name="colleur_devoirs"),
re_path(r'^action/devoir/(\d+)$', views.devoir ,name="colleur_devoir"),
re_path(r'^action/devoir/modifier/(\d+)$', views.devoirModif ,name="colleur_devoirmodif"),
re_path(r'^action/devoir/supprimer/(\d+)$', views.devoirSuppr ,name="colleur_devoirsuppr"),
re_path(r'^action/devoir/depot/(\d+)/(\d+)$', views.depotCopie ,name="colleur_depotcopie"),
re_path(r'^action/devoir/depot/(\d+)$', views.depotCopies ,name="depot_copies"),
re_path(r'^action/devoir/ramasse/(\d+)$', views.ramasseCopies ,name="ramasse_copies"),
re_path(r'^action/td/(\d+)$', views.td ,name="colleur_td"),
re_path(r'^action/td/modifier/(\d+)$', views.tdModif ,name="colleur_tdmodif"),
re_path(r'^action/td/supprimer/(\d+)$', views.tdSuppr ,name="colleur_tdsuppr"),
re_path(r'^action/cours/(\d+)$', views.cours ,name="colleur_cours"),
re_path(r'^action/cours/modifier/(\d+)$', views.coursModif ,name="colleur_coursmodif"),
re_path(r'^action/cours/supprimer/(\d+)$', views.coursSuppr ,name="colleur_courssuppr"),
re_path(r'^action/autre/(\d+)$', views.autre ,name="colleur_autre"),
re_path(r'^action/autre/modifier/(\d+)$', views.autreModif ,name="colleur_autremodif"),
re_path(r'^action/autre/supprimer/(\d+)$', views.autreSuppr ,name="colleur_autresuppr"),
]
